summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12980
1 files changed, 7575 insertions, 5405 deletions
diff --git a/configure b/configure
index 096c51af7..ceeb5b013 100755
--- a/configure
+++ b/configure
@@ -1,12 +1,81 @@
1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by Autoconf 2.52. 3# Generated by GNU Autoconf 2.57.
4# 4#
5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6# Free Software Foundation, Inc. 6# Free Software Foundation, Inc.
7# This configure script is free software; the Free Software Foundation 7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it. 8# gives unlimited permission to copy, distribute and modify it.
9## --------------------- ##
10## M4sh Initialization. ##
11## --------------------- ##
9 12
13# Be Bourne compatible
14if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15 emulate sh
16 NULLCMD=:
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21 set -o posix
22fi
23
24# Support unset when possible.
25if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
26 as_unset=unset
27else
28 as_unset=false
29fi
30
31
32# Work around bugs in pre-3.0 UWIN ksh.
33$as_unset ENV MAIL MAILPATH
34PS1='$ '
35PS2='> '
36PS4='+ '
37
38# NLS nuisances.
39for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
43do
44 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
48 fi
49done
50
51# Required to use basename.
52if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54else
55 as_expr=false
56fi
57
58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60else
61 as_basename=false
62fi
63
64
65# Name of the executable.
66as_me=`$as_basename "$0" ||
67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
76
77
78# PATH needs CR, and LINENO needs CR and PATH.
10# Avoid depending upon Character Ranges. 79# Avoid depending upon Character Ranges.
11as_cr_letters='abcdefghijklmnopqrstuvwxyz' 80as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
@@ -14,22 +83,113 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14as_cr_digits='0123456789' 83as_cr_digits='0123456789'
15as_cr_alnum=$as_cr_Letters$as_cr_digits 84as_cr_alnum=$as_cr_Letters$as_cr_digits
16 85
17# Sed expression to map a string onto a valid variable name. 86# The user is always right.
18as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 87if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
95 fi
96 rm -f conf$$.sh
97fi
19 98
20# Sed expression to map a string onto a valid CPP name.
21as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
22 99
23# Be Bourne compatible 100 as_lineno_1=$LINENO
24if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 101 as_lineno_2=$LINENO
25 emulate sh 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
26 NULLCMD=: 103 test "x$as_lineno_1" != "x$as_lineno_2" &&
27elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 104 test "x$as_lineno_3" = "x$as_lineno_2" || {
28 set -o posix 105 # Find who we are. Look in the path if we contain no path at all
29fi 106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110for as_dir in $PATH
111do
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115done
30 116
31# Name of the executable. 117 ;;
32as_me=`echo "$0" |sed 's,.*[\\/],,'` 118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
123 fi
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
127 fi
128 case $CONFIG_SHELL in
129 '')
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132do
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
137 /*)
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152done
153;;
154 esac
155
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
166 N
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
177
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
184}
185
186
187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192esac
33 193
34if expr a : '\(a\)' >/dev/null 2>&1; then 194if expr a : '\(a\)' >/dev/null 2>&1; then
35 as_expr=expr 195 as_expr=expr
@@ -55,24 +215,20 @@ else
55fi 215fi
56rm -f conf$$ conf$$.exe conf$$.file 216rm -f conf$$ conf$$.exe conf$$.file
57 217
58as_executable_p="test -f" 218if mkdir -p . 2>/dev/null; then
59 219 as_mkdir_p=:
60# Support unset when possible.
61if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
62 as_unset=unset
63else 220else
64 as_unset=false 221 as_mkdir_p=false
65fi 222fi
66 223
67# NLS nuisances. 224as_executable_p="test -f"
68$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 225
69$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 226# Sed expression to map a string onto a valid CPP name.
70$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 227as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
71$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 228
72$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 229# Sed expression to map a string onto a valid variable name.
73$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 230as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
74$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 231
75$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
76 232
77# IFS 233# IFS
78# We need space, tab and new line, in precisely that order. 234# We need space, tab and new line, in precisely that order.
@@ -81,7 +237,8 @@ as_nl='
81IFS=" $as_nl" 237IFS=" $as_nl"
82 238
83# CDPATH. 239# CDPATH.
84$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 240$as_unset CDPATH
241
85 242
86# Name of the host. 243# Name of the host.
87# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 244# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
@@ -94,9 +251,11 @@ exec 6>&1
94# Initializations. 251# Initializations.
95# 252#
96ac_default_prefix=/usr/local 253ac_default_prefix=/usr/local
254ac_config_libobj_dir=.
97cross_compiling=no 255cross_compiling=no
98subdirs= 256subdirs=
99MFLAGS= MAKEFLAGS= 257MFLAGS=
258MAKEFLAGS=
100SHELL=${CONFIG_SHELL-/bin/sh} 259SHELL=${CONFIG_SHELL-/bin/sh}
101 260
102# Maximum number of lines to put in a shell here document. 261# Maximum number of lines to put in a shell here document.
@@ -104,6 +263,13 @@ SHELL=${CONFIG_SHELL-/bin/sh}
104# only ac_max_sed_lines should be used. 263# only ac_max_sed_lines should be used.
105: ${ac_max_here_lines=38} 264: ${ac_max_here_lines=38}
106 265
266# Identity of this package.
267PACKAGE_NAME=
268PACKAGE_TARNAME=
269PACKAGE_VERSION=
270PACKAGE_STRING=
271PACKAGE_BUGREPORT=
272
107ac_unique_file="ssh.c" 273ac_unique_file="ssh.c"
108# Factoring default headers for most tests. 274# Factoring default headers for most tests.
109ac_includes_default="\ 275ac_includes_default="\
@@ -142,6 +308,9 @@ ac_includes_default="\
142# include <unistd.h> 308# include <unistd.h>
143#endif" 309#endif"
144 310
311ac_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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT build build_cpu build_vendor build_os host host_cpu host_vendor host_os CPP RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AR PERL SED ENT TEST_MINUS_S_SH SH LOGIN_PROGRAM_FALLBACK LD EGREP LIBWRAP LIBPAM INSTALL_SSH_RAND_HELPER SSH_PRIVSEP_USER PROG_LS PROG_NETSTAT PROG_ARP PROG_IFCONFIG PROG_JSTAT PROG_PS PROG_SAR PROG_W PROG_WHO PROG_LAST PROG_LASTLOG PROG_DF PROG_VMSTAT PROG_UPTIME PROG_IPCS PROG_TAIL INSTALL_SSH_PRNG_CMDS OPENSC_CONFIG PRIVSEP_PATH xauth_path STRIP_OPT XAUTH_PATH NROFF MANTYPE mansubdir user_path piddir LIBOBJS LTLIBOBJS'
312ac_subst_files=''
313
145# Initialize some variables set by options. 314# Initialize some variables set by options.
146ac_init_help= 315ac_init_help=
147ac_init_version=false 316ac_init_version=false
@@ -180,13 +349,6 @@ oldincludedir='/usr/include'
180infodir='${prefix}/info' 349infodir='${prefix}/info'
181mandir='${prefix}/man' 350mandir='${prefix}/man'
182 351
183# Identity of this package.
184PACKAGE_NAME=
185PACKAGE_TARNAME=
186PACKAGE_VERSION=
187PACKAGE_STRING=
188PACKAGE_BUGREPORT=
189
190ac_prev= 352ac_prev=
191for ac_option 353for ac_option
192do 354do
@@ -319,7 +481,7 @@ do
319 with_fp=no ;; 481 with_fp=no ;;
320 482
321 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
322 | --no-cr | --no-c) 484 | --no-cr | --no-c | -n)
323 no_create=yes ;; 485 no_create=yes ;;
324 486
325 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
@@ -498,7 +660,7 @@ do
498 eval ac_val=$`echo $ac_var` 660 eval ac_val=$`echo $ac_var`
499 case $ac_val in 661 case $ac_val in
500 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
501 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
502 { (exit 1); exit 1; }; };; 664 { (exit 1); exit 1; }; };;
503 esac 665 esac
504done 666done
@@ -510,18 +672,19 @@ do
510 eval ac_val=$`echo $ac_var` 672 eval ac_val=$`echo $ac_var`
511 case $ac_val in 673 case $ac_val in
512 [\\/$]* | ?:[\\/]* ) ;; 674 [\\/$]* | ?:[\\/]* ) ;;
513 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
514 { (exit 1); exit 1; }; };; 676 { (exit 1); exit 1; }; };;
515 esac 677 esac
516done 678done
517 679
518# There might be people who depend on the old broken behavior: `$host' 680# There might be people who depend on the old broken behavior: `$host'
519# used to hold the argument of --host etc. 681# used to hold the argument of --host etc.
682# FIXME: To remove some day.
520build=$build_alias 683build=$build_alias
521host=$host_alias 684host=$host_alias
522target=$target_alias 685target=$target_alias
523 686
524# FIXME: should be removed in autoconf 3.0. 687# FIXME: To remove some day.
525if test "x$host_alias" != x; then 688if test "x$host_alias" != x; then
526 if test "x$build_alias" = x; then 689 if test "x$build_alias" = x; then
527 cross_compiling=maybe 690 cross_compiling=maybe
@@ -537,13 +700,23 @@ test -n "$host_alias" && ac_tool_prefix=$host_alias-
537 700
538test "$silent" = yes && exec 6>/dev/null 701test "$silent" = yes && exec 6>/dev/null
539 702
703
540# Find the source files, if location was not specified. 704# Find the source files, if location was not specified.
541if test -z "$srcdir"; then 705if test -z "$srcdir"; then
542 ac_srcdir_defaulted=yes 706 ac_srcdir_defaulted=yes
543 # Try the directory containing this script, then its parent. 707 # Try the directory containing this script, then its parent.
544 ac_prog=$0 708 ac_confdir=`(dirname "$0") 2>/dev/null ||
545 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` 709$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
546 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
714echo X"$0" |
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
719 s/.*/./; q'`
547 srcdir=$ac_confdir 720 srcdir=$ac_confdir
548 if test ! -r $srcdir/$ac_unique_file; then 721 if test ! -r $srcdir/$ac_unique_file; then
549 srcdir=.. 722 srcdir=..
@@ -553,13 +726,16 @@ else
553fi 726fi
554if test ! -r $srcdir/$ac_unique_file; then 727if test ! -r $srcdir/$ac_unique_file; then
555 if test "$ac_srcdir_defaulted" = yes; then 728 if test "$ac_srcdir_defaulted" = yes; then
556 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
557 { (exit 1); exit 1; }; } 730 { (exit 1); exit 1; }; }
558 else 731 else
559 { echo "$as_me: error: cannot find sources in $srcdir" >&2 732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
560 { (exit 1); exit 1; }; } 733 { (exit 1); exit 1; }; }
561 fi 734 fi
562fi 735fi
736(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
563srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 739srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
564ac_env_build_alias_set=${build_alias+set} 740ac_env_build_alias_set=${build_alias+set}
565ac_env_build_alias_value=$build_alias 741ac_env_build_alias_value=$build_alias
@@ -600,7 +776,7 @@ ac_cv_env_CPP_value=$CPP
600if test "$ac_init_help" = "long"; then 776if test "$ac_init_help" = "long"; then
601 # Omit some internal or obsolete options to make the list less imposing. 777 # Omit some internal or obsolete options to make the list less imposing.
602 # This message is too long to be a string in the A/UX 3.1 sh. 778 # This message is too long to be a string in the A/UX 3.1 sh.
603 cat <<EOF 779 cat <<_ACEOF
604\`configure' configures this package to adapt to many kinds of systems. 780\`configure' configures this package to adapt to many kinds of systems.
605 781
606Usage: $0 [OPTION]... [VAR=VALUE]... 782Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -621,9 +797,9 @@ Configuration:
621 -n, --no-create do not create output files 797 -n, --no-create do not create output files
622 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
623 799
624EOF 800_ACEOF
625 801
626 cat <<EOF 802 cat <<_ACEOF
627Installation directories: 803Installation directories:
628 --prefix=PREFIX install architecture-independent files in PREFIX 804 --prefix=PREFIX install architecture-independent files in PREFIX
629 [$ac_default_prefix] 805 [$ac_default_prefix]
@@ -650,19 +826,19 @@ Fine tuning of the installation directories:
650 --oldincludedir=DIR C header files for non-gcc [/usr/include] 826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
651 --infodir=DIR info documentation [PREFIX/info] 827 --infodir=DIR info documentation [PREFIX/info]
652 --mandir=DIR man documentation [PREFIX/man] 828 --mandir=DIR man documentation [PREFIX/man]
653EOF 829_ACEOF
654 830
655 cat <<\EOF 831 cat <<\_ACEOF
656 832
657System types: 833System types:
658 --build=BUILD configure for building on BUILD [guessed] 834 --build=BUILD configure for building on BUILD [guessed]
659 --host=HOST build programs to run on HOST [BUILD] 835 --host=HOST cross-compile to build programs to run on HOST [BUILD]
660EOF 836_ACEOF
661fi 837fi
662 838
663if test -n "$ac_init_help"; then 839if test -n "$ac_init_help"; then
664 840
665 cat <<\EOF 841 cat <<\_ACEOF
666 842
667Optional Features: 843Optional Features:
668 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 844 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
@@ -701,8 +877,9 @@ Optional Packages:
701 --with-privsep-user=user Specify non-privileged user for privilege separation 877 --with-privsep-user=user Specify non-privileged user for privilege separation
702 --with-sectok Enable smartcard support using libsectok 878 --with-sectok Enable smartcard support using libsectok
703 --with-opensc=PFX Enable smartcard support using OpenSC 879 --with-opensc=PFX Enable smartcard support using OpenSC
704 --with-dns Support for fetching keys from DNS (experimental)
705 --with-kerberos5=PATH Enable Kerberos 5 support 880 --with-kerberos5=PATH Enable Kerberos 5 support
881 --with-kerberos4=PATH Enable Kerberos 4 support
882 --with-afs=PATH Enable AFS support
706 --with-privsep-path=xxx Path for privilege separation chroot (default=/var/empty) 883 --with-privsep-path=xxx Path for privilege separation chroot (default=/var/empty)
707 --with-xauth=PATH Specify path to xauth program 884 --with-xauth=PATH Specify path to xauth program
708 --with-mantype=man|cat|doc Set man page type 885 --with-mantype=man|cat|doc Set man page type
@@ -711,6 +888,7 @@ Optional Packages:
711 --with-ipaddr-display Use ip address instead of hostname in \$DISPLAY 888 --with-ipaddr-display Use ip address instead of hostname in \$DISPLAY
712 --with-default-path= Specify default \$PATH environment for server 889 --with-default-path= Specify default \$PATH environment for server
713 --with-superuser-path= Specify different path for super-user 890 --with-superuser-path= Specify different path for super-user
891 --with-ipv4-default Use IPv4 by connections unless '-6' specified
714 --with-4in6 Check for and convert IPv4 in IPv6 mapped addresses 892 --with-4in6 Check for and convert IPv4 in IPv6 mapped addresses
715 --with-bsd-auth Enable BSD auth support 893 --with-bsd-auth Enable BSD auth support
716 --with-pid-dir=PATH Specify location of ssh.pid file 894 --with-pid-dir=PATH Specify location of ssh.pid file
@@ -728,40 +906,60 @@ Some influential environment variables:
728Use these variables to override the choices made by `configure' or to help 906Use these variables to override the choices made by `configure' or to help
729it to find libraries and programs with nonstandard names/locations. 907it to find libraries and programs with nonstandard names/locations.
730 908
731EOF 909_ACEOF
732fi 910fi
733 911
734if test "$ac_init_help" = "recursive"; then 912if test "$ac_init_help" = "recursive"; then
735 # If there are subdirs, report their specific --help. 913 # If there are subdirs, report their specific --help.
736 ac_popdir=`pwd` 914 ac_popdir=`pwd`
737 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue 915 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
738 cd $ac_subdir 916 test -d $ac_dir || continue
739 # A "../" for each directory in /$ac_subdir. 917 ac_builddir=.
740 ac_dots=`echo $ac_subdir | 918
741 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` 919if test "$ac_dir" != .; then
742 920 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
743 case $srcdir in 921 # A "../" for each directory in $ac_dir_suffix.
744 .) # No --srcdir option. We are building in place. 922 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
745 ac_sub_srcdir=$srcdir ;; 923else
746 [\\/]* | ?:[\\/]* ) # Absolute path. 924 ac_dir_suffix= ac_top_builddir=
747 ac_sub_srcdir=$srcdir/$ac_subdir ;; 925fi
748 *) # Relative path.
749 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
750 esac
751 926
927case $srcdir in
928 .) # No --srcdir option. We are building in place.
929 ac_srcdir=.
930 if test -z "$ac_top_builddir"; then
931 ac_top_srcdir=.
932 else
933 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
934 fi ;;
935 [\\/]* | ?:[\\/]* ) # Absolute path.
936 ac_srcdir=$srcdir$ac_dir_suffix;
937 ac_top_srcdir=$srcdir ;;
938 *) # Relative path.
939 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
940 ac_top_srcdir=$ac_top_builddir$srcdir ;;
941esac
942# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
943# absolute.
944ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
945ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
946ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
947ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
948
949 cd $ac_dir
752 # Check for guested configure; otherwise get Cygnus style configure. 950 # Check for guested configure; otherwise get Cygnus style configure.
753 if test -f $ac_sub_srcdir/configure.gnu; then 951 if test -f $ac_srcdir/configure.gnu; then
754 echo 952 echo
755 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive 953 $SHELL $ac_srcdir/configure.gnu --help=recursive
756 elif test -f $ac_sub_srcdir/configure; then 954 elif test -f $ac_srcdir/configure; then
757 echo 955 echo
758 $SHELL $ac_sub_srcdir/configure --help=recursive 956 $SHELL $ac_srcdir/configure --help=recursive
759 elif test -f $ac_sub_srcdir/configure.ac || 957 elif test -f $ac_srcdir/configure.ac ||
760 test -f $ac_sub_srcdir/configure.in; then 958 test -f $ac_srcdir/configure.in; then
761 echo 959 echo
762 $ac_configure --help 960 $ac_configure --help
763 else 961 else
764 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 962 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
765 fi 963 fi
766 cd $ac_popdir 964 cd $ac_popdir
767 done 965 done
@@ -769,31 +967,31 @@ fi
769 967
770test -n "$ac_init_help" && exit 0 968test -n "$ac_init_help" && exit 0
771if $ac_init_version; then 969if $ac_init_version; then
772 cat <<\EOF 970 cat <<\_ACEOF
773 971
774Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 972Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
775Free Software Foundation, Inc. 973Free Software Foundation, Inc.
776This configure script is free software; the Free Software Foundation 974This configure script is free software; the Free Software Foundation
777gives unlimited permission to copy, distribute and modify it. 975gives unlimited permission to copy, distribute and modify it.
778EOF 976_ACEOF
779 exit 0 977 exit 0
780fi 978fi
781exec 5>config.log 979exec 5>config.log
782cat >&5 <<EOF 980cat >&5 <<_ACEOF
783This file contains any messages produced by compilers while 981This file contains any messages produced by compilers while
784running configure, to aid debugging if configure makes a mistake. 982running configure, to aid debugging if configure makes a mistake.
785 983
786It was created by $as_me, which was 984It was created by $as_me, which was
787generated by GNU Autoconf 2.52. Invocation command line was 985generated by GNU Autoconf 2.57. Invocation command line was
788 986
789 $ $0 $@ 987 $ $0 $@
790 988
791EOF 989_ACEOF
792{ 990{
793cat <<_ASUNAME 991cat <<_ASUNAME
794## ---------- ## 992## --------- ##
795## Platform. ## 993## Platform. ##
796## ---------- ## 994## --------- ##
797 995
798hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 996hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
799uname -m = `(uname -m) 2>/dev/null || echo unknown` 997uname -m = `(uname -m) 2>/dev/null || echo unknown`
@@ -812,51 +1010,96 @@ hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
812/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1010/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
813/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1011/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
814 1012
815PATH = $PATH
816
817_ASUNAME 1013_ASUNAME
1014
1015as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1016for as_dir in $PATH
1017do
1018 IFS=$as_save_IFS
1019 test -z "$as_dir" && as_dir=.
1020 echo "PATH: $as_dir"
1021done
1022
818} >&5 1023} >&5
819 1024
820cat >&5 <<EOF 1025cat >&5 <<_ACEOF
821## ------------ ## 1026
822## Core tests. ## 1027
823## ------------ ## 1028## ----------- ##
1029## Core tests. ##
1030## ----------- ##
1031
1032_ACEOF
824 1033
825EOF
826 1034
827# Keep a trace of the command line. 1035# Keep a trace of the command line.
828# Strip out --no-create and --no-recursion so they do not pile up. 1036# Strip out --no-create and --no-recursion so they do not pile up.
1037# Strip out --silent because we don't want to record it for future runs.
829# Also quote any args containing shell meta-characters. 1038# Also quote any args containing shell meta-characters.
1039# Make two passes to allow for proper duplicate-argument suppression.
830ac_configure_args= 1040ac_configure_args=
1041ac_configure_args0=
1042ac_configure_args1=
831ac_sep= 1043ac_sep=
832for ac_arg 1044ac_must_keep_next=false
1045for ac_pass in 1 2
833do 1046do
834 case $ac_arg in 1047 for ac_arg
835 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1048 do
836 | --no-cr | --no-c) ;; 1049 case $ac_arg in
837 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1050 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
838 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 1051 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
839 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1052 | -silent | --silent | --silen | --sile | --sil)
840 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` 1053 continue ;;
841 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1054 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
842 ac_sep=" " ;; 1055 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
843 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" 1056 esac
844 ac_sep=" " ;; 1057 case $ac_pass in
845 esac 1058 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
846 # Get rid of the leading space. 1059 2)
1060 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1061 if test $ac_must_keep_next = true; then
1062 ac_must_keep_next=false # Got value, back to normal.
1063 else
1064 case $ac_arg in
1065 *=* | --config-cache | -C | -disable-* | --disable-* \
1066 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1067 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1068 | -with-* | --with-* | -without-* | --without-* | --x)
1069 case "$ac_configure_args0 " in
1070 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1071 esac
1072 ;;
1073 -* ) ac_must_keep_next=true ;;
1074 esac
1075 fi
1076 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1077 # Get rid of the leading space.
1078 ac_sep=" "
1079 ;;
1080 esac
1081 done
847done 1082done
1083$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1084$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
848 1085
849# When interrupted or exit'd, cleanup temporary files, and complete 1086# When interrupted or exit'd, cleanup temporary files, and complete
850# config.log. We remove comments because anyway the quotes in there 1087# config.log. We remove comments because anyway the quotes in there
851# would cause problems or look ugly. 1088# would cause problems or look ugly.
1089# WARNING: Be sure not to use single quotes in there, as some shells,
1090# such as our DU 5.0 friend, will then `close' the trap.
852trap 'exit_status=$? 1091trap 'exit_status=$?
853 # Save into config.log some information that might help in debugging. 1092 # Save into config.log some information that might help in debugging.
854 echo >&5 1093 {
855 echo "## ----------------- ##" >&5 1094 echo
856 echo "## Cache variables. ##" >&5 1095
857 echo "## ----------------- ##" >&5 1096 cat <<\_ASBOX
858 echo >&5 1097## ---------------- ##
859 # The following way of writing the cache mishandles newlines in values, 1098## Cache variables. ##
1099## ---------------- ##
1100_ASBOX
1101 echo
1102 # The following way of writing the cache mishandles newlines in values,
860{ 1103{
861 (set) 2>&1 | 1104 (set) 2>&1 |
862 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1105 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
@@ -870,21 +1113,53 @@ trap 'exit_status=$?
870 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1113 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
871 ;; 1114 ;;
872 esac; 1115 esac;
873} >&5 1116}
874 sed "/^$/d" confdefs.h >conftest.log 1117 echo
875 if test -s conftest.log; then 1118
876 echo >&5 1119 cat <<\_ASBOX
877 echo "## ------------ ##" >&5 1120## ----------------- ##
878 echo "## confdefs.h. ##" >&5 1121## Output variables. ##
879 echo "## ------------ ##" >&5 1122## ----------------- ##
880 echo >&5 1123_ASBOX
881 cat conftest.log >&5 1124 echo
882 fi 1125 for ac_var in $ac_subst_vars
883 (echo; echo) >&5 1126 do
884 test "$ac_signal" != 0 && 1127 eval ac_val=$`echo $ac_var`
885 echo "$as_me: caught signal $ac_signal" >&5 1128 echo "$ac_var='"'"'$ac_val'"'"'"
886 echo "$as_me: exit $exit_status" >&5 1129 done | sort
887 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && 1130 echo
1131
1132 if test -n "$ac_subst_files"; then
1133 cat <<\_ASBOX
1134## ------------- ##
1135## Output files. ##
1136## ------------- ##
1137_ASBOX
1138 echo
1139 for ac_var in $ac_subst_files
1140 do
1141 eval ac_val=$`echo $ac_var`
1142 echo "$ac_var='"'"'$ac_val'"'"'"
1143 done | sort
1144 echo
1145 fi
1146
1147 if test -s confdefs.h; then
1148 cat <<\_ASBOX
1149## ----------- ##
1150## confdefs.h. ##
1151## ----------- ##
1152_ASBOX
1153 echo
1154 sed "/^$/d" confdefs.h | sort
1155 echo
1156 fi
1157 test "$ac_signal" != 0 &&
1158 echo "$as_me: caught signal $ac_signal"
1159 echo "$as_me: exit $exit_status"
1160 } >&5
1161 rm -f core core.* *.core &&
1162 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
888 exit $exit_status 1163 exit $exit_status
889 ' 0 1164 ' 0
890for ac_signal in 1 2 13 15; do 1165for ac_signal in 1 2 13 15; do
@@ -897,6 +1172,33 @@ rm -rf conftest* confdefs.h
897# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1172# AIX cpp loses on an empty file, so make sure it contains at least a newline.
898echo >confdefs.h 1173echo >confdefs.h
899 1174
1175# Predefined preprocessor variables.
1176
1177cat >>confdefs.h <<_ACEOF
1178#define PACKAGE_NAME "$PACKAGE_NAME"
1179_ACEOF
1180
1181
1182cat >>confdefs.h <<_ACEOF
1183#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1184_ACEOF
1185
1186
1187cat >>confdefs.h <<_ACEOF
1188#define PACKAGE_VERSION "$PACKAGE_VERSION"
1189_ACEOF
1190
1191
1192cat >>confdefs.h <<_ACEOF
1193#define PACKAGE_STRING "$PACKAGE_STRING"
1194_ACEOF
1195
1196
1197cat >>confdefs.h <<_ACEOF
1198#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1199_ACEOF
1200
1201
900# Let the site file select an alternate cache file if it wants to. 1202# Let the site file select an alternate cache file if it wants to.
901# Prefer explicitly selected file to automatically selected ones. 1203# Prefer explicitly selected file to automatically selected ones.
902if test -z "$CONFIG_SITE"; then 1204if test -z "$CONFIG_SITE"; then
@@ -908,9 +1210,9 @@ if test -z "$CONFIG_SITE"; then
908fi 1210fi
909for ac_site_file in $CONFIG_SITE; do 1211for ac_site_file in $CONFIG_SITE; do
910 if test -r "$ac_site_file"; then 1212 if test -r "$ac_site_file"; then
911 { echo "$as_me:911: loading site script $ac_site_file" >&5 1213 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
912echo "$as_me: loading site script $ac_site_file" >&6;} 1214echo "$as_me: loading site script $ac_site_file" >&6;}
913 cat "$ac_site_file" >&5 1215 sed 's/^/| /' "$ac_site_file" >&5
914 . "$ac_site_file" 1216 . "$ac_site_file"
915 fi 1217 fi
916done 1218done
@@ -919,7 +1221,7 @@ if test -r "$cache_file"; then
919 # Some versions of bash will fail to source /dev/null (special 1221 # Some versions of bash will fail to source /dev/null (special
920 # files actually), so we avoid doing that. 1222 # files actually), so we avoid doing that.
921 if test -f "$cache_file"; then 1223 if test -f "$cache_file"; then
922 { echo "$as_me:922: loading cache $cache_file" >&5 1224 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
923echo "$as_me: loading cache $cache_file" >&6;} 1225echo "$as_me: loading cache $cache_file" >&6;}
924 case $cache_file in 1226 case $cache_file in
925 [\\/]* | ?:[\\/]* ) . $cache_file;; 1227 [\\/]* | ?:[\\/]* ) . $cache_file;;
@@ -927,7 +1229,7 @@ echo "$as_me: loading cache $cache_file" >&6;}
927 esac 1229 esac
928 fi 1230 fi
929else 1231else
930 { echo "$as_me:930: creating cache $cache_file" >&5 1232 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
931echo "$as_me: creating cache $cache_file" >&6;} 1233echo "$as_me: creating cache $cache_file" >&6;}
932 >$cache_file 1234 >$cache_file
933fi 1235fi
@@ -943,42 +1245,42 @@ for ac_var in `(set) 2>&1 |
943 eval ac_new_val="\$ac_env_${ac_var}_value" 1245 eval ac_new_val="\$ac_env_${ac_var}_value"
944 case $ac_old_set,$ac_new_set in 1246 case $ac_old_set,$ac_new_set in
945 set,) 1247 set,)
946 { echo "$as_me:946: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1248 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
947echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1249echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
948 ac_cache_corrupted=: ;; 1250 ac_cache_corrupted=: ;;
949 ,set) 1251 ,set)
950 { echo "$as_me:950: error: \`$ac_var' was not set in the previous run" >&5 1252 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
951echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1253echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
952 ac_cache_corrupted=: ;; 1254 ac_cache_corrupted=: ;;
953 ,);; 1255 ,);;
954 *) 1256 *)
955 if test "x$ac_old_val" != "x$ac_new_val"; then 1257 if test "x$ac_old_val" != "x$ac_new_val"; then
956 { echo "$as_me:956: error: \`$ac_var' has changed since the previous run:" >&5 1258 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
957echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1259echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
958 { echo "$as_me:958: former value: $ac_old_val" >&5 1260 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
959echo "$as_me: former value: $ac_old_val" >&2;} 1261echo "$as_me: former value: $ac_old_val" >&2;}
960 { echo "$as_me:960: current value: $ac_new_val" >&5 1262 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
961echo "$as_me: current value: $ac_new_val" >&2;} 1263echo "$as_me: current value: $ac_new_val" >&2;}
962 ac_cache_corrupted=: 1264 ac_cache_corrupted=:
963 fi;; 1265 fi;;
964 esac 1266 esac
965 # Pass precious variables to config.status. It doesn't matter if 1267 # Pass precious variables to config.status.
966 # we pass some twice (in addition to the command line arguments).
967 if test "$ac_new_set" = set; then 1268 if test "$ac_new_set" = set; then
968 case $ac_new_val in 1269 case $ac_new_val in
969 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1270 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
970 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` 1271 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
971 ac_configure_args="$ac_configure_args '$ac_arg'" 1272 *) ac_arg=$ac_var=$ac_new_val ;;
972 ;; 1273 esac
973 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" 1274 case " $ac_configure_args " in
974 ;; 1275 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1276 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
975 esac 1277 esac
976 fi 1278 fi
977done 1279done
978if $ac_cache_corrupted; then 1280if $ac_cache_corrupted; then
979 { echo "$as_me:979: error: changes in the environment can compromise the build" >&5 1281 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
980echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1282echo "$as_me: error: changes in the environment can compromise the build" >&2;}
981 { { echo "$as_me:981: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1283 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
982echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1284echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
983 { (exit 1); exit 1; }; } 1285 { (exit 1); exit 1; }; }
984fi 1286fi
@@ -989,28 +1291,27 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
989ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1291ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
990ac_compiler_gnu=$ac_cv_c_compiler_gnu 1292ac_compiler_gnu=$ac_cv_c_compiler_gnu
991 1293
992case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
993 *c*,-n*) ECHO_N= ECHO_C='
994' ECHO_T=' ' ;;
995 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
996 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
997esac
998echo "#! $SHELL" >conftest.sh
999echo "exit 0" >>conftest.sh
1000chmod +x conftest.sh
1001if { (echo "$as_me:1001: PATH=\".;.\"; conftest.sh") >&5
1002 (PATH=".;."; conftest.sh) 2>&5
1003 ac_status=$?
1004 echo "$as_me:1004: \$? = $ac_status" >&5
1005 (exit $ac_status); }; then
1006 ac_path_separator=';'
1007else
1008 ac_path_separator=:
1009fi
1010PATH_SEPARATOR="$ac_path_separator"
1011rm -f conftest.sh
1012 1294
1013ac_config_headers="$ac_config_headers config.h" 1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314 ac_config_headers="$ac_config_headers config.h"
1014 1315
1015ac_ext=c 1316ac_ext=c
1016ac_cpp='$CPP $CPPFLAGS' 1317ac_cpp='$CPP $CPPFLAGS'
@@ -1020,7 +1321,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
1020if test -n "$ac_tool_prefix"; then 1321if test -n "$ac_tool_prefix"; then
1021 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1322 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1022set dummy ${ac_tool_prefix}gcc; ac_word=$2 1323set dummy ${ac_tool_prefix}gcc; ac_word=$2
1023echo "$as_me:1023: checking for $ac_word" >&5 1324echo "$as_me:$LINENO: checking for $ac_word" >&5
1024echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1325echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1025if test "${ac_cv_prog_CC+set}" = set; then 1326if test "${ac_cv_prog_CC+set}" = set; then
1026 echo $ECHO_N "(cached) $ECHO_C" >&6 1327 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1028,25 +1329,28 @@ else
1028 if test -n "$CC"; then 1329 if test -n "$CC"; then
1029 ac_cv_prog_CC="$CC" # Let the user override the test. 1330 ac_cv_prog_CC="$CC" # Let the user override the test.
1030else 1331else
1031 ac_save_IFS=$IFS; IFS=$ac_path_separator 1332as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1032ac_dummy="$PATH" 1333for as_dir in $PATH
1033for ac_dir in $ac_dummy; do 1334do
1034 IFS=$ac_save_IFS 1335 IFS=$as_save_IFS
1035 test -z "$ac_dir" && ac_dir=. 1336 test -z "$as_dir" && as_dir=.
1036 $as_executable_p "$ac_dir/$ac_word" || continue 1337 for ac_exec_ext in '' $ac_executable_extensions; do
1037ac_cv_prog_CC="${ac_tool_prefix}gcc" 1338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1038echo "$as_me:1038: found $ac_dir/$ac_word" >&5 1339 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1039break 1340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1341 break 2
1342 fi
1343done
1040done 1344done
1041 1345
1042fi 1346fi
1043fi 1347fi
1044CC=$ac_cv_prog_CC 1348CC=$ac_cv_prog_CC
1045if test -n "$CC"; then 1349if test -n "$CC"; then
1046 echo "$as_me:1046: result: $CC" >&5 1350 echo "$as_me:$LINENO: result: $CC" >&5
1047echo "${ECHO_T}$CC" >&6 1351echo "${ECHO_T}$CC" >&6
1048else 1352else
1049 echo "$as_me:1049: result: no" >&5 1353 echo "$as_me:$LINENO: result: no" >&5
1050echo "${ECHO_T}no" >&6 1354echo "${ECHO_T}no" >&6
1051fi 1355fi
1052 1356
@@ -1055,7 +1359,7 @@ if test -z "$ac_cv_prog_CC"; then
1055 ac_ct_CC=$CC 1359 ac_ct_CC=$CC
1056 # Extract the first word of "gcc", so it can be a program name with args. 1360 # Extract the first word of "gcc", so it can be a program name with args.
1057set dummy gcc; ac_word=$2 1361set dummy gcc; ac_word=$2
1058echo "$as_me:1058: checking for $ac_word" >&5 1362echo "$as_me:$LINENO: checking for $ac_word" >&5
1059echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1363echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1060if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1364if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1061 echo $ECHO_N "(cached) $ECHO_C" >&6 1365 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1063,25 +1367,28 @@ else
1063 if test -n "$ac_ct_CC"; then 1367 if test -n "$ac_ct_CC"; then
1064 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1368 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1065else 1369else
1066 ac_save_IFS=$IFS; IFS=$ac_path_separator 1370as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1067ac_dummy="$PATH" 1371for as_dir in $PATH
1068for ac_dir in $ac_dummy; do 1372do
1069 IFS=$ac_save_IFS 1373 IFS=$as_save_IFS
1070 test -z "$ac_dir" && ac_dir=. 1374 test -z "$as_dir" && as_dir=.
1071 $as_executable_p "$ac_dir/$ac_word" || continue 1375 for ac_exec_ext in '' $ac_executable_extensions; do
1072ac_cv_prog_ac_ct_CC="gcc" 1376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1073echo "$as_me:1073: found $ac_dir/$ac_word" >&5 1377 ac_cv_prog_ac_ct_CC="gcc"
1074break 1378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1379 break 2
1380 fi
1381done
1075done 1382done
1076 1383
1077fi 1384fi
1078fi 1385fi
1079ac_ct_CC=$ac_cv_prog_ac_ct_CC 1386ac_ct_CC=$ac_cv_prog_ac_ct_CC
1080if test -n "$ac_ct_CC"; then 1387if test -n "$ac_ct_CC"; then
1081 echo "$as_me:1081: result: $ac_ct_CC" >&5 1388 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1082echo "${ECHO_T}$ac_ct_CC" >&6 1389echo "${ECHO_T}$ac_ct_CC" >&6
1083else 1390else
1084 echo "$as_me:1084: result: no" >&5 1391 echo "$as_me:$LINENO: result: no" >&5
1085echo "${ECHO_T}no" >&6 1392echo "${ECHO_T}no" >&6
1086fi 1393fi
1087 1394
@@ -1094,7 +1401,7 @@ if test -z "$CC"; then
1094 if test -n "$ac_tool_prefix"; then 1401 if test -n "$ac_tool_prefix"; then
1095 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1402 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1096set dummy ${ac_tool_prefix}cc; ac_word=$2 1403set dummy ${ac_tool_prefix}cc; ac_word=$2
1097echo "$as_me:1097: checking for $ac_word" >&5 1404echo "$as_me:$LINENO: checking for $ac_word" >&5
1098echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1405echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1099if test "${ac_cv_prog_CC+set}" = set; then 1406if test "${ac_cv_prog_CC+set}" = set; then
1100 echo $ECHO_N "(cached) $ECHO_C" >&6 1407 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1102,25 +1409,28 @@ else
1102 if test -n "$CC"; then 1409 if test -n "$CC"; then
1103 ac_cv_prog_CC="$CC" # Let the user override the test. 1410 ac_cv_prog_CC="$CC" # Let the user override the test.
1104else 1411else
1105 ac_save_IFS=$IFS; IFS=$ac_path_separator 1412as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1106ac_dummy="$PATH" 1413for as_dir in $PATH
1107for ac_dir in $ac_dummy; do 1414do
1108 IFS=$ac_save_IFS 1415 IFS=$as_save_IFS
1109 test -z "$ac_dir" && ac_dir=. 1416 test -z "$as_dir" && as_dir=.
1110 $as_executable_p "$ac_dir/$ac_word" || continue 1417 for ac_exec_ext in '' $ac_executable_extensions; do
1111ac_cv_prog_CC="${ac_tool_prefix}cc" 1418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1112echo "$as_me:1112: found $ac_dir/$ac_word" >&5 1419 ac_cv_prog_CC="${ac_tool_prefix}cc"
1113break 1420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1421 break 2
1422 fi
1423done
1114done 1424done
1115 1425
1116fi 1426fi
1117fi 1427fi
1118CC=$ac_cv_prog_CC 1428CC=$ac_cv_prog_CC
1119if test -n "$CC"; then 1429if test -n "$CC"; then
1120 echo "$as_me:1120: result: $CC" >&5 1430 echo "$as_me:$LINENO: result: $CC" >&5
1121echo "${ECHO_T}$CC" >&6 1431echo "${ECHO_T}$CC" >&6
1122else 1432else
1123 echo "$as_me:1123: result: no" >&5 1433 echo "$as_me:$LINENO: result: no" >&5
1124echo "${ECHO_T}no" >&6 1434echo "${ECHO_T}no" >&6
1125fi 1435fi
1126 1436
@@ -1129,7 +1439,7 @@ if test -z "$ac_cv_prog_CC"; then
1129 ac_ct_CC=$CC 1439 ac_ct_CC=$CC
1130 # Extract the first word of "cc", so it can be a program name with args. 1440 # Extract the first word of "cc", so it can be a program name with args.
1131set dummy cc; ac_word=$2 1441set dummy cc; ac_word=$2
1132echo "$as_me:1132: checking for $ac_word" >&5 1442echo "$as_me:$LINENO: checking for $ac_word" >&5
1133echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1443echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1134if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1444if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1135 echo $ECHO_N "(cached) $ECHO_C" >&6 1445 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1137,25 +1447,28 @@ else
1137 if test -n "$ac_ct_CC"; then 1447 if test -n "$ac_ct_CC"; then
1138 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1448 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1139else 1449else
1140 ac_save_IFS=$IFS; IFS=$ac_path_separator 1450as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1141ac_dummy="$PATH" 1451for as_dir in $PATH
1142for ac_dir in $ac_dummy; do 1452do
1143 IFS=$ac_save_IFS 1453 IFS=$as_save_IFS
1144 test -z "$ac_dir" && ac_dir=. 1454 test -z "$as_dir" && as_dir=.
1145 $as_executable_p "$ac_dir/$ac_word" || continue 1455 for ac_exec_ext in '' $ac_executable_extensions; do
1146ac_cv_prog_ac_ct_CC="cc" 1456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1147echo "$as_me:1147: found $ac_dir/$ac_word" >&5 1457 ac_cv_prog_ac_ct_CC="cc"
1148break 1458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1459 break 2
1460 fi
1461done
1149done 1462done
1150 1463
1151fi 1464fi
1152fi 1465fi
1153ac_ct_CC=$ac_cv_prog_ac_ct_CC 1466ac_ct_CC=$ac_cv_prog_ac_ct_CC
1154if test -n "$ac_ct_CC"; then 1467if test -n "$ac_ct_CC"; then
1155 echo "$as_me:1155: result: $ac_ct_CC" >&5 1468 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1156echo "${ECHO_T}$ac_ct_CC" >&6 1469echo "${ECHO_T}$ac_ct_CC" >&6
1157else 1470else
1158 echo "$as_me:1158: result: no" >&5 1471 echo "$as_me:$LINENO: result: no" >&5
1159echo "${ECHO_T}no" >&6 1472echo "${ECHO_T}no" >&6
1160fi 1473fi
1161 1474
@@ -1168,7 +1481,7 @@ fi
1168if test -z "$CC"; then 1481if test -z "$CC"; then
1169 # Extract the first word of "cc", so it can be a program name with args. 1482 # Extract the first word of "cc", so it can be a program name with args.
1170set dummy cc; ac_word=$2 1483set dummy cc; ac_word=$2
1171echo "$as_me:1171: checking for $ac_word" >&5 1484echo "$as_me:$LINENO: checking for $ac_word" >&5
1172echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1485echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1173if test "${ac_cv_prog_CC+set}" = set; then 1486if test "${ac_cv_prog_CC+set}" = set; then
1174 echo $ECHO_N "(cached) $ECHO_C" >&6 1487 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1177,19 +1490,22 @@ else
1177 ac_cv_prog_CC="$CC" # Let the user override the test. 1490 ac_cv_prog_CC="$CC" # Let the user override the test.
1178else 1491else
1179 ac_prog_rejected=no 1492 ac_prog_rejected=no
1180 ac_save_IFS=$IFS; IFS=$ac_path_separator 1493as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1181ac_dummy="$PATH" 1494for as_dir in $PATH
1182for ac_dir in $ac_dummy; do 1495do
1183 IFS=$ac_save_IFS 1496 IFS=$as_save_IFS
1184 test -z "$ac_dir" && ac_dir=. 1497 test -z "$as_dir" && as_dir=.
1185 $as_executable_p "$ac_dir/$ac_word" || continue 1498 for ac_exec_ext in '' $ac_executable_extensions; do
1186if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 1499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1187 ac_prog_rejected=yes 1500 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1188 continue 1501 ac_prog_rejected=yes
1189fi 1502 continue
1190ac_cv_prog_CC="cc" 1503 fi
1191echo "$as_me:1191: found $ac_dir/$ac_word" >&5 1504 ac_cv_prog_CC="cc"
1192break 1505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1506 break 2
1507 fi
1508done
1193done 1509done
1194 1510
1195if test $ac_prog_rejected = yes; then 1511if test $ac_prog_rejected = yes; then
@@ -1201,19 +1517,17 @@ if test $ac_prog_rejected = yes; then
1201 # However, it has the same basename, so the bogon will be chosen 1517 # However, it has the same basename, so the bogon will be chosen
1202 # first if we set CC to just the basename; use the full file name. 1518 # first if we set CC to just the basename; use the full file name.
1203 shift 1519 shift
1204 set dummy "$ac_dir/$ac_word" ${1+"$@"} 1520 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1205 shift
1206 ac_cv_prog_CC="$@"
1207 fi 1521 fi
1208fi 1522fi
1209fi 1523fi
1210fi 1524fi
1211CC=$ac_cv_prog_CC 1525CC=$ac_cv_prog_CC
1212if test -n "$CC"; then 1526if test -n "$CC"; then
1213 echo "$as_me:1213: result: $CC" >&5 1527 echo "$as_me:$LINENO: result: $CC" >&5
1214echo "${ECHO_T}$CC" >&6 1528echo "${ECHO_T}$CC" >&6
1215else 1529else
1216 echo "$as_me:1216: result: no" >&5 1530 echo "$as_me:$LINENO: result: no" >&5
1217echo "${ECHO_T}no" >&6 1531echo "${ECHO_T}no" >&6
1218fi 1532fi
1219 1533
@@ -1224,7 +1538,7 @@ if test -z "$CC"; then
1224 do 1538 do
1225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1539 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1226set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1540set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1227echo "$as_me:1227: checking for $ac_word" >&5 1541echo "$as_me:$LINENO: checking for $ac_word" >&5
1228echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1542echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1229if test "${ac_cv_prog_CC+set}" = set; then 1543if test "${ac_cv_prog_CC+set}" = set; then
1230 echo $ECHO_N "(cached) $ECHO_C" >&6 1544 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1232,25 +1546,28 @@ else
1232 if test -n "$CC"; then 1546 if test -n "$CC"; then
1233 ac_cv_prog_CC="$CC" # Let the user override the test. 1547 ac_cv_prog_CC="$CC" # Let the user override the test.
1234else 1548else
1235 ac_save_IFS=$IFS; IFS=$ac_path_separator 1549as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1236ac_dummy="$PATH" 1550for as_dir in $PATH
1237for ac_dir in $ac_dummy; do 1551do
1238 IFS=$ac_save_IFS 1552 IFS=$as_save_IFS
1239 test -z "$ac_dir" && ac_dir=. 1553 test -z "$as_dir" && as_dir=.
1240 $as_executable_p "$ac_dir/$ac_word" || continue 1554 for ac_exec_ext in '' $ac_executable_extensions; do
1241ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1242echo "$as_me:1242: found $ac_dir/$ac_word" >&5 1556 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1243break 1557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1558 break 2
1559 fi
1560done
1244done 1561done
1245 1562
1246fi 1563fi
1247fi 1564fi
1248CC=$ac_cv_prog_CC 1565CC=$ac_cv_prog_CC
1249if test -n "$CC"; then 1566if test -n "$CC"; then
1250 echo "$as_me:1250: result: $CC" >&5 1567 echo "$as_me:$LINENO: result: $CC" >&5
1251echo "${ECHO_T}$CC" >&6 1568echo "${ECHO_T}$CC" >&6
1252else 1569else
1253 echo "$as_me:1253: result: no" >&5 1570 echo "$as_me:$LINENO: result: no" >&5
1254echo "${ECHO_T}no" >&6 1571echo "${ECHO_T}no" >&6
1255fi 1572fi
1256 1573
@@ -1263,7 +1580,7 @@ if test -z "$CC"; then
1263do 1580do
1264 # Extract the first word of "$ac_prog", so it can be a program name with args. 1581 # Extract the first word of "$ac_prog", so it can be a program name with args.
1265set dummy $ac_prog; ac_word=$2 1582set dummy $ac_prog; ac_word=$2
1266echo "$as_me:1266: checking for $ac_word" >&5 1583echo "$as_me:$LINENO: checking for $ac_word" >&5
1267echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1584echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1268if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1585if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1269 echo $ECHO_N "(cached) $ECHO_C" >&6 1586 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1271,25 +1588,28 @@ else
1271 if test -n "$ac_ct_CC"; then 1588 if test -n "$ac_ct_CC"; then
1272 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1589 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1273else 1590else
1274 ac_save_IFS=$IFS; IFS=$ac_path_separator 1591as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1275ac_dummy="$PATH" 1592for as_dir in $PATH
1276for ac_dir in $ac_dummy; do 1593do
1277 IFS=$ac_save_IFS 1594 IFS=$as_save_IFS
1278 test -z "$ac_dir" && ac_dir=. 1595 test -z "$as_dir" && as_dir=.
1279 $as_executable_p "$ac_dir/$ac_word" || continue 1596 for ac_exec_ext in '' $ac_executable_extensions; do
1280ac_cv_prog_ac_ct_CC="$ac_prog" 1597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1281echo "$as_me:1281: found $ac_dir/$ac_word" >&5 1598 ac_cv_prog_ac_ct_CC="$ac_prog"
1282break 1599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1600 break 2
1601 fi
1602done
1283done 1603done
1284 1604
1285fi 1605fi
1286fi 1606fi
1287ac_ct_CC=$ac_cv_prog_ac_ct_CC 1607ac_ct_CC=$ac_cv_prog_ac_ct_CC
1288if test -n "$ac_ct_CC"; then 1608if test -n "$ac_ct_CC"; then
1289 echo "$as_me:1289: result: $ac_ct_CC" >&5 1609 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1290echo "${ECHO_T}$ac_ct_CC" >&6 1610echo "${ECHO_T}$ac_ct_CC" >&6
1291else 1611else
1292 echo "$as_me:1292: result: no" >&5 1612 echo "$as_me:$LINENO: result: no" >&5
1293echo "${ECHO_T}no" >&6 1613echo "${ECHO_T}no" >&6
1294fi 1614fi
1295 1615
@@ -1301,33 +1621,40 @@ fi
1301 1621
1302fi 1622fi
1303 1623
1304test -z "$CC" && { { echo "$as_me:1304: error: no acceptable cc found in \$PATH" >&5 1624
1305echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 1625test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1626See \`config.log' for more details." >&5
1627echo "$as_me: error: no acceptable C compiler found in \$PATH
1628See \`config.log' for more details." >&2;}
1306 { (exit 1); exit 1; }; } 1629 { (exit 1); exit 1; }; }
1307 1630
1308# Provide some information about the compiler. 1631# Provide some information about the compiler.
1309echo "$as_me:1309:" \ 1632echo "$as_me:$LINENO:" \
1310 "checking for C compiler version" >&5 1633 "checking for C compiler version" >&5
1311ac_compiler=`set X $ac_compile; echo $2` 1634ac_compiler=`set X $ac_compile; echo $2`
1312{ (eval echo "$as_me:1312: \"$ac_compiler --version </dev/null >&5\"") >&5 1635{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1313 (eval $ac_compiler --version </dev/null >&5) 2>&5 1636 (eval $ac_compiler --version </dev/null >&5) 2>&5
1314 ac_status=$? 1637 ac_status=$?
1315 echo "$as_me:1315: \$? = $ac_status" >&5 1638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1316 (exit $ac_status); } 1639 (exit $ac_status); }
1317{ (eval echo "$as_me:1317: \"$ac_compiler -v </dev/null >&5\"") >&5 1640{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1318 (eval $ac_compiler -v </dev/null >&5) 2>&5 1641 (eval $ac_compiler -v </dev/null >&5) 2>&5
1319 ac_status=$? 1642 ac_status=$?
1320 echo "$as_me:1320: \$? = $ac_status" >&5 1643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1321 (exit $ac_status); } 1644 (exit $ac_status); }
1322{ (eval echo "$as_me:1322: \"$ac_compiler -V </dev/null >&5\"") >&5 1645{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1323 (eval $ac_compiler -V </dev/null >&5) 2>&5 1646 (eval $ac_compiler -V </dev/null >&5) 2>&5
1324 ac_status=$? 1647 ac_status=$?
1325 echo "$as_me:1325: \$? = $ac_status" >&5 1648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1326 (exit $ac_status); } 1649 (exit $ac_status); }
1327 1650
1328cat >conftest.$ac_ext <<_ACEOF 1651cat >conftest.$ac_ext <<_ACEOF
1329#line 1329 "configure" 1652#line $LINENO "configure"
1330#include "confdefs.h" 1653/* confdefs.h. */
1654_ACEOF
1655cat confdefs.h >>conftest.$ac_ext
1656cat >>conftest.$ac_ext <<_ACEOF
1657/* end confdefs.h. */
1331 1658
1332int 1659int
1333main () 1660main ()
@@ -1338,100 +1665,120 @@ main ()
1338} 1665}
1339_ACEOF 1666_ACEOF
1340ac_clean_files_save=$ac_clean_files 1667ac_clean_files_save=$ac_clean_files
1341ac_clean_files="$ac_clean_files a.out a.exe" 1668ac_clean_files="$ac_clean_files a.out a.exe b.out"
1342# Try to create an executable without -o first, disregard a.out. 1669# Try to create an executable without -o first, disregard a.out.
1343# It will help us diagnose broken compilers, and finding out an intuition 1670# It will help us diagnose broken compilers, and finding out an intuition
1344# of exeext. 1671# of exeext.
1345echo "$as_me:1345: checking for C compiler default output" >&5 1672echo "$as_me:$LINENO: checking for C compiler default output" >&5
1346echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 1673echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1347ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1674ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1348if { (eval echo "$as_me:1348: \"$ac_link_default\"") >&5 1675if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1349 (eval $ac_link_default) 2>&5 1676 (eval $ac_link_default) 2>&5
1350 ac_status=$? 1677 ac_status=$?
1351 echo "$as_me:1351: \$? = $ac_status" >&5 1678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1352 (exit $ac_status); }; then 1679 (exit $ac_status); }; then
1353 # Find the output, starting from the most likely. This scheme is 1680 # Find the output, starting from the most likely. This scheme is
1354# not robust to junk in `.', hence go to wildcards (a.*) only as a last 1681# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1355# resort. 1682# resort.
1356for ac_file in `ls a.exe conftest.exe 2>/dev/null; 1683
1357 ls a.out conftest 2>/dev/null; 1684# Be careful to initialize this variable, since it used to be cached.
1358 ls a.* conftest.* 2>/dev/null`; do 1685# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1686ac_cv_exeext=
1687# b.out is created by i960 compilers.
1688for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1689do
1690 test -f "$ac_file" || continue
1359 case $ac_file in 1691 case $ac_file in
1360 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 1692 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1361 a.out ) # We found the default executable, but exeext='' is most 1693 ;;
1362 # certainly right. 1694 conftest.$ac_ext )
1363 break;; 1695 # This is the source file.
1364 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1696 ;;
1365 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. 1697 [ab].out )
1366 export ac_cv_exeext 1698 # We found the default executable, but exeext='' is most
1367 break;; 1699 # certainly right.
1368 * ) break;; 1700 break;;
1701 *.* )
1702 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1703 # FIXME: I believe we export ac_cv_exeext for Libtool,
1704 # but it would be cool to find out if it's true. Does anybody
1705 # maintain Libtool? --akim.
1706 export ac_cv_exeext
1707 break;;
1708 * )
1709 break;;
1369 esac 1710 esac
1370done 1711done
1371else 1712else
1372 echo "$as_me: failed program was:" >&5 1713 echo "$as_me: failed program was:" >&5
1373cat conftest.$ac_ext >&5 1714sed 's/^/| /' conftest.$ac_ext >&5
1374{ { echo "$as_me:1374: error: C compiler cannot create executables" >&5 1715
1375echo "$as_me: error: C compiler cannot create executables" >&2;} 1716{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1717See \`config.log' for more details." >&5
1718echo "$as_me: error: C compiler cannot create executables
1719See \`config.log' for more details." >&2;}
1376 { (exit 77); exit 77; }; } 1720 { (exit 77); exit 77; }; }
1377fi 1721fi
1378 1722
1379ac_exeext=$ac_cv_exeext 1723ac_exeext=$ac_cv_exeext
1380echo "$as_me:1380: result: $ac_file" >&5 1724echo "$as_me:$LINENO: result: $ac_file" >&5
1381echo "${ECHO_T}$ac_file" >&6 1725echo "${ECHO_T}$ac_file" >&6
1382 1726
1383# Check the compiler produces executables we can run. If not, either 1727# Check the compiler produces executables we can run. If not, either
1384# the compiler is broken, or we cross compile. 1728# the compiler is broken, or we cross compile.
1385echo "$as_me:1385: checking whether the C compiler works" >&5 1729echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1386echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1730echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1387# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1731# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1388# If not cross compiling, check that we can run a simple program. 1732# If not cross compiling, check that we can run a simple program.
1389if test "$cross_compiling" != yes; then 1733if test "$cross_compiling" != yes; then
1390 if { ac_try='./$ac_file' 1734 if { ac_try='./$ac_file'
1391 { (eval echo "$as_me:1391: \"$ac_try\"") >&5 1735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1392 (eval $ac_try) 2>&5 1736 (eval $ac_try) 2>&5
1393 ac_status=$? 1737 ac_status=$?
1394 echo "$as_me:1394: \$? = $ac_status" >&5 1738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1395 (exit $ac_status); }; }; then 1739 (exit $ac_status); }; }; then
1396 cross_compiling=no 1740 cross_compiling=no
1397 else 1741 else
1398 if test "$cross_compiling" = maybe; then 1742 if test "$cross_compiling" = maybe; then
1399 cross_compiling=yes 1743 cross_compiling=yes
1400 else 1744 else
1401 { { echo "$as_me:1401: error: cannot run C compiled programs. 1745 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1402If you meant to cross compile, use \`--host'." >&5 1746If you meant to cross compile, use \`--host'.
1747See \`config.log' for more details." >&5
1403echo "$as_me: error: cannot run C compiled programs. 1748echo "$as_me: error: cannot run C compiled programs.
1404If you meant to cross compile, use \`--host'." >&2;} 1749If you meant to cross compile, use \`--host'.
1750See \`config.log' for more details." >&2;}
1405 { (exit 1); exit 1; }; } 1751 { (exit 1); exit 1; }; }
1406 fi 1752 fi
1407 fi 1753 fi
1408fi 1754fi
1409echo "$as_me:1409: result: yes" >&5 1755echo "$as_me:$LINENO: result: yes" >&5
1410echo "${ECHO_T}yes" >&6 1756echo "${ECHO_T}yes" >&6
1411 1757
1412rm -f a.out a.exe conftest$ac_cv_exeext 1758rm -f a.out a.exe conftest$ac_cv_exeext b.out
1413ac_clean_files=$ac_clean_files_save 1759ac_clean_files=$ac_clean_files_save
1414# Check the compiler produces executables we can run. If not, either 1760# Check the compiler produces executables we can run. If not, either
1415# the compiler is broken, or we cross compile. 1761# the compiler is broken, or we cross compile.
1416echo "$as_me:1416: checking whether we are cross compiling" >&5 1762echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1417echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1763echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1418echo "$as_me:1418: result: $cross_compiling" >&5 1764echo "$as_me:$LINENO: result: $cross_compiling" >&5
1419echo "${ECHO_T}$cross_compiling" >&6 1765echo "${ECHO_T}$cross_compiling" >&6
1420 1766
1421echo "$as_me:1421: checking for executable suffix" >&5 1767echo "$as_me:$LINENO: checking for suffix of executables" >&5
1422echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 1768echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1423if { (eval echo "$as_me:1423: \"$ac_link\"") >&5 1769if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1424 (eval $ac_link) 2>&5 1770 (eval $ac_link) 2>&5
1425 ac_status=$? 1771 ac_status=$?
1426 echo "$as_me:1426: \$? = $ac_status" >&5 1772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1427 (exit $ac_status); }; then 1773 (exit $ac_status); }; then
1428 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1774 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1429# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1775# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1430# work properly (i.e., refer to `conftest.exe'), while it won't with 1776# work properly (i.e., refer to `conftest.exe'), while it won't with
1431# `rm'. 1777# `rm'.
1432for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do 1778for ac_file in conftest.exe conftest conftest.*; do
1779 test -f "$ac_file" || continue
1433 case $ac_file in 1780 case $ac_file in
1434 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 1781 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1435 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1782 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1436 export ac_cv_exeext 1783 export ac_cv_exeext
1437 break;; 1784 break;;
@@ -1439,26 +1786,32 @@ for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1439 esac 1786 esac
1440done 1787done
1441else 1788else
1442 { { echo "$as_me:1442: error: cannot compute EXEEXT: cannot compile and link" >&5 1789 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1443echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 1790See \`config.log' for more details." >&5
1791echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1792See \`config.log' for more details." >&2;}
1444 { (exit 1); exit 1; }; } 1793 { (exit 1); exit 1; }; }
1445fi 1794fi
1446 1795
1447rm -f conftest$ac_cv_exeext 1796rm -f conftest$ac_cv_exeext
1448echo "$as_me:1448: result: $ac_cv_exeext" >&5 1797echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1449echo "${ECHO_T}$ac_cv_exeext" >&6 1798echo "${ECHO_T}$ac_cv_exeext" >&6
1450 1799
1451rm -f conftest.$ac_ext 1800rm -f conftest.$ac_ext
1452EXEEXT=$ac_cv_exeext 1801EXEEXT=$ac_cv_exeext
1453ac_exeext=$EXEEXT 1802ac_exeext=$EXEEXT
1454echo "$as_me:1454: checking for object suffix" >&5 1803echo "$as_me:$LINENO: checking for suffix of object files" >&5
1455echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 1804echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1456if test "${ac_cv_objext+set}" = set; then 1805if test "${ac_cv_objext+set}" = set; then
1457 echo $ECHO_N "(cached) $ECHO_C" >&6 1806 echo $ECHO_N "(cached) $ECHO_C" >&6
1458else 1807else
1459 cat >conftest.$ac_ext <<_ACEOF 1808 cat >conftest.$ac_ext <<_ACEOF
1460#line 1460 "configure" 1809#line $LINENO "configure"
1461#include "confdefs.h" 1810/* confdefs.h. */
1811_ACEOF
1812cat confdefs.h >>conftest.$ac_ext
1813cat >>conftest.$ac_ext <<_ACEOF
1814/* end confdefs.h. */
1462 1815
1463int 1816int
1464main () 1817main ()
@@ -1469,40 +1822,47 @@ main ()
1469} 1822}
1470_ACEOF 1823_ACEOF
1471rm -f conftest.o conftest.obj 1824rm -f conftest.o conftest.obj
1472if { (eval echo "$as_me:1472: \"$ac_compile\"") >&5 1825if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1473 (eval $ac_compile) 2>&5 1826 (eval $ac_compile) 2>&5
1474 ac_status=$? 1827 ac_status=$?
1475 echo "$as_me:1475: \$? = $ac_status" >&5 1828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1476 (exit $ac_status); }; then 1829 (exit $ac_status); }; then
1477 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 1830 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1478 case $ac_file in 1831 case $ac_file in
1479 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 1832 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1480 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1833 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1481 break;; 1834 break;;
1482 esac 1835 esac
1483done 1836done
1484else 1837else
1485 echo "$as_me: failed program was:" >&5 1838 echo "$as_me: failed program was:" >&5
1486cat conftest.$ac_ext >&5 1839sed 's/^/| /' conftest.$ac_ext >&5
1487{ { echo "$as_me:1487: error: cannot compute OBJEXT: cannot compile" >&5 1840
1488echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 1841{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1842See \`config.log' for more details." >&5
1843echo "$as_me: error: cannot compute suffix of object files: cannot compile
1844See \`config.log' for more details." >&2;}
1489 { (exit 1); exit 1; }; } 1845 { (exit 1); exit 1; }; }
1490fi 1846fi
1491 1847
1492rm -f conftest.$ac_cv_objext conftest.$ac_ext 1848rm -f conftest.$ac_cv_objext conftest.$ac_ext
1493fi 1849fi
1494echo "$as_me:1494: result: $ac_cv_objext" >&5 1850echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1495echo "${ECHO_T}$ac_cv_objext" >&6 1851echo "${ECHO_T}$ac_cv_objext" >&6
1496OBJEXT=$ac_cv_objext 1852OBJEXT=$ac_cv_objext
1497ac_objext=$OBJEXT 1853ac_objext=$OBJEXT
1498echo "$as_me:1498: checking whether we are using the GNU C compiler" >&5 1854echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1499echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 1855echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1500if test "${ac_cv_c_compiler_gnu+set}" = set; then 1856if test "${ac_cv_c_compiler_gnu+set}" = set; then
1501 echo $ECHO_N "(cached) $ECHO_C" >&6 1857 echo $ECHO_N "(cached) $ECHO_C" >&6
1502else 1858else
1503 cat >conftest.$ac_ext <<_ACEOF 1859 cat >conftest.$ac_ext <<_ACEOF
1504#line 1504 "configure" 1860#line $LINENO "configure"
1505#include "confdefs.h" 1861/* confdefs.h. */
1862_ACEOF
1863cat confdefs.h >>conftest.$ac_ext
1864cat >>conftest.$ac_ext <<_ACEOF
1865/* end confdefs.h. */
1506 1866
1507int 1867int
1508main () 1868main ()
@@ -1516,41 +1876,46 @@ main ()
1516} 1876}
1517_ACEOF 1877_ACEOF
1518rm -f conftest.$ac_objext 1878rm -f conftest.$ac_objext
1519if { (eval echo "$as_me:1519: \"$ac_compile\"") >&5 1879if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1520 (eval $ac_compile) 2>&5 1880 (eval $ac_compile) 2>&5
1521 ac_status=$? 1881 ac_status=$?
1522 echo "$as_me:1522: \$? = $ac_status" >&5 1882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1523 (exit $ac_status); } && 1883 (exit $ac_status); } &&
1524 { ac_try='test -s conftest.$ac_objext' 1884 { ac_try='test -s conftest.$ac_objext'
1525 { (eval echo "$as_me:1525: \"$ac_try\"") >&5 1885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1526 (eval $ac_try) 2>&5 1886 (eval $ac_try) 2>&5
1527 ac_status=$? 1887 ac_status=$?
1528 echo "$as_me:1528: \$? = $ac_status" >&5 1888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1529 (exit $ac_status); }; }; then 1889 (exit $ac_status); }; }; then
1530 ac_compiler_gnu=yes 1890 ac_compiler_gnu=yes
1531else 1891else
1532 echo "$as_me: failed program was:" >&5 1892 echo "$as_me: failed program was:" >&5
1533cat conftest.$ac_ext >&5 1893sed 's/^/| /' conftest.$ac_ext >&5
1894
1534ac_compiler_gnu=no 1895ac_compiler_gnu=no
1535fi 1896fi
1536rm -f conftest.$ac_objext conftest.$ac_ext 1897rm -f conftest.$ac_objext conftest.$ac_ext
1537ac_cv_c_compiler_gnu=$ac_compiler_gnu 1898ac_cv_c_compiler_gnu=$ac_compiler_gnu
1538 1899
1539fi 1900fi
1540echo "$as_me:1540: result: $ac_cv_c_compiler_gnu" >&5 1901echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1541echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 1902echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1542GCC=`test $ac_compiler_gnu = yes && echo yes` 1903GCC=`test $ac_compiler_gnu = yes && echo yes`
1543ac_test_CFLAGS=${CFLAGS+set} 1904ac_test_CFLAGS=${CFLAGS+set}
1544ac_save_CFLAGS=$CFLAGS 1905ac_save_CFLAGS=$CFLAGS
1545CFLAGS="-g" 1906CFLAGS="-g"
1546echo "$as_me:1546: checking whether $CC accepts -g" >&5 1907echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1547echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 1908echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1548if test "${ac_cv_prog_cc_g+set}" = set; then 1909if test "${ac_cv_prog_cc_g+set}" = set; then
1549 echo $ECHO_N "(cached) $ECHO_C" >&6 1910 echo $ECHO_N "(cached) $ECHO_C" >&6
1550else 1911else
1551 cat >conftest.$ac_ext <<_ACEOF 1912 cat >conftest.$ac_ext <<_ACEOF
1552#line 1552 "configure" 1913#line $LINENO "configure"
1553#include "confdefs.h" 1914/* confdefs.h. */
1915_ACEOF
1916cat confdefs.h >>conftest.$ac_ext
1917cat >>conftest.$ac_ext <<_ACEOF
1918/* end confdefs.h. */
1554 1919
1555int 1920int
1556main () 1921main ()
@@ -1561,26 +1926,27 @@ main ()
1561} 1926}
1562_ACEOF 1927_ACEOF
1563rm -f conftest.$ac_objext 1928rm -f conftest.$ac_objext
1564if { (eval echo "$as_me:1564: \"$ac_compile\"") >&5 1929if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1565 (eval $ac_compile) 2>&5 1930 (eval $ac_compile) 2>&5
1566 ac_status=$? 1931 ac_status=$?
1567 echo "$as_me:1567: \$? = $ac_status" >&5 1932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1568 (exit $ac_status); } && 1933 (exit $ac_status); } &&
1569 { ac_try='test -s conftest.$ac_objext' 1934 { ac_try='test -s conftest.$ac_objext'
1570 { (eval echo "$as_me:1570: \"$ac_try\"") >&5 1935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1571 (eval $ac_try) 2>&5 1936 (eval $ac_try) 2>&5
1572 ac_status=$? 1937 ac_status=$?
1573 echo "$as_me:1573: \$? = $ac_status" >&5 1938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1574 (exit $ac_status); }; }; then 1939 (exit $ac_status); }; }; then
1575 ac_cv_prog_cc_g=yes 1940 ac_cv_prog_cc_g=yes
1576else 1941else
1577 echo "$as_me: failed program was:" >&5 1942 echo "$as_me: failed program was:" >&5
1578cat conftest.$ac_ext >&5 1943sed 's/^/| /' conftest.$ac_ext >&5
1944
1579ac_cv_prog_cc_g=no 1945ac_cv_prog_cc_g=no
1580fi 1946fi
1581rm -f conftest.$ac_objext conftest.$ac_ext 1947rm -f conftest.$ac_objext conftest.$ac_ext
1582fi 1948fi
1583echo "$as_me:1583: result: $ac_cv_prog_cc_g" >&5 1949echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1584echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 1950echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1585if test "$ac_test_CFLAGS" = set; then 1951if test "$ac_test_CFLAGS" = set; then
1586 CFLAGS=$ac_save_CFLAGS 1952 CFLAGS=$ac_save_CFLAGS
@@ -1597,6 +1963,102 @@ else
1597 CFLAGS= 1963 CFLAGS=
1598 fi 1964 fi
1599fi 1965fi
1966echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1967echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1968if test "${ac_cv_prog_cc_stdc+set}" = set; then
1969 echo $ECHO_N "(cached) $ECHO_C" >&6
1970else
1971 ac_cv_prog_cc_stdc=no
1972ac_save_CC=$CC
1973cat >conftest.$ac_ext <<_ACEOF
1974#line $LINENO "configure"
1975/* confdefs.h. */
1976_ACEOF
1977cat confdefs.h >>conftest.$ac_ext
1978cat >>conftest.$ac_ext <<_ACEOF
1979/* end confdefs.h. */
1980#include <stdarg.h>
1981#include <stdio.h>
1982#include <sys/types.h>
1983#include <sys/stat.h>
1984/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1985struct buf { int x; };
1986FILE * (*rcsopen) (struct buf *, struct stat *, int);
1987static char *e (p, i)
1988 char **p;
1989 int i;
1990{
1991 return p[i];
1992}
1993static char *f (char * (*g) (char **, int), char **p, ...)
1994{
1995 char *s;
1996 va_list v;
1997 va_start (v,p);
1998 s = g (p, va_arg (v,int));
1999 va_end (v);
2000 return s;
2001}
2002int test (int i, double x);
2003struct s1 {int (*f) (int a);};
2004struct s2 {int (*f) (double a);};
2005int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2006int argc;
2007char **argv;
2008int
2009main ()
2010{
2011return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2012 ;
2013 return 0;
2014}
2015_ACEOF
2016# Don't try gcc -ansi; that turns off useful extensions and
2017# breaks some systems' header files.
2018# AIX -qlanglvl=ansi
2019# Ultrix and OSF/1 -std1
2020# HP-UX 10.20 and later -Ae
2021# HP-UX older versions -Aa -D_HPUX_SOURCE
2022# SVR4 -Xc -D__EXTENSIONS__
2023for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2024do
2025 CC="$ac_save_CC $ac_arg"
2026 rm -f conftest.$ac_objext
2027if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2028 (eval $ac_compile) 2>&5
2029 ac_status=$?
2030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2031 (exit $ac_status); } &&
2032 { ac_try='test -s conftest.$ac_objext'
2033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2034 (eval $ac_try) 2>&5
2035 ac_status=$?
2036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2037 (exit $ac_status); }; }; then
2038 ac_cv_prog_cc_stdc=$ac_arg
2039break
2040else
2041 echo "$as_me: failed program was:" >&5
2042sed 's/^/| /' conftest.$ac_ext >&5
2043
2044fi
2045rm -f conftest.$ac_objext
2046done
2047rm -f conftest.$ac_ext conftest.$ac_objext
2048CC=$ac_save_CC
2049
2050fi
2051
2052case "x$ac_cv_prog_cc_stdc" in
2053 x|xno)
2054 echo "$as_me:$LINENO: result: none needed" >&5
2055echo "${ECHO_T}none needed" >&6 ;;
2056 *)
2057 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2058echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2059 CC="$CC $ac_cv_prog_cc_stdc" ;;
2060esac
2061
1600# Some people use a C++ compiler to compile C. Since we use `exit', 2062# Some people use a C++ compiler to compile C. Since we use `exit',
1601# in C++ we need to declare it. In case someone uses the same compiler 2063# in C++ we need to declare it. In case someone uses the same compiler
1602# for both compiling C and C++ we need to have the C++ compiler decide 2064# for both compiling C and C++ we need to have the C++ compiler decide
@@ -1607,16 +2069,16 @@ cat >conftest.$ac_ext <<_ACEOF
1607#endif 2069#endif
1608_ACEOF 2070_ACEOF
1609rm -f conftest.$ac_objext 2071rm -f conftest.$ac_objext
1610if { (eval echo "$as_me:1610: \"$ac_compile\"") >&5 2072if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1611 (eval $ac_compile) 2>&5 2073 (eval $ac_compile) 2>&5
1612 ac_status=$? 2074 ac_status=$?
1613 echo "$as_me:1613: \$? = $ac_status" >&5 2075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1614 (exit $ac_status); } && 2076 (exit $ac_status); } &&
1615 { ac_try='test -s conftest.$ac_objext' 2077 { ac_try='test -s conftest.$ac_objext'
1616 { (eval echo "$as_me:1616: \"$ac_try\"") >&5 2078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1617 (eval $ac_try) 2>&5 2079 (eval $ac_try) 2>&5
1618 ac_status=$? 2080 ac_status=$?
1619 echo "$as_me:1619: \$? = $ac_status" >&5 2081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1620 (exit $ac_status); }; }; then 2082 (exit $ac_status); }; }; then
1621 for ac_declaration in \ 2083 for ac_declaration in \
1622 ''\ 2084 ''\
@@ -1628,8 +2090,12 @@ if { (eval echo "$as_me:1610: \"$ac_compile\"") >&5
1628 'void exit (int);' 2090 'void exit (int);'
1629do 2091do
1630 cat >conftest.$ac_ext <<_ACEOF 2092 cat >conftest.$ac_ext <<_ACEOF
1631#line 1631 "configure" 2093#line $LINENO "configure"
1632#include "confdefs.h" 2094/* confdefs.h. */
2095_ACEOF
2096cat confdefs.h >>conftest.$ac_ext
2097cat >>conftest.$ac_ext <<_ACEOF
2098/* end confdefs.h. */
1633#include <stdlib.h> 2099#include <stdlib.h>
1634$ac_declaration 2100$ac_declaration
1635int 2101int
@@ -1641,27 +2107,32 @@ exit (42);
1641} 2107}
1642_ACEOF 2108_ACEOF
1643rm -f conftest.$ac_objext 2109rm -f conftest.$ac_objext
1644if { (eval echo "$as_me:1644: \"$ac_compile\"") >&5 2110if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1645 (eval $ac_compile) 2>&5 2111 (eval $ac_compile) 2>&5
1646 ac_status=$? 2112 ac_status=$?
1647 echo "$as_me:1647: \$? = $ac_status" >&5 2113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1648 (exit $ac_status); } && 2114 (exit $ac_status); } &&
1649 { ac_try='test -s conftest.$ac_objext' 2115 { ac_try='test -s conftest.$ac_objext'
1650 { (eval echo "$as_me:1650: \"$ac_try\"") >&5 2116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1651 (eval $ac_try) 2>&5 2117 (eval $ac_try) 2>&5
1652 ac_status=$? 2118 ac_status=$?
1653 echo "$as_me:1653: \$? = $ac_status" >&5 2119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1654 (exit $ac_status); }; }; then 2120 (exit $ac_status); }; }; then
1655 : 2121 :
1656else 2122else
1657 echo "$as_me: failed program was:" >&5 2123 echo "$as_me: failed program was:" >&5
1658cat conftest.$ac_ext >&5 2124sed 's/^/| /' conftest.$ac_ext >&5
2125
1659continue 2126continue
1660fi 2127fi
1661rm -f conftest.$ac_objext conftest.$ac_ext 2128rm -f conftest.$ac_objext conftest.$ac_ext
1662 cat >conftest.$ac_ext <<_ACEOF 2129 cat >conftest.$ac_ext <<_ACEOF
1663#line 1663 "configure" 2130#line $LINENO "configure"
1664#include "confdefs.h" 2131/* confdefs.h. */
2132_ACEOF
2133cat confdefs.h >>conftest.$ac_ext
2134cat >>conftest.$ac_ext <<_ACEOF
2135/* end confdefs.h. */
1665$ac_declaration 2136$ac_declaration
1666int 2137int
1667main () 2138main ()
@@ -1672,21 +2143,22 @@ exit (42);
1672} 2143}
1673_ACEOF 2144_ACEOF
1674rm -f conftest.$ac_objext 2145rm -f conftest.$ac_objext
1675if { (eval echo "$as_me:1675: \"$ac_compile\"") >&5 2146if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1676 (eval $ac_compile) 2>&5 2147 (eval $ac_compile) 2>&5
1677 ac_status=$? 2148 ac_status=$?
1678 echo "$as_me:1678: \$? = $ac_status" >&5 2149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1679 (exit $ac_status); } && 2150 (exit $ac_status); } &&
1680 { ac_try='test -s conftest.$ac_objext' 2151 { ac_try='test -s conftest.$ac_objext'
1681 { (eval echo "$as_me:1681: \"$ac_try\"") >&5 2152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1682 (eval $ac_try) 2>&5 2153 (eval $ac_try) 2>&5
1683 ac_status=$? 2154 ac_status=$?
1684 echo "$as_me:1684: \$? = $ac_status" >&5 2155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1685 (exit $ac_status); }; }; then 2156 (exit $ac_status); }; }; then
1686 break 2157 break
1687else 2158else
1688 echo "$as_me: failed program was:" >&5 2159 echo "$as_me: failed program was:" >&5
1689cat conftest.$ac_ext >&5 2160sed 's/^/| /' conftest.$ac_ext >&5
2161
1690fi 2162fi
1691rm -f conftest.$ac_objext conftest.$ac_ext 2163rm -f conftest.$ac_objext conftest.$ac_ext
1692done 2164done
@@ -1699,7 +2171,8 @@ fi
1699 2171
1700else 2172else
1701 echo "$as_me: failed program was:" >&5 2173 echo "$as_me: failed program was:" >&5
1702cat conftest.$ac_ext >&5 2174sed 's/^/| /' conftest.$ac_ext >&5
2175
1703fi 2176fi
1704rm -f conftest.$ac_objext conftest.$ac_ext 2177rm -f conftest.$ac_objext conftest.$ac_ext
1705ac_ext=c 2178ac_ext=c
@@ -1725,7 +2198,7 @@ for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1725 fi 2198 fi
1726done 2199done
1727if test -z "$ac_aux_dir"; then 2200if test -z "$ac_aux_dir"; then
1728 { { echo "$as_me:1728: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 2201 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1729echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 2202echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1730 { (exit 1); exit 1; }; } 2203 { (exit 1); exit 1; }; }
1731fi 2204fi
@@ -1735,11 +2208,11 @@ ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1735 2208
1736# Make sure we can run config.sub. 2209# Make sure we can run config.sub.
1737$ac_config_sub sun4 >/dev/null 2>&1 || 2210$ac_config_sub sun4 >/dev/null 2>&1 ||
1738 { { echo "$as_me:1738: error: cannot run $ac_config_sub" >&5 2211 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1739echo "$as_me: error: cannot run $ac_config_sub" >&2;} 2212echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1740 { (exit 1); exit 1; }; } 2213 { (exit 1); exit 1; }; }
1741 2214
1742echo "$as_me:1742: checking build system type" >&5 2215echo "$as_me:$LINENO: checking build system type" >&5
1743echo $ECHO_N "checking build system type... $ECHO_C" >&6 2216echo $ECHO_N "checking build system type... $ECHO_C" >&6
1744if test "${ac_cv_build+set}" = set; then 2217if test "${ac_cv_build+set}" = set; then
1745 echo $ECHO_N "(cached) $ECHO_C" >&6 2218 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1748,23 +2221,24 @@ else
1748test -z "$ac_cv_build_alias" && 2221test -z "$ac_cv_build_alias" &&
1749 ac_cv_build_alias=`$ac_config_guess` 2222 ac_cv_build_alias=`$ac_config_guess`
1750test -z "$ac_cv_build_alias" && 2223test -z "$ac_cv_build_alias" &&
1751 { { echo "$as_me:1751: error: cannot guess build type; you must specify one" >&5 2224 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1752echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 2225echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1753 { (exit 1); exit 1; }; } 2226 { (exit 1); exit 1; }; }
1754ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 2227ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1755 { { echo "$as_me:1755: error: $ac_config_sub $ac_cv_build_alias failed." >&5 2228 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1756echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} 2229echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1757 { (exit 1); exit 1; }; } 2230 { (exit 1); exit 1; }; }
1758 2231
1759fi 2232fi
1760echo "$as_me:1760: result: $ac_cv_build" >&5 2233echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1761echo "${ECHO_T}$ac_cv_build" >&6 2234echo "${ECHO_T}$ac_cv_build" >&6
1762build=$ac_cv_build 2235build=$ac_cv_build
1763build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2236build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1764build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2237build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1765build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2238build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1766 2239
1767echo "$as_me:1767: checking host system type" >&5 2240
2241echo "$as_me:$LINENO: checking host system type" >&5
1768echo $ECHO_N "checking host system type... $ECHO_C" >&6 2242echo $ECHO_N "checking host system type... $ECHO_C" >&6
1769if test "${ac_cv_host+set}" = set; then 2243if test "${ac_cv_host+set}" = set; then
1770 echo $ECHO_N "(cached) $ECHO_C" >&6 2244 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1773,28 +2247,33 @@ else
1773test -z "$ac_cv_host_alias" && 2247test -z "$ac_cv_host_alias" &&
1774 ac_cv_host_alias=$ac_cv_build_alias 2248 ac_cv_host_alias=$ac_cv_build_alias
1775ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 2249ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1776 { { echo "$as_me:1776: error: $ac_config_sub $ac_cv_host_alias failed" >&5 2250 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1777echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 2251echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1778 { (exit 1); exit 1; }; } 2252 { (exit 1); exit 1; }; }
1779 2253
1780fi 2254fi
1781echo "$as_me:1781: result: $ac_cv_host" >&5 2255echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1782echo "${ECHO_T}$ac_cv_host" >&6 2256echo "${ECHO_T}$ac_cv_host" >&6
1783host=$ac_cv_host 2257host=$ac_cv_host
1784host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2258host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1785host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2259host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1786host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2260host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1787 2261
1788echo "$as_me:1788: checking whether byte ordering is bigendian" >&5 2262
2263
2264echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
1789echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 2265echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
1790if test "${ac_cv_c_bigendian+set}" = set; then 2266if test "${ac_cv_c_bigendian+set}" = set; then
1791 echo $ECHO_N "(cached) $ECHO_C" >&6 2267 echo $ECHO_N "(cached) $ECHO_C" >&6
1792else 2268else
1793 ac_cv_c_bigendian=unknown 2269 # See if sys/param.h defines the BYTE_ORDER macro.
1794# See if sys/param.h defines the BYTE_ORDER macro.
1795cat >conftest.$ac_ext <<_ACEOF 2270cat >conftest.$ac_ext <<_ACEOF
1796#line 1796 "configure" 2271#line $LINENO "configure"
1797#include "confdefs.h" 2272/* confdefs.h. */
2273_ACEOF
2274cat confdefs.h >>conftest.$ac_ext
2275cat >>conftest.$ac_ext <<_ACEOF
2276/* end confdefs.h. */
1798#include <sys/types.h> 2277#include <sys/types.h>
1799#include <sys/param.h> 2278#include <sys/param.h>
1800 2279
@@ -1810,21 +2289,25 @@ main ()
1810} 2289}
1811_ACEOF 2290_ACEOF
1812rm -f conftest.$ac_objext 2291rm -f conftest.$ac_objext
1813if { (eval echo "$as_me:1813: \"$ac_compile\"") >&5 2292if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1814 (eval $ac_compile) 2>&5 2293 (eval $ac_compile) 2>&5
1815 ac_status=$? 2294 ac_status=$?
1816 echo "$as_me:1816: \$? = $ac_status" >&5 2295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1817 (exit $ac_status); } && 2296 (exit $ac_status); } &&
1818 { ac_try='test -s conftest.$ac_objext' 2297 { ac_try='test -s conftest.$ac_objext'
1819 { (eval echo "$as_me:1819: \"$ac_try\"") >&5 2298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1820 (eval $ac_try) 2>&5 2299 (eval $ac_try) 2>&5
1821 ac_status=$? 2300 ac_status=$?
1822 echo "$as_me:1822: \$? = $ac_status" >&5 2301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1823 (exit $ac_status); }; }; then 2302 (exit $ac_status); }; }; then
1824 # It does; now see whether it defined to BIG_ENDIAN or not. 2303 # It does; now see whether it defined to BIG_ENDIAN or not.
1825cat >conftest.$ac_ext <<_ACEOF 2304cat >conftest.$ac_ext <<_ACEOF
1826#line 1826 "configure" 2305#line $LINENO "configure"
1827#include "confdefs.h" 2306/* confdefs.h. */
2307_ACEOF
2308cat confdefs.h >>conftest.$ac_ext
2309cat >>conftest.$ac_ext <<_ACEOF
2310/* end confdefs.h. */
1828#include <sys/types.h> 2311#include <sys/types.h>
1829#include <sys/param.h> 2312#include <sys/param.h>
1830 2313
@@ -1840,38 +2323,91 @@ main ()
1840} 2323}
1841_ACEOF 2324_ACEOF
1842rm -f conftest.$ac_objext 2325rm -f conftest.$ac_objext
1843if { (eval echo "$as_me:1843: \"$ac_compile\"") >&5 2326if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1844 (eval $ac_compile) 2>&5 2327 (eval $ac_compile) 2>&5
1845 ac_status=$? 2328 ac_status=$?
1846 echo "$as_me:1846: \$? = $ac_status" >&5 2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1847 (exit $ac_status); } && 2330 (exit $ac_status); } &&
1848 { ac_try='test -s conftest.$ac_objext' 2331 { ac_try='test -s conftest.$ac_objext'
1849 { (eval echo "$as_me:1849: \"$ac_try\"") >&5 2332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1850 (eval $ac_try) 2>&5 2333 (eval $ac_try) 2>&5
1851 ac_status=$? 2334 ac_status=$?
1852 echo "$as_me:1852: \$? = $ac_status" >&5 2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1853 (exit $ac_status); }; }; then 2336 (exit $ac_status); }; }; then
1854 ac_cv_c_bigendian=yes 2337 ac_cv_c_bigendian=yes
1855else 2338else
1856 echo "$as_me: failed program was:" >&5 2339 echo "$as_me: failed program was:" >&5
1857cat conftest.$ac_ext >&5 2340sed 's/^/| /' conftest.$ac_ext >&5
2341
1858ac_cv_c_bigendian=no 2342ac_cv_c_bigendian=no
1859fi 2343fi
1860rm -f conftest.$ac_objext conftest.$ac_ext 2344rm -f conftest.$ac_objext conftest.$ac_ext
1861else 2345else
1862 echo "$as_me: failed program was:" >&5 2346 echo "$as_me: failed program was:" >&5
1863cat conftest.$ac_ext >&5 2347sed 's/^/| /' conftest.$ac_ext >&5
2348
2349# It does not; compile a test program.
2350if test "$cross_compiling" = yes; then
2351 # try to guess the endianness by grepping values into an object file
2352 ac_cv_c_bigendian=unknown
2353 cat >conftest.$ac_ext <<_ACEOF
2354#line $LINENO "configure"
2355/* confdefs.h. */
2356_ACEOF
2357cat confdefs.h >>conftest.$ac_ext
2358cat >>conftest.$ac_ext <<_ACEOF
2359/* end confdefs.h. */
2360short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
2361short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
2362void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
2363short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
2364short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
2365void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
2366int
2367main ()
2368{
2369 _ascii (); _ebcdic ();
2370 ;
2371 return 0;
2372}
2373_ACEOF
2374rm -f conftest.$ac_objext
2375if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2376 (eval $ac_compile) 2>&5
2377 ac_status=$?
2378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2379 (exit $ac_status); } &&
2380 { ac_try='test -s conftest.$ac_objext'
2381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2382 (eval $ac_try) 2>&5
2383 ac_status=$?
2384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385 (exit $ac_status); }; }; then
2386 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
2387 ac_cv_c_bigendian=yes
2388fi
2389if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
2390 if test "$ac_cv_c_bigendian" = unknown; then
2391 ac_cv_c_bigendian=no
2392 else
2393 # finding both strings is unlikely to happen, but who knows?
2394 ac_cv_c_bigendian=unknown
2395 fi
2396fi
2397else
2398 echo "$as_me: failed program was:" >&5
2399sed 's/^/| /' conftest.$ac_ext >&5
2400
1864fi 2401fi
1865rm -f conftest.$ac_objext conftest.$ac_ext 2402rm -f conftest.$ac_objext conftest.$ac_ext
1866if test $ac_cv_c_bigendian = unknown; then
1867if test "$cross_compiling" = yes; then
1868 { { echo "$as_me:1868: error: cannot run test program while cross compiling" >&5
1869echo "$as_me: error: cannot run test program while cross compiling" >&2;}
1870 { (exit 1); exit 1; }; }
1871else 2403else
1872 cat >conftest.$ac_ext <<_ACEOF 2404 cat >conftest.$ac_ext <<_ACEOF
1873#line 1873 "configure" 2405#line $LINENO "configure"
1874#include "confdefs.h" 2406/* confdefs.h. */
2407_ACEOF
2408cat confdefs.h >>conftest.$ac_ext
2409cat >>conftest.$ac_ext <<_ACEOF
2410/* end confdefs.h. */
1875int 2411int
1876main () 2412main ()
1877{ 2413{
@@ -1886,81 +2422,57 @@ main ()
1886} 2422}
1887_ACEOF 2423_ACEOF
1888rm -f conftest$ac_exeext 2424rm -f conftest$ac_exeext
1889if { (eval echo "$as_me:1889: \"$ac_link\"") >&5 2425if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1890 (eval $ac_link) 2>&5 2426 (eval $ac_link) 2>&5
1891 ac_status=$? 2427 ac_status=$?
1892 echo "$as_me:1892: \$? = $ac_status" >&5 2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1893 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 2429 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1894 { (eval echo "$as_me:1894: \"$ac_try\"") >&5 2430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1895 (eval $ac_try) 2>&5 2431 (eval $ac_try) 2>&5
1896 ac_status=$? 2432 ac_status=$?
1897 echo "$as_me:1897: \$? = $ac_status" >&5 2433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1898 (exit $ac_status); }; }; then 2434 (exit $ac_status); }; }; then
1899 ac_cv_c_bigendian=no 2435 ac_cv_c_bigendian=no
1900else 2436else
1901 echo "$as_me: program exited with status $ac_status" >&5 2437 echo "$as_me: program exited with status $ac_status" >&5
1902echo "$as_me: failed program was:" >&5 2438echo "$as_me: failed program was:" >&5
1903cat conftest.$ac_ext >&5 2439sed 's/^/| /' conftest.$ac_ext >&5
2440
2441( exit $ac_status )
1904ac_cv_c_bigendian=yes 2442ac_cv_c_bigendian=yes
1905fi 2443fi
1906rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 2444rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1907fi 2445fi
1908fi 2446fi
2447rm -f conftest.$ac_objext conftest.$ac_ext
1909fi 2448fi
1910echo "$as_me:1910: result: $ac_cv_c_bigendian" >&5 2449echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
1911echo "${ECHO_T}$ac_cv_c_bigendian" >&6 2450echo "${ECHO_T}$ac_cv_c_bigendian" >&6
1912if test $ac_cv_c_bigendian = yes; then 2451case $ac_cv_c_bigendian in
2452 yes)
1913 2453
1914cat >>confdefs.h <<\EOF 2454cat >>confdefs.h <<\_ACEOF
1915#define WORDS_BIGENDIAN 1 2455#define WORDS_BIGENDIAN 1
1916EOF 2456_ACEOF
2457 ;;
2458 no)
2459 ;;
2460 *)
2461 { { echo "$as_me:$LINENO: error: unknown endianness
2462presetting ac_cv_c_bigendian=no (or yes) will help" >&5
2463echo "$as_me: error: unknown endianness
2464presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
2465 { (exit 1); exit 1; }; } ;;
2466esac
1917 2467
1918fi
1919 2468
1920# Checks for programs. 2469# Checks for programs.
1921for ac_prog in mawk gawk nawk awk
1922do
1923 # Extract the first word of "$ac_prog", so it can be a program name with args.
1924set dummy $ac_prog; ac_word=$2
1925echo "$as_me:1925: checking for $ac_word" >&5
1926echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1927if test "${ac_cv_prog_AWK+set}" = set; then
1928 echo $ECHO_N "(cached) $ECHO_C" >&6
1929else
1930 if test -n "$AWK"; then
1931 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1932else
1933 ac_save_IFS=$IFS; IFS=$ac_path_separator
1934ac_dummy="$PATH"
1935for ac_dir in $ac_dummy; do
1936 IFS=$ac_save_IFS
1937 test -z "$ac_dir" && ac_dir=.
1938 $as_executable_p "$ac_dir/$ac_word" || continue
1939ac_cv_prog_AWK="$ac_prog"
1940echo "$as_me:1940: found $ac_dir/$ac_word" >&5
1941break
1942done
1943
1944fi
1945fi
1946AWK=$ac_cv_prog_AWK
1947if test -n "$AWK"; then
1948 echo "$as_me:1948: result: $AWK" >&5
1949echo "${ECHO_T}$AWK" >&6
1950else
1951 echo "$as_me:1951: result: no" >&5
1952echo "${ECHO_T}no" >&6
1953fi
1954
1955 test -n "$AWK" && break
1956done
1957
1958ac_ext=c 2470ac_ext=c
1959ac_cpp='$CPP $CPPFLAGS' 2471ac_cpp='$CPP $CPPFLAGS'
1960ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2472ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1961ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2473ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1962ac_compiler_gnu=$ac_cv_c_compiler_gnu 2474ac_compiler_gnu=$ac_cv_c_compiler_gnu
1963echo "$as_me:1963: checking how to run the C preprocessor" >&5 2475echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
1964echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 2476echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1965# On Suns, sometimes $CPP names a directory. 2477# On Suns, sometimes $CPP names a directory.
1966if test -n "$CPP" && test -d "$CPP"; then 2478if test -n "$CPP" && test -d "$CPP"; then
@@ -1978,21 +2490,31 @@ for ac_c_preproc_warn_flag in '' yes
1978do 2490do
1979 # Use a header file that comes with gcc, so configuring glibc 2491 # Use a header file that comes with gcc, so configuring glibc
1980 # with a fresh cross-compiler works. 2492 # with a fresh cross-compiler works.
2493 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2494 # <limits.h> exists even on freestanding compilers.
1981 # On the NeXT, cc -E runs the code through the compiler's parser, 2495 # On the NeXT, cc -E runs the code through the compiler's parser,
1982 # not just through cpp. "Syntax error" is here to catch this case. 2496 # not just through cpp. "Syntax error" is here to catch this case.
1983 cat >conftest.$ac_ext <<_ACEOF 2497 cat >conftest.$ac_ext <<_ACEOF
1984#line 1984 "configure" 2498#line $LINENO "configure"
1985#include "confdefs.h" 2499/* confdefs.h. */
1986#include <assert.h> 2500_ACEOF
2501cat confdefs.h >>conftest.$ac_ext
2502cat >>conftest.$ac_ext <<_ACEOF
2503/* end confdefs.h. */
2504#ifdef __STDC__
2505# include <limits.h>
2506#else
2507# include <assert.h>
2508#endif
1987 Syntax error 2509 Syntax error
1988_ACEOF 2510_ACEOF
1989if { (eval echo "$as_me:1989: \"$ac_cpp conftest.$ac_ext\"") >&5 2511if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1990 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2512 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1991 ac_status=$? 2513 ac_status=$?
1992 egrep -v '^ *\+' conftest.er1 >conftest.err 2514 grep -v '^ *+' conftest.er1 >conftest.err
1993 rm -f conftest.er1 2515 rm -f conftest.er1
1994 cat conftest.err >&5 2516 cat conftest.err >&5
1995 echo "$as_me:1995: \$? = $ac_status" >&5 2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1996 (exit $ac_status); } >/dev/null; then 2518 (exit $ac_status); } >/dev/null; then
1997 if test -s conftest.err; then 2519 if test -s conftest.err; then
1998 ac_cpp_err=$ac_c_preproc_warn_flag 2520 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -2006,7 +2528,8 @@ if test -z "$ac_cpp_err"; then
2006 : 2528 :
2007else 2529else
2008 echo "$as_me: failed program was:" >&5 2530 echo "$as_me: failed program was:" >&5
2009 cat conftest.$ac_ext >&5 2531sed 's/^/| /' conftest.$ac_ext >&5
2532
2010 # Broken: fails on valid input. 2533 # Broken: fails on valid input.
2011continue 2534continue
2012fi 2535fi
@@ -2015,17 +2538,21 @@ rm -f conftest.err conftest.$ac_ext
2015 # OK, works on sane cases. Now check whether non-existent headers 2538 # OK, works on sane cases. Now check whether non-existent headers
2016 # can be detected and how. 2539 # can be detected and how.
2017 cat >conftest.$ac_ext <<_ACEOF 2540 cat >conftest.$ac_ext <<_ACEOF
2018#line 2018 "configure" 2541#line $LINENO "configure"
2019#include "confdefs.h" 2542/* confdefs.h. */
2543_ACEOF
2544cat confdefs.h >>conftest.$ac_ext
2545cat >>conftest.$ac_ext <<_ACEOF
2546/* end confdefs.h. */
2020#include <ac_nonexistent.h> 2547#include <ac_nonexistent.h>
2021_ACEOF 2548_ACEOF
2022if { (eval echo "$as_me:2022: \"$ac_cpp conftest.$ac_ext\"") >&5 2549if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2023 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2550 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2024 ac_status=$? 2551 ac_status=$?
2025 egrep -v '^ *\+' conftest.er1 >conftest.err 2552 grep -v '^ *+' conftest.er1 >conftest.err
2026 rm -f conftest.er1 2553 rm -f conftest.er1
2027 cat conftest.err >&5 2554 cat conftest.err >&5
2028 echo "$as_me:2028: \$? = $ac_status" >&5 2555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2029 (exit $ac_status); } >/dev/null; then 2556 (exit $ac_status); } >/dev/null; then
2030 if test -s conftest.err; then 2557 if test -s conftest.err; then
2031 ac_cpp_err=$ac_c_preproc_warn_flag 2558 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -2040,7 +2567,8 @@ if test -z "$ac_cpp_err"; then
2040continue 2567continue
2041else 2568else
2042 echo "$as_me: failed program was:" >&5 2569 echo "$as_me: failed program was:" >&5
2043 cat conftest.$ac_ext >&5 2570sed 's/^/| /' conftest.$ac_ext >&5
2571
2044 # Passes both tests. 2572 # Passes both tests.
2045ac_preproc_ok=: 2573ac_preproc_ok=:
2046break 2574break
@@ -2062,28 +2590,38 @@ fi
2062else 2590else
2063 ac_cv_prog_CPP=$CPP 2591 ac_cv_prog_CPP=$CPP
2064fi 2592fi
2065echo "$as_me:2065: result: $CPP" >&5 2593echo "$as_me:$LINENO: result: $CPP" >&5
2066echo "${ECHO_T}$CPP" >&6 2594echo "${ECHO_T}$CPP" >&6
2067ac_preproc_ok=false 2595ac_preproc_ok=false
2068for ac_c_preproc_warn_flag in '' yes 2596for ac_c_preproc_warn_flag in '' yes
2069do 2597do
2070 # Use a header file that comes with gcc, so configuring glibc 2598 # Use a header file that comes with gcc, so configuring glibc
2071 # with a fresh cross-compiler works. 2599 # with a fresh cross-compiler works.
2600 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2601 # <limits.h> exists even on freestanding compilers.
2072 # On the NeXT, cc -E runs the code through the compiler's parser, 2602 # On the NeXT, cc -E runs the code through the compiler's parser,
2073 # not just through cpp. "Syntax error" is here to catch this case. 2603 # not just through cpp. "Syntax error" is here to catch this case.
2074 cat >conftest.$ac_ext <<_ACEOF 2604 cat >conftest.$ac_ext <<_ACEOF
2075#line 2075 "configure" 2605#line $LINENO "configure"
2076#include "confdefs.h" 2606/* confdefs.h. */
2077#include <assert.h> 2607_ACEOF
2608cat confdefs.h >>conftest.$ac_ext
2609cat >>conftest.$ac_ext <<_ACEOF
2610/* end confdefs.h. */
2611#ifdef __STDC__
2612# include <limits.h>
2613#else
2614# include <assert.h>
2615#endif
2078 Syntax error 2616 Syntax error
2079_ACEOF 2617_ACEOF
2080if { (eval echo "$as_me:2080: \"$ac_cpp conftest.$ac_ext\"") >&5 2618if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2081 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2619 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2082 ac_status=$? 2620 ac_status=$?
2083 egrep -v '^ *\+' conftest.er1 >conftest.err 2621 grep -v '^ *+' conftest.er1 >conftest.err
2084 rm -f conftest.er1 2622 rm -f conftest.er1
2085 cat conftest.err >&5 2623 cat conftest.err >&5
2086 echo "$as_me:2086: \$? = $ac_status" >&5 2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2087 (exit $ac_status); } >/dev/null; then 2625 (exit $ac_status); } >/dev/null; then
2088 if test -s conftest.err; then 2626 if test -s conftest.err; then
2089 ac_cpp_err=$ac_c_preproc_warn_flag 2627 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -2097,7 +2635,8 @@ if test -z "$ac_cpp_err"; then
2097 : 2635 :
2098else 2636else
2099 echo "$as_me: failed program was:" >&5 2637 echo "$as_me: failed program was:" >&5
2100 cat conftest.$ac_ext >&5 2638sed 's/^/| /' conftest.$ac_ext >&5
2639
2101 # Broken: fails on valid input. 2640 # Broken: fails on valid input.
2102continue 2641continue
2103fi 2642fi
@@ -2106,17 +2645,21 @@ rm -f conftest.err conftest.$ac_ext
2106 # OK, works on sane cases. Now check whether non-existent headers 2645 # OK, works on sane cases. Now check whether non-existent headers
2107 # can be detected and how. 2646 # can be detected and how.
2108 cat >conftest.$ac_ext <<_ACEOF 2647 cat >conftest.$ac_ext <<_ACEOF
2109#line 2109 "configure" 2648#line $LINENO "configure"
2110#include "confdefs.h" 2649/* confdefs.h. */
2650_ACEOF
2651cat confdefs.h >>conftest.$ac_ext
2652cat >>conftest.$ac_ext <<_ACEOF
2653/* end confdefs.h. */
2111#include <ac_nonexistent.h> 2654#include <ac_nonexistent.h>
2112_ACEOF 2655_ACEOF
2113if { (eval echo "$as_me:2113: \"$ac_cpp conftest.$ac_ext\"") >&5 2656if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2114 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2657 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2115 ac_status=$? 2658 ac_status=$?
2116 egrep -v '^ *\+' conftest.er1 >conftest.err 2659 grep -v '^ *+' conftest.er1 >conftest.err
2117 rm -f conftest.er1 2660 rm -f conftest.er1
2118 cat conftest.err >&5 2661 cat conftest.err >&5
2119 echo "$as_me:2119: \$? = $ac_status" >&5 2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120 (exit $ac_status); } >/dev/null; then 2663 (exit $ac_status); } >/dev/null; then
2121 if test -s conftest.err; then 2664 if test -s conftest.err; then
2122 ac_cpp_err=$ac_c_preproc_warn_flag 2665 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -2131,7 +2674,8 @@ if test -z "$ac_cpp_err"; then
2131continue 2674continue
2132else 2675else
2133 echo "$as_me: failed program was:" >&5 2676 echo "$as_me: failed program was:" >&5
2134 cat conftest.$ac_ext >&5 2677sed 's/^/| /' conftest.$ac_ext >&5
2678
2135 # Passes both tests. 2679 # Passes both tests.
2136ac_preproc_ok=: 2680ac_preproc_ok=:
2137break 2681break
@@ -2144,8 +2688,10 @@ rm -f conftest.err conftest.$ac_ext
2144if $ac_preproc_ok; then 2688if $ac_preproc_ok; then
2145 : 2689 :
2146else 2690else
2147 { { echo "$as_me:2147: error: C preprocessor \"$CPP\" fails sanity check" >&5 2691 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2148echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 2692See \`config.log' for more details." >&5
2693echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2694See \`config.log' for more details." >&2;}
2149 { (exit 1); exit 1; }; } 2695 { (exit 1); exit 1; }; }
2150fi 2696fi
2151 2697
@@ -2158,7 +2704,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2158if test -n "$ac_tool_prefix"; then 2704if test -n "$ac_tool_prefix"; then
2159 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2705 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2160set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2706set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2161echo "$as_me:2161: checking for $ac_word" >&5 2707echo "$as_me:$LINENO: checking for $ac_word" >&5
2162echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2708echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2163if test "${ac_cv_prog_RANLIB+set}" = set; then 2709if test "${ac_cv_prog_RANLIB+set}" = set; then
2164 echo $ECHO_N "(cached) $ECHO_C" >&6 2710 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2166,25 +2712,28 @@ else
2166 if test -n "$RANLIB"; then 2712 if test -n "$RANLIB"; then
2167 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 2713 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2168else 2714else
2169 ac_save_IFS=$IFS; IFS=$ac_path_separator 2715as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2170ac_dummy="$PATH" 2716for as_dir in $PATH
2171for ac_dir in $ac_dummy; do 2717do
2172 IFS=$ac_save_IFS 2718 IFS=$as_save_IFS
2173 test -z "$ac_dir" && ac_dir=. 2719 test -z "$as_dir" && as_dir=.
2174 $as_executable_p "$ac_dir/$ac_word" || continue 2720 for ac_exec_ext in '' $ac_executable_extensions; do
2175ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2721 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2176echo "$as_me:2176: found $ac_dir/$ac_word" >&5 2722 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2177break 2723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 break 2
2725 fi
2726done
2178done 2727done
2179 2728
2180fi 2729fi
2181fi 2730fi
2182RANLIB=$ac_cv_prog_RANLIB 2731RANLIB=$ac_cv_prog_RANLIB
2183if test -n "$RANLIB"; then 2732if test -n "$RANLIB"; then
2184 echo "$as_me:2184: result: $RANLIB" >&5 2733 echo "$as_me:$LINENO: result: $RANLIB" >&5
2185echo "${ECHO_T}$RANLIB" >&6 2734echo "${ECHO_T}$RANLIB" >&6
2186else 2735else
2187 echo "$as_me:2187: result: no" >&5 2736 echo "$as_me:$LINENO: result: no" >&5
2188echo "${ECHO_T}no" >&6 2737echo "${ECHO_T}no" >&6
2189fi 2738fi
2190 2739
@@ -2193,7 +2742,7 @@ if test -z "$ac_cv_prog_RANLIB"; then
2193 ac_ct_RANLIB=$RANLIB 2742 ac_ct_RANLIB=$RANLIB
2194 # Extract the first word of "ranlib", so it can be a program name with args. 2743 # Extract the first word of "ranlib", so it can be a program name with args.
2195set dummy ranlib; ac_word=$2 2744set dummy ranlib; ac_word=$2
2196echo "$as_me:2196: checking for $ac_word" >&5 2745echo "$as_me:$LINENO: checking for $ac_word" >&5
2197echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2746echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2198if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 2747if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2199 echo $ECHO_N "(cached) $ECHO_C" >&6 2748 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2201,15 +2750,18 @@ else
2201 if test -n "$ac_ct_RANLIB"; then 2750 if test -n "$ac_ct_RANLIB"; then
2202 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 2751 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2203else 2752else
2204 ac_save_IFS=$IFS; IFS=$ac_path_separator 2753as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2205ac_dummy="$PATH" 2754for as_dir in $PATH
2206for ac_dir in $ac_dummy; do 2755do
2207 IFS=$ac_save_IFS 2756 IFS=$as_save_IFS
2208 test -z "$ac_dir" && ac_dir=. 2757 test -z "$as_dir" && as_dir=.
2209 $as_executable_p "$ac_dir/$ac_word" || continue 2758 for ac_exec_ext in '' $ac_executable_extensions; do
2210ac_cv_prog_ac_ct_RANLIB="ranlib" 2759 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2211echo "$as_me:2211: found $ac_dir/$ac_word" >&5 2760 ac_cv_prog_ac_ct_RANLIB="ranlib"
2212break 2761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2762 break 2
2763 fi
2764done
2213done 2765done
2214 2766
2215 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 2767 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
@@ -2217,10 +2769,10 @@ fi
2217fi 2769fi
2218ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2770ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2219if test -n "$ac_ct_RANLIB"; then 2771if test -n "$ac_ct_RANLIB"; then
2220 echo "$as_me:2220: result: $ac_ct_RANLIB" >&5 2772 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2221echo "${ECHO_T}$ac_ct_RANLIB" >&6 2773echo "${ECHO_T}$ac_ct_RANLIB" >&6
2222else 2774else
2223 echo "$as_me:2223: result: no" >&5 2775 echo "$as_me:$LINENO: result: no" >&5
2224echo "${ECHO_T}no" >&6 2776echo "${ECHO_T}no" >&6
2225fi 2777fi
2226 2778
@@ -2241,43 +2793,48 @@ fi
2241# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2793# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2242# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2794# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2243# ./install, which can be erroneously created by make from ./install.sh. 2795# ./install, which can be erroneously created by make from ./install.sh.
2244echo "$as_me:2244: checking for a BSD compatible install" >&5 2796echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2245echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 2797echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2246if test -z "$INSTALL"; then 2798if test -z "$INSTALL"; then
2247if test "${ac_cv_path_install+set}" = set; then 2799if test "${ac_cv_path_install+set}" = set; then
2248 echo $ECHO_N "(cached) $ECHO_C" >&6 2800 echo $ECHO_N "(cached) $ECHO_C" >&6
2249else 2801else
2250 ac_save_IFS=$IFS; IFS=$ac_path_separator 2802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251 for ac_dir in $PATH; do 2803for as_dir in $PATH
2252 IFS=$ac_save_IFS 2804do
2253 # Account for people who put trailing slashes in PATH elements. 2805 IFS=$as_save_IFS
2254 case $ac_dir/ in 2806 test -z "$as_dir" && as_dir=.
2255 / | ./ | .// | /cC/* \ 2807 # Account for people who put trailing slashes in PATH elements.
2256 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ 2808case $as_dir/ in
2257 | /usr/ucb/* ) ;; 2809 ./ | .// | /cC/* | \
2258 *) 2810 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2259 # OSF1 and SCO ODT 3.0 have their own names for install. 2811 /usr/ucb/* ) ;;
2260 # Don't use installbsd from OSF since it installs stuff as root 2812 *)
2261 # by default. 2813 # OSF1 and SCO ODT 3.0 have their own names for install.
2262 for ac_prog in ginstall scoinst install; do 2814 # Don't use installbsd from OSF since it installs stuff as root
2263 if $as_executable_p "$ac_dir/$ac_prog"; then 2815 # by default.
2264 if test $ac_prog = install && 2816 for ac_prog in ginstall scoinst install; do
2265 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then 2817 for ac_exec_ext in '' $ac_executable_extensions; do
2266 # AIX install. It has an incompatible calling convention. 2818 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2267 : 2819 if test $ac_prog = install &&
2268 elif test $ac_prog = install && 2820 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2269 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then 2821 # AIX install. It has an incompatible calling convention.
2270 # program-specific install script used by HP pwplus--don't use. 2822 :
2271 : 2823 elif test $ac_prog = install &&
2272 else 2824 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2273 ac_cv_path_install="$ac_dir/$ac_prog -c" 2825 # program-specific install script used by HP pwplus--don't use.
2274 break 2 2826 :
2275 fi 2827 else
2276 fi 2828 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2829 break 3
2830 fi
2831 fi
2277 done 2832 done
2278 ;; 2833 done
2279 esac 2834 ;;
2280 done 2835esac
2836done
2837
2281 2838
2282fi 2839fi
2283 if test "${ac_cv_path_install+set}" = set; then 2840 if test "${ac_cv_path_install+set}" = set; then
@@ -2290,7 +2847,7 @@ fi
2290 INSTALL=$ac_install_sh 2847 INSTALL=$ac_install_sh
2291 fi 2848 fi
2292fi 2849fi
2293echo "$as_me:2293: result: $INSTALL" >&5 2850echo "$as_me:$LINENO: result: $INSTALL" >&5
2294echo "${ECHO_T}$INSTALL" >&6 2851echo "${ECHO_T}$INSTALL" >&6
2295 2852
2296# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2853# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
@@ -2303,7 +2860,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2303 2860
2304# Extract the first word of "ar", so it can be a program name with args. 2861# Extract the first word of "ar", so it can be a program name with args.
2305set dummy ar; ac_word=$2 2862set dummy ar; ac_word=$2
2306echo "$as_me:2306: checking for $ac_word" >&5 2863echo "$as_me:$LINENO: checking for $ac_word" >&5
2307echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2864echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2308if test "${ac_cv_path_AR+set}" = set; then 2865if test "${ac_cv_path_AR+set}" = set; then
2309 echo $ECHO_N "(cached) $ECHO_C" >&6 2866 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2313,16 +2870,18 @@ else
2313 ac_cv_path_AR="$AR" # Let the user override the test with a path. 2870 ac_cv_path_AR="$AR" # Let the user override the test with a path.
2314 ;; 2871 ;;
2315 *) 2872 *)
2316 ac_save_IFS=$IFS; IFS=$ac_path_separator 2873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2317ac_dummy="$PATH" 2874for as_dir in $PATH
2318for ac_dir in $ac_dummy; do 2875do
2319 IFS=$ac_save_IFS 2876 IFS=$as_save_IFS
2320 test -z "$ac_dir" && ac_dir=. 2877 test -z "$as_dir" && as_dir=.
2321 if $as_executable_p "$ac_dir/$ac_word"; then 2878 for ac_exec_ext in '' $ac_executable_extensions; do
2322 ac_cv_path_AR="$ac_dir/$ac_word" 2879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2323 echo "$as_me:2323: found $ac_dir/$ac_word" >&5 2880 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
2324 break 2881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2325fi 2882 break 2
2883 fi
2884done
2326done 2885done
2327 2886
2328 ;; 2887 ;;
@@ -2331,10 +2890,10 @@ fi
2331AR=$ac_cv_path_AR 2890AR=$ac_cv_path_AR
2332 2891
2333if test -n "$AR"; then 2892if test -n "$AR"; then
2334 echo "$as_me:2334: result: $AR" >&5 2893 echo "$as_me:$LINENO: result: $AR" >&5
2335echo "${ECHO_T}$AR" >&6 2894echo "${ECHO_T}$AR" >&6
2336else 2895else
2337 echo "$as_me:2337: result: no" >&5 2896 echo "$as_me:$LINENO: result: no" >&5
2338echo "${ECHO_T}no" >&6 2897echo "${ECHO_T}no" >&6
2339fi 2898fi
2340 2899
@@ -2342,7 +2901,7 @@ for ac_prog in perl5 perl
2342do 2901do
2343 # Extract the first word of "$ac_prog", so it can be a program name with args. 2902 # Extract the first word of "$ac_prog", so it can be a program name with args.
2344set dummy $ac_prog; ac_word=$2 2903set dummy $ac_prog; ac_word=$2
2345echo "$as_me:2345: checking for $ac_word" >&5 2904echo "$as_me:$LINENO: checking for $ac_word" >&5
2346echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2905echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2347if test "${ac_cv_path_PERL+set}" = set; then 2906if test "${ac_cv_path_PERL+set}" = set; then
2348 echo $ECHO_N "(cached) $ECHO_C" >&6 2907 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2352,16 +2911,18 @@ else
2352 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 2911 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2353 ;; 2912 ;;
2354 *) 2913 *)
2355 ac_save_IFS=$IFS; IFS=$ac_path_separator 2914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2356ac_dummy="$PATH" 2915for as_dir in $PATH
2357for ac_dir in $ac_dummy; do 2916do
2358 IFS=$ac_save_IFS 2917 IFS=$as_save_IFS
2359 test -z "$ac_dir" && ac_dir=. 2918 test -z "$as_dir" && as_dir=.
2360 if $as_executable_p "$ac_dir/$ac_word"; then 2919 for ac_exec_ext in '' $ac_executable_extensions; do
2361 ac_cv_path_PERL="$ac_dir/$ac_word" 2920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2362 echo "$as_me:2362: found $ac_dir/$ac_word" >&5 2921 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2363 break 2922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2364fi 2923 break 2
2924 fi
2925done
2365done 2926done
2366 2927
2367 ;; 2928 ;;
@@ -2370,10 +2931,10 @@ fi
2370PERL=$ac_cv_path_PERL 2931PERL=$ac_cv_path_PERL
2371 2932
2372if test -n "$PERL"; then 2933if test -n "$PERL"; then
2373 echo "$as_me:2373: result: $PERL" >&5 2934 echo "$as_me:$LINENO: result: $PERL" >&5
2374echo "${ECHO_T}$PERL" >&6 2935echo "${ECHO_T}$PERL" >&6
2375else 2936else
2376 echo "$as_me:2376: result: no" >&5 2937 echo "$as_me:$LINENO: result: no" >&5
2377echo "${ECHO_T}no" >&6 2938echo "${ECHO_T}no" >&6
2378fi 2939fi
2379 2940
@@ -2382,7 +2943,7 @@ done
2382 2943
2383# Extract the first word of "sed", so it can be a program name with args. 2944# Extract the first word of "sed", so it can be a program name with args.
2384set dummy sed; ac_word=$2 2945set dummy sed; ac_word=$2
2385echo "$as_me:2385: checking for $ac_word" >&5 2946echo "$as_me:$LINENO: checking for $ac_word" >&5
2386echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2947echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2387if test "${ac_cv_path_SED+set}" = set; then 2948if test "${ac_cv_path_SED+set}" = set; then
2388 echo $ECHO_N "(cached) $ECHO_C" >&6 2949 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2392,16 +2953,18 @@ else
2392 ac_cv_path_SED="$SED" # Let the user override the test with a path. 2953 ac_cv_path_SED="$SED" # Let the user override the test with a path.
2393 ;; 2954 ;;
2394 *) 2955 *)
2395 ac_save_IFS=$IFS; IFS=$ac_path_separator 2956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2396ac_dummy="$PATH" 2957for as_dir in $PATH
2397for ac_dir in $ac_dummy; do 2958do
2398 IFS=$ac_save_IFS 2959 IFS=$as_save_IFS
2399 test -z "$ac_dir" && ac_dir=. 2960 test -z "$as_dir" && as_dir=.
2400 if $as_executable_p "$ac_dir/$ac_word"; then 2961 for ac_exec_ext in '' $ac_executable_extensions; do
2401 ac_cv_path_SED="$ac_dir/$ac_word" 2962 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2402 echo "$as_me:2402: found $ac_dir/$ac_word" >&5 2963 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
2403 break 2964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2404fi 2965 break 2
2966 fi
2967done
2405done 2968done
2406 2969
2407 ;; 2970 ;;
@@ -2410,16 +2973,17 @@ fi
2410SED=$ac_cv_path_SED 2973SED=$ac_cv_path_SED
2411 2974
2412if test -n "$SED"; then 2975if test -n "$SED"; then
2413 echo "$as_me:2413: result: $SED" >&5 2976 echo "$as_me:$LINENO: result: $SED" >&5
2414echo "${ECHO_T}$SED" >&6 2977echo "${ECHO_T}$SED" >&6
2415else 2978else
2416 echo "$as_me:2416: result: no" >&5 2979 echo "$as_me:$LINENO: result: no" >&5
2417echo "${ECHO_T}no" >&6 2980echo "${ECHO_T}no" >&6
2418fi 2981fi
2419 2982
2983
2420# Extract the first word of "ent", so it can be a program name with args. 2984# Extract the first word of "ent", so it can be a program name with args.
2421set dummy ent; ac_word=$2 2985set dummy ent; ac_word=$2
2422echo "$as_me:2422: checking for $ac_word" >&5 2986echo "$as_me:$LINENO: checking for $ac_word" >&5
2423echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2987echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2424if test "${ac_cv_path_ENT+set}" = set; then 2988if test "${ac_cv_path_ENT+set}" = set; then
2425 echo $ECHO_N "(cached) $ECHO_C" >&6 2989 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2429,16 +2993,18 @@ else
2429 ac_cv_path_ENT="$ENT" # Let the user override the test with a path. 2993 ac_cv_path_ENT="$ENT" # Let the user override the test with a path.
2430 ;; 2994 ;;
2431 *) 2995 *)
2432 ac_save_IFS=$IFS; IFS=$ac_path_separator 2996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2433ac_dummy="$PATH" 2997for as_dir in $PATH
2434for ac_dir in $ac_dummy; do 2998do
2435 IFS=$ac_save_IFS 2999 IFS=$as_save_IFS
2436 test -z "$ac_dir" && ac_dir=. 3000 test -z "$as_dir" && as_dir=.
2437 if $as_executable_p "$ac_dir/$ac_word"; then 3001 for ac_exec_ext in '' $ac_executable_extensions; do
2438 ac_cv_path_ENT="$ac_dir/$ac_word" 3002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2439 echo "$as_me:2439: found $ac_dir/$ac_word" >&5 3003 ac_cv_path_ENT="$as_dir/$ac_word$ac_exec_ext"
2440 break 3004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2441fi 3005 break 2
3006 fi
3007done
2442done 3008done
2443 3009
2444 ;; 3010 ;;
@@ -2447,16 +3013,17 @@ fi
2447ENT=$ac_cv_path_ENT 3013ENT=$ac_cv_path_ENT
2448 3014
2449if test -n "$ENT"; then 3015if test -n "$ENT"; then
2450 echo "$as_me:2450: result: $ENT" >&5 3016 echo "$as_me:$LINENO: result: $ENT" >&5
2451echo "${ECHO_T}$ENT" >&6 3017echo "${ECHO_T}$ENT" >&6
2452else 3018else
2453 echo "$as_me:2453: result: no" >&5 3019 echo "$as_me:$LINENO: result: no" >&5
2454echo "${ECHO_T}no" >&6 3020echo "${ECHO_T}no" >&6
2455fi 3021fi
2456 3022
3023
2457# Extract the first word of "bash", so it can be a program name with args. 3024# Extract the first word of "bash", so it can be a program name with args.
2458set dummy bash; ac_word=$2 3025set dummy bash; ac_word=$2
2459echo "$as_me:2459: checking for $ac_word" >&5 3026echo "$as_me:$LINENO: checking for $ac_word" >&5
2460echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3027echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2461if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then 3028if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then
2462 echo $ECHO_N "(cached) $ECHO_C" >&6 3029 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2466,16 +3033,18 @@ else
2466 ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path. 3033 ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path.
2467 ;; 3034 ;;
2468 *) 3035 *)
2469 ac_save_IFS=$IFS; IFS=$ac_path_separator 3036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2470ac_dummy="$PATH" 3037for as_dir in $PATH
2471for ac_dir in $ac_dummy; do 3038do
2472 IFS=$ac_save_IFS 3039 IFS=$as_save_IFS
2473 test -z "$ac_dir" && ac_dir=. 3040 test -z "$as_dir" && as_dir=.
2474 if $as_executable_p "$ac_dir/$ac_word"; then 3041 for ac_exec_ext in '' $ac_executable_extensions; do
2475 ac_cv_path_TEST_MINUS_S_SH="$ac_dir/$ac_word" 3042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2476 echo "$as_me:2476: found $ac_dir/$ac_word" >&5 3043 ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext"
2477 break 3044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2478fi 3045 break 2
3046 fi
3047done
2479done 3048done
2480 3049
2481 ;; 3050 ;;
@@ -2484,16 +3053,16 @@ fi
2484TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH 3053TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
2485 3054
2486if test -n "$TEST_MINUS_S_SH"; then 3055if test -n "$TEST_MINUS_S_SH"; then
2487 echo "$as_me:2487: result: $TEST_MINUS_S_SH" >&5 3056 echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5
2488echo "${ECHO_T}$TEST_MINUS_S_SH" >&6 3057echo "${ECHO_T}$TEST_MINUS_S_SH" >&6
2489else 3058else
2490 echo "$as_me:2490: result: no" >&5 3059 echo "$as_me:$LINENO: result: no" >&5
2491echo "${ECHO_T}no" >&6 3060echo "${ECHO_T}no" >&6
2492fi 3061fi
2493 3062
2494# Extract the first word of "ksh", so it can be a program name with args. 3063# Extract the first word of "ksh", so it can be a program name with args.
2495set dummy ksh; ac_word=$2 3064set dummy ksh; ac_word=$2
2496echo "$as_me:2496: checking for $ac_word" >&5 3065echo "$as_me:$LINENO: checking for $ac_word" >&5
2497echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3066echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2498if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then 3067if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then
2499 echo $ECHO_N "(cached) $ECHO_C" >&6 3068 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2503,16 +3072,18 @@ else
2503 ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path. 3072 ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path.
2504 ;; 3073 ;;
2505 *) 3074 *)
2506 ac_save_IFS=$IFS; IFS=$ac_path_separator 3075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2507ac_dummy="$PATH" 3076for as_dir in $PATH
2508for ac_dir in $ac_dummy; do 3077do
2509 IFS=$ac_save_IFS 3078 IFS=$as_save_IFS
2510 test -z "$ac_dir" && ac_dir=. 3079 test -z "$as_dir" && as_dir=.
2511 if $as_executable_p "$ac_dir/$ac_word"; then 3080 for ac_exec_ext in '' $ac_executable_extensions; do
2512 ac_cv_path_TEST_MINUS_S_SH="$ac_dir/$ac_word" 3081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2513 echo "$as_me:2513: found $ac_dir/$ac_word" >&5 3082 ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext"
2514 break 3083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2515fi 3084 break 2
3085 fi
3086done
2516done 3087done
2517 3088
2518 ;; 3089 ;;
@@ -2521,16 +3092,16 @@ fi
2521TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH 3092TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
2522 3093
2523if test -n "$TEST_MINUS_S_SH"; then 3094if test -n "$TEST_MINUS_S_SH"; then
2524 echo "$as_me:2524: result: $TEST_MINUS_S_SH" >&5 3095 echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5
2525echo "${ECHO_T}$TEST_MINUS_S_SH" >&6 3096echo "${ECHO_T}$TEST_MINUS_S_SH" >&6
2526else 3097else
2527 echo "$as_me:2527: result: no" >&5 3098 echo "$as_me:$LINENO: result: no" >&5
2528echo "${ECHO_T}no" >&6 3099echo "${ECHO_T}no" >&6
2529fi 3100fi
2530 3101
2531# Extract the first word of "sh", so it can be a program name with args. 3102# Extract the first word of "sh", so it can be a program name with args.
2532set dummy sh; ac_word=$2 3103set dummy sh; ac_word=$2
2533echo "$as_me:2533: checking for $ac_word" >&5 3104echo "$as_me:$LINENO: checking for $ac_word" >&5
2534echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3105echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2535if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then 3106if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then
2536 echo $ECHO_N "(cached) $ECHO_C" >&6 3107 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2540,16 +3111,18 @@ else
2540 ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path. 3111 ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path.
2541 ;; 3112 ;;
2542 *) 3113 *)
2543 ac_save_IFS=$IFS; IFS=$ac_path_separator 3114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2544ac_dummy="$PATH" 3115for as_dir in $PATH
2545for ac_dir in $ac_dummy; do 3116do
2546 IFS=$ac_save_IFS 3117 IFS=$as_save_IFS
2547 test -z "$ac_dir" && ac_dir=. 3118 test -z "$as_dir" && as_dir=.
2548 if $as_executable_p "$ac_dir/$ac_word"; then 3119 for ac_exec_ext in '' $ac_executable_extensions; do
2549 ac_cv_path_TEST_MINUS_S_SH="$ac_dir/$ac_word" 3120 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2550 echo "$as_me:2550: found $ac_dir/$ac_word" >&5 3121 ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext"
2551 break 3122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2552fi 3123 break 2
3124 fi
3125done
2553done 3126done
2554 3127
2555 ;; 3128 ;;
@@ -2558,16 +3131,16 @@ fi
2558TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH 3131TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
2559 3132
2560if test -n "$TEST_MINUS_S_SH"; then 3133if test -n "$TEST_MINUS_S_SH"; then
2561 echo "$as_me:2561: result: $TEST_MINUS_S_SH" >&5 3134 echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5
2562echo "${ECHO_T}$TEST_MINUS_S_SH" >&6 3135echo "${ECHO_T}$TEST_MINUS_S_SH" >&6
2563else 3136else
2564 echo "$as_me:2564: result: no" >&5 3137 echo "$as_me:$LINENO: result: no" >&5
2565echo "${ECHO_T}no" >&6 3138echo "${ECHO_T}no" >&6
2566fi 3139fi
2567 3140
2568# Extract the first word of "sh", so it can be a program name with args. 3141# Extract the first word of "sh", so it can be a program name with args.
2569set dummy sh; ac_word=$2 3142set dummy sh; ac_word=$2
2570echo "$as_me:2570: checking for $ac_word" >&5 3143echo "$as_me:$LINENO: checking for $ac_word" >&5
2571echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3144echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2572if test "${ac_cv_path_SH+set}" = set; then 3145if test "${ac_cv_path_SH+set}" = set; then
2573 echo $ECHO_N "(cached) $ECHO_C" >&6 3146 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2577,16 +3150,18 @@ else
2577 ac_cv_path_SH="$SH" # Let the user override the test with a path. 3150 ac_cv_path_SH="$SH" # Let the user override the test with a path.
2578 ;; 3151 ;;
2579 *) 3152 *)
2580 ac_save_IFS=$IFS; IFS=$ac_path_separator 3153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2581ac_dummy="$PATH" 3154for as_dir in $PATH
2582for ac_dir in $ac_dummy; do 3155do
2583 IFS=$ac_save_IFS 3156 IFS=$as_save_IFS
2584 test -z "$ac_dir" && ac_dir=. 3157 test -z "$as_dir" && as_dir=.
2585 if $as_executable_p "$ac_dir/$ac_word"; then 3158 for ac_exec_ext in '' $ac_executable_extensions; do
2586 ac_cv_path_SH="$ac_dir/$ac_word" 3159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2587 echo "$as_me:2587: found $ac_dir/$ac_word" >&5 3160 ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
2588 break 3161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2589fi 3162 break 2
3163 fi
3164done
2590done 3165done
2591 3166
2592 ;; 3167 ;;
@@ -2595,13 +3170,14 @@ fi
2595SH=$ac_cv_path_SH 3170SH=$ac_cv_path_SH
2596 3171
2597if test -n "$SH"; then 3172if test -n "$SH"; then
2598 echo "$as_me:2598: result: $SH" >&5 3173 echo "$as_me:$LINENO: result: $SH" >&5
2599echo "${ECHO_T}$SH" >&6 3174echo "${ECHO_T}$SH" >&6
2600else 3175else
2601 echo "$as_me:2601: result: no" >&5 3176 echo "$as_me:$LINENO: result: no" >&5
2602echo "${ECHO_T}no" >&6 3177echo "${ECHO_T}no" >&6
2603fi 3178fi
2604 3179
3180
2605# System features 3181# System features
2606# Check whether --enable-largefile or --disable-largefile was given. 3182# Check whether --enable-largefile or --disable-largefile was given.
2607if test "${enable_largefile+set}" = set; then 3183if test "${enable_largefile+set}" = set; then
@@ -2610,7 +3186,7 @@ if test "${enable_largefile+set}" = set; then
2610fi; 3186fi;
2611if test "$enable_largefile" != no; then 3187if test "$enable_largefile" != no; then
2612 3188
2613 echo "$as_me:2613: checking for special C compiler options needed for large files" >&5 3189 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
2614echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 3190echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
2615if test "${ac_cv_sys_largefile_CC+set}" = set; then 3191if test "${ac_cv_sys_largefile_CC+set}" = set; then
2616 echo $ECHO_N "(cached) $ECHO_C" >&6 3192 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2622,8 +3198,12 @@ else
2622 # IRIX 6.2 and later do not support large files by default, 3198 # IRIX 6.2 and later do not support large files by default,
2623 # so use the C compiler's -n32 option if that helps. 3199 # so use the C compiler's -n32 option if that helps.
2624 cat >conftest.$ac_ext <<_ACEOF 3200 cat >conftest.$ac_ext <<_ACEOF
2625#line 2625 "configure" 3201#line $LINENO "configure"
2626#include "confdefs.h" 3202/* confdefs.h. */
3203_ACEOF
3204cat confdefs.h >>conftest.$ac_ext
3205cat >>conftest.$ac_ext <<_ACEOF
3206/* end confdefs.h. */
2627#include <sys/types.h> 3207#include <sys/types.h>
2628 /* Check that off_t can represent 2**63 - 1 correctly. 3208 /* Check that off_t can represent 2**63 - 1 correctly.
2629 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3209 We can't simply define LARGE_OFF_T to be 9223372036854775807,
@@ -2642,40 +3222,42 @@ main ()
2642} 3222}
2643_ACEOF 3223_ACEOF
2644 rm -f conftest.$ac_objext 3224 rm -f conftest.$ac_objext
2645if { (eval echo "$as_me:2645: \"$ac_compile\"") >&5 3225if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2646 (eval $ac_compile) 2>&5 3226 (eval $ac_compile) 2>&5
2647 ac_status=$? 3227 ac_status=$?
2648 echo "$as_me:2648: \$? = $ac_status" >&5 3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); } && 3229 (exit $ac_status); } &&
2650 { ac_try='test -s conftest.$ac_objext' 3230 { ac_try='test -s conftest.$ac_objext'
2651 { (eval echo "$as_me:2651: \"$ac_try\"") >&5 3231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2652 (eval $ac_try) 2>&5 3232 (eval $ac_try) 2>&5
2653 ac_status=$? 3233 ac_status=$?
2654 echo "$as_me:2654: \$? = $ac_status" >&5 3234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); }; }; then 3235 (exit $ac_status); }; }; then
2656 break 3236 break
2657else 3237else
2658 echo "$as_me: failed program was:" >&5 3238 echo "$as_me: failed program was:" >&5
2659cat conftest.$ac_ext >&5 3239sed 's/^/| /' conftest.$ac_ext >&5
3240
2660fi 3241fi
2661rm -f conftest.$ac_objext 3242rm -f conftest.$ac_objext
2662 CC="$CC -n32" 3243 CC="$CC -n32"
2663 rm -f conftest.$ac_objext 3244 rm -f conftest.$ac_objext
2664if { (eval echo "$as_me:2664: \"$ac_compile\"") >&5 3245if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2665 (eval $ac_compile) 2>&5 3246 (eval $ac_compile) 2>&5
2666 ac_status=$? 3247 ac_status=$?
2667 echo "$as_me:2667: \$? = $ac_status" >&5 3248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); } && 3249 (exit $ac_status); } &&
2669 { ac_try='test -s conftest.$ac_objext' 3250 { ac_try='test -s conftest.$ac_objext'
2670 { (eval echo "$as_me:2670: \"$ac_try\"") >&5 3251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2671 (eval $ac_try) 2>&5 3252 (eval $ac_try) 2>&5
2672 ac_status=$? 3253 ac_status=$?
2673 echo "$as_me:2673: \$? = $ac_status" >&5 3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2674 (exit $ac_status); }; }; then 3255 (exit $ac_status); }; }; then
2675 ac_cv_sys_largefile_CC=' -n32'; break 3256 ac_cv_sys_largefile_CC=' -n32'; break
2676else 3257else
2677 echo "$as_me: failed program was:" >&5 3258 echo "$as_me: failed program was:" >&5
2678cat conftest.$ac_ext >&5 3259sed 's/^/| /' conftest.$ac_ext >&5
3260
2679fi 3261fi
2680rm -f conftest.$ac_objext 3262rm -f conftest.$ac_objext
2681 break 3263 break
@@ -2684,13 +3266,13 @@ rm -f conftest.$ac_objext
2684 rm -f conftest.$ac_ext 3266 rm -f conftest.$ac_ext
2685 fi 3267 fi
2686fi 3268fi
2687echo "$as_me:2687: result: $ac_cv_sys_largefile_CC" >&5 3269echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
2688echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 3270echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
2689 if test "$ac_cv_sys_largefile_CC" != no; then 3271 if test "$ac_cv_sys_largefile_CC" != no; then
2690 CC=$CC$ac_cv_sys_largefile_CC 3272 CC=$CC$ac_cv_sys_largefile_CC
2691 fi 3273 fi
2692 3274
2693 echo "$as_me:2693: checking for _FILE_OFFSET_BITS value needed for large files" >&5 3275 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
2694echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 3276echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
2695if test "${ac_cv_sys_file_offset_bits+set}" = set; then 3277if test "${ac_cv_sys_file_offset_bits+set}" = set; then
2696 echo $ECHO_N "(cached) $ECHO_C" >&6 3278 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2698,8 +3280,12 @@ else
2698 while :; do 3280 while :; do
2699 ac_cv_sys_file_offset_bits=no 3281 ac_cv_sys_file_offset_bits=no
2700 cat >conftest.$ac_ext <<_ACEOF 3282 cat >conftest.$ac_ext <<_ACEOF
2701#line 2701 "configure" 3283#line $LINENO "configure"
2702#include "confdefs.h" 3284/* confdefs.h. */
3285_ACEOF
3286cat confdefs.h >>conftest.$ac_ext
3287cat >>conftest.$ac_ext <<_ACEOF
3288/* end confdefs.h. */
2703#include <sys/types.h> 3289#include <sys/types.h>
2704 /* Check that off_t can represent 2**63 - 1 correctly. 3290 /* Check that off_t can represent 2**63 - 1 correctly.
2705 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3291 We can't simply define LARGE_OFF_T to be 9223372036854775807,
@@ -2718,26 +3304,31 @@ main ()
2718} 3304}
2719_ACEOF 3305_ACEOF
2720rm -f conftest.$ac_objext 3306rm -f conftest.$ac_objext
2721if { (eval echo "$as_me:2721: \"$ac_compile\"") >&5 3307if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2722 (eval $ac_compile) 2>&5 3308 (eval $ac_compile) 2>&5
2723 ac_status=$? 3309 ac_status=$?
2724 echo "$as_me:2724: \$? = $ac_status" >&5 3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); } && 3311 (exit $ac_status); } &&
2726 { ac_try='test -s conftest.$ac_objext' 3312 { ac_try='test -s conftest.$ac_objext'
2727 { (eval echo "$as_me:2727: \"$ac_try\"") >&5 3313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2728 (eval $ac_try) 2>&5 3314 (eval $ac_try) 2>&5
2729 ac_status=$? 3315 ac_status=$?
2730 echo "$as_me:2730: \$? = $ac_status" >&5 3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2731 (exit $ac_status); }; }; then 3317 (exit $ac_status); }; }; then
2732 break 3318 break
2733else 3319else
2734 echo "$as_me: failed program was:" >&5 3320 echo "$as_me: failed program was:" >&5
2735cat conftest.$ac_ext >&5 3321sed 's/^/| /' conftest.$ac_ext >&5
3322
2736fi 3323fi
2737rm -f conftest.$ac_objext conftest.$ac_ext 3324rm -f conftest.$ac_objext conftest.$ac_ext
2738 cat >conftest.$ac_ext <<_ACEOF 3325 cat >conftest.$ac_ext <<_ACEOF
2739#line 2739 "configure" 3326#line $LINENO "configure"
2740#include "confdefs.h" 3327/* confdefs.h. */
3328_ACEOF
3329cat confdefs.h >>conftest.$ac_ext
3330cat >>conftest.$ac_ext <<_ACEOF
3331/* end confdefs.h. */
2741#define _FILE_OFFSET_BITS 64 3332#define _FILE_OFFSET_BITS 64
2742#include <sys/types.h> 3333#include <sys/types.h>
2743 /* Check that off_t can represent 2**63 - 1 correctly. 3334 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -2757,37 +3348,38 @@ main ()
2757} 3348}
2758_ACEOF 3349_ACEOF
2759rm -f conftest.$ac_objext 3350rm -f conftest.$ac_objext
2760if { (eval echo "$as_me:2760: \"$ac_compile\"") >&5 3351if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2761 (eval $ac_compile) 2>&5 3352 (eval $ac_compile) 2>&5
2762 ac_status=$? 3353 ac_status=$?
2763 echo "$as_me:2763: \$? = $ac_status" >&5 3354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); } && 3355 (exit $ac_status); } &&
2765 { ac_try='test -s conftest.$ac_objext' 3356 { ac_try='test -s conftest.$ac_objext'
2766 { (eval echo "$as_me:2766: \"$ac_try\"") >&5 3357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2767 (eval $ac_try) 2>&5 3358 (eval $ac_try) 2>&5
2768 ac_status=$? 3359 ac_status=$?
2769 echo "$as_me:2769: \$? = $ac_status" >&5 3360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770 (exit $ac_status); }; }; then 3361 (exit $ac_status); }; }; then
2771 ac_cv_sys_file_offset_bits=64; break 3362 ac_cv_sys_file_offset_bits=64; break
2772else 3363else
2773 echo "$as_me: failed program was:" >&5 3364 echo "$as_me: failed program was:" >&5
2774cat conftest.$ac_ext >&5 3365sed 's/^/| /' conftest.$ac_ext >&5
3366
2775fi 3367fi
2776rm -f conftest.$ac_objext conftest.$ac_ext 3368rm -f conftest.$ac_objext conftest.$ac_ext
2777 break 3369 break
2778done 3370done
2779fi 3371fi
2780echo "$as_me:2780: result: $ac_cv_sys_file_offset_bits" >&5 3372echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
2781echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 3373echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
2782if test "$ac_cv_sys_file_offset_bits" != no; then 3374if test "$ac_cv_sys_file_offset_bits" != no; then
2783 3375
2784cat >>confdefs.h <<EOF 3376cat >>confdefs.h <<_ACEOF
2785#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 3377#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
2786EOF 3378_ACEOF
2787 3379
2788fi 3380fi
2789rm -f conftest* 3381rm -f conftest*
2790 echo "$as_me:2790: checking for _LARGE_FILES value needed for large files" >&5 3382 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
2791echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 3383echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
2792if test "${ac_cv_sys_large_files+set}" = set; then 3384if test "${ac_cv_sys_large_files+set}" = set; then
2793 echo $ECHO_N "(cached) $ECHO_C" >&6 3385 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2795,8 +3387,12 @@ else
2795 while :; do 3387 while :; do
2796 ac_cv_sys_large_files=no 3388 ac_cv_sys_large_files=no
2797 cat >conftest.$ac_ext <<_ACEOF 3389 cat >conftest.$ac_ext <<_ACEOF
2798#line 2798 "configure" 3390#line $LINENO "configure"
2799#include "confdefs.h" 3391/* confdefs.h. */
3392_ACEOF
3393cat confdefs.h >>conftest.$ac_ext
3394cat >>conftest.$ac_ext <<_ACEOF
3395/* end confdefs.h. */
2800#include <sys/types.h> 3396#include <sys/types.h>
2801 /* Check that off_t can represent 2**63 - 1 correctly. 3397 /* Check that off_t can represent 2**63 - 1 correctly.
2802 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3398 We can't simply define LARGE_OFF_T to be 9223372036854775807,
@@ -2815,26 +3411,31 @@ main ()
2815} 3411}
2816_ACEOF 3412_ACEOF
2817rm -f conftest.$ac_objext 3413rm -f conftest.$ac_objext
2818if { (eval echo "$as_me:2818: \"$ac_compile\"") >&5 3414if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2819 (eval $ac_compile) 2>&5 3415 (eval $ac_compile) 2>&5
2820 ac_status=$? 3416 ac_status=$?
2821 echo "$as_me:2821: \$? = $ac_status" >&5 3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2822 (exit $ac_status); } && 3418 (exit $ac_status); } &&
2823 { ac_try='test -s conftest.$ac_objext' 3419 { ac_try='test -s conftest.$ac_objext'
2824 { (eval echo "$as_me:2824: \"$ac_try\"") >&5 3420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2825 (eval $ac_try) 2>&5 3421 (eval $ac_try) 2>&5
2826 ac_status=$? 3422 ac_status=$?
2827 echo "$as_me:2827: \$? = $ac_status" >&5 3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2828 (exit $ac_status); }; }; then 3424 (exit $ac_status); }; }; then
2829 break 3425 break
2830else 3426else
2831 echo "$as_me: failed program was:" >&5 3427 echo "$as_me: failed program was:" >&5
2832cat conftest.$ac_ext >&5 3428sed 's/^/| /' conftest.$ac_ext >&5
3429
2833fi 3430fi
2834rm -f conftest.$ac_objext conftest.$ac_ext 3431rm -f conftest.$ac_objext conftest.$ac_ext
2835 cat >conftest.$ac_ext <<_ACEOF 3432 cat >conftest.$ac_ext <<_ACEOF
2836#line 2836 "configure" 3433#line $LINENO "configure"
2837#include "confdefs.h" 3434/* confdefs.h. */
3435_ACEOF
3436cat confdefs.h >>conftest.$ac_ext
3437cat >>conftest.$ac_ext <<_ACEOF
3438/* end confdefs.h. */
2838#define _LARGE_FILES 1 3439#define _LARGE_FILES 1
2839#include <sys/types.h> 3440#include <sys/types.h>
2840 /* Check that off_t can represent 2**63 - 1 correctly. 3441 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -2854,55 +3455,57 @@ main ()
2854} 3455}
2855_ACEOF 3456_ACEOF
2856rm -f conftest.$ac_objext 3457rm -f conftest.$ac_objext
2857if { (eval echo "$as_me:2857: \"$ac_compile\"") >&5 3458if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2858 (eval $ac_compile) 2>&5 3459 (eval $ac_compile) 2>&5
2859 ac_status=$? 3460 ac_status=$?
2860 echo "$as_me:2860: \$? = $ac_status" >&5 3461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861 (exit $ac_status); } && 3462 (exit $ac_status); } &&
2862 { ac_try='test -s conftest.$ac_objext' 3463 { ac_try='test -s conftest.$ac_objext'
2863 { (eval echo "$as_me:2863: \"$ac_try\"") >&5 3464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2864 (eval $ac_try) 2>&5 3465 (eval $ac_try) 2>&5
2865 ac_status=$? 3466 ac_status=$?
2866 echo "$as_me:2866: \$? = $ac_status" >&5 3467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); }; }; then 3468 (exit $ac_status); }; }; then
2868 ac_cv_sys_large_files=1; break 3469 ac_cv_sys_large_files=1; break
2869else 3470else
2870 echo "$as_me: failed program was:" >&5 3471 echo "$as_me: failed program was:" >&5
2871cat conftest.$ac_ext >&5 3472sed 's/^/| /' conftest.$ac_ext >&5
3473
2872fi 3474fi
2873rm -f conftest.$ac_objext conftest.$ac_ext 3475rm -f conftest.$ac_objext conftest.$ac_ext
2874 break 3476 break
2875done 3477done
2876fi 3478fi
2877echo "$as_me:2877: result: $ac_cv_sys_large_files" >&5 3479echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
2878echo "${ECHO_T}$ac_cv_sys_large_files" >&6 3480echo "${ECHO_T}$ac_cv_sys_large_files" >&6
2879if test "$ac_cv_sys_large_files" != no; then 3481if test "$ac_cv_sys_large_files" != no; then
2880 3482
2881cat >>confdefs.h <<EOF 3483cat >>confdefs.h <<_ACEOF
2882#define _LARGE_FILES $ac_cv_sys_large_files 3484#define _LARGE_FILES $ac_cv_sys_large_files
2883EOF 3485_ACEOF
2884 3486
2885fi 3487fi
2886rm -f conftest* 3488rm -f conftest*
2887fi 3489fi
2888 3490
3491
2889if test -z "$AR" ; then 3492if test -z "$AR" ; then
2890 { { echo "$as_me:2890: error: *** 'ar' missing, please install or fix your \$PATH ***" >&5 3493 { { echo "$as_me:$LINENO: error: *** 'ar' missing, please install or fix your \$PATH ***" >&5
2891echo "$as_me: error: *** 'ar' missing, please install or fix your \$PATH ***" >&2;} 3494echo "$as_me: error: *** 'ar' missing, please install or fix your \$PATH ***" >&2;}
2892 { (exit 1); exit 1; }; } 3495 { (exit 1); exit 1; }; }
2893fi 3496fi
2894 3497
2895# Use LOGIN_PROGRAM from environment if possible 3498# Use LOGIN_PROGRAM from environment if possible
2896if test ! -z "$LOGIN_PROGRAM" ; then 3499if test ! -z "$LOGIN_PROGRAM" ; then
2897 cat >>confdefs.h <<EOF 3500 cat >>confdefs.h <<_ACEOF
2898#define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM" 3501#define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM"
2899EOF 3502_ACEOF
2900 3503
2901else 3504else
2902 # Search for login 3505 # Search for login
2903 # Extract the first word of "login", so it can be a program name with args. 3506 # Extract the first word of "login", so it can be a program name with args.
2904set dummy login; ac_word=$2 3507set dummy login; ac_word=$2
2905echo "$as_me:2905: checking for $ac_word" >&5 3508echo "$as_me:$LINENO: checking for $ac_word" >&5
2906echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3509echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2907if test "${ac_cv_path_LOGIN_PROGRAM_FALLBACK+set}" = set; then 3510if test "${ac_cv_path_LOGIN_PROGRAM_FALLBACK+set}" = set; then
2908 echo $ECHO_N "(cached) $ECHO_C" >&6 3511 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2912,16 +3515,18 @@ else
2912 ac_cv_path_LOGIN_PROGRAM_FALLBACK="$LOGIN_PROGRAM_FALLBACK" # Let the user override the test with a path. 3515 ac_cv_path_LOGIN_PROGRAM_FALLBACK="$LOGIN_PROGRAM_FALLBACK" # Let the user override the test with a path.
2913 ;; 3516 ;;
2914 *) 3517 *)
2915 ac_save_IFS=$IFS; IFS=$ac_path_separator 3518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2916ac_dummy="$PATH" 3519for as_dir in $PATH
2917for ac_dir in $ac_dummy; do 3520do
2918 IFS=$ac_save_IFS 3521 IFS=$as_save_IFS
2919 test -z "$ac_dir" && ac_dir=. 3522 test -z "$as_dir" && as_dir=.
2920 if $as_executable_p "$ac_dir/$ac_word"; then 3523 for ac_exec_ext in '' $ac_executable_extensions; do
2921 ac_cv_path_LOGIN_PROGRAM_FALLBACK="$ac_dir/$ac_word" 3524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2922 echo "$as_me:2922: found $ac_dir/$ac_word" >&5 3525 ac_cv_path_LOGIN_PROGRAM_FALLBACK="$as_dir/$ac_word$ac_exec_ext"
2923 break 3526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2924fi 3527 break 2
3528 fi
3529done
2925done 3530done
2926 3531
2927 ;; 3532 ;;
@@ -2930,17 +3535,17 @@ fi
2930LOGIN_PROGRAM_FALLBACK=$ac_cv_path_LOGIN_PROGRAM_FALLBACK 3535LOGIN_PROGRAM_FALLBACK=$ac_cv_path_LOGIN_PROGRAM_FALLBACK
2931 3536
2932if test -n "$LOGIN_PROGRAM_FALLBACK"; then 3537if test -n "$LOGIN_PROGRAM_FALLBACK"; then
2933 echo "$as_me:2933: result: $LOGIN_PROGRAM_FALLBACK" >&5 3538 echo "$as_me:$LINENO: result: $LOGIN_PROGRAM_FALLBACK" >&5
2934echo "${ECHO_T}$LOGIN_PROGRAM_FALLBACK" >&6 3539echo "${ECHO_T}$LOGIN_PROGRAM_FALLBACK" >&6
2935else 3540else
2936 echo "$as_me:2936: result: no" >&5 3541 echo "$as_me:$LINENO: result: no" >&5
2937echo "${ECHO_T}no" >&6 3542echo "${ECHO_T}no" >&6
2938fi 3543fi
2939 3544
2940 if test ! -z "$LOGIN_PROGRAM_FALLBACK" ; then 3545 if test ! -z "$LOGIN_PROGRAM_FALLBACK" ; then
2941 cat >>confdefs.h <<EOF 3546 cat >>confdefs.h <<_ACEOF
2942#define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM_FALLBACK" 3547#define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM_FALLBACK"
2943EOF 3548_ACEOF
2944 3549
2945 fi 3550 fi
2946fi 3551fi
@@ -2949,98 +3554,8 @@ if test -z "$LD" ; then
2949 LD=$CC 3554 LD=$CC
2950fi 3555fi
2951 3556
2952echo "$as_me:2952: checking for $CC option to accept ANSI C" >&5
2953echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2954if test "${ac_cv_prog_cc_stdc+set}" = set; then
2955 echo $ECHO_N "(cached) $ECHO_C" >&6
2956else
2957 ac_cv_prog_cc_stdc=no
2958ac_save_CC=$CC
2959cat >conftest.$ac_ext <<_ACEOF
2960#line 2960 "configure"
2961#include "confdefs.h"
2962#include <stdarg.h>
2963#include <stdio.h>
2964#include <sys/types.h>
2965#include <sys/stat.h>
2966/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2967struct buf { int x; };
2968FILE * (*rcsopen) (struct buf *, struct stat *, int);
2969static char *e (p, i)
2970 char **p;
2971 int i;
2972{
2973 return p[i];
2974}
2975static char *f (char * (*g) (char **, int), char **p, ...)
2976{
2977 char *s;
2978 va_list v;
2979 va_start (v,p);
2980 s = g (p, va_arg (v,int));
2981 va_end (v);
2982 return s;
2983}
2984int test (int i, double x);
2985struct s1 {int (*f) (int a);};
2986struct s2 {int (*f) (double a);};
2987int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2988int argc;
2989char **argv;
2990int
2991main ()
2992{
2993return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2994 ;
2995 return 0;
2996}
2997_ACEOF
2998# Don't try gcc -ansi; that turns off useful extensions and
2999# breaks some systems' header files.
3000# AIX -qlanglvl=ansi
3001# Ultrix and OSF/1 -std1
3002# HP-UX 10.20 and later -Ae
3003# HP-UX older versions -Aa -D_HPUX_SOURCE
3004# SVR4 -Xc -D__EXTENSIONS__
3005for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3006do
3007 CC="$ac_save_CC $ac_arg"
3008 rm -f conftest.$ac_objext
3009if { (eval echo "$as_me:3009: \"$ac_compile\"") >&5
3010 (eval $ac_compile) 2>&5
3011 ac_status=$?
3012 echo "$as_me:3012: \$? = $ac_status" >&5
3013 (exit $ac_status); } &&
3014 { ac_try='test -s conftest.$ac_objext'
3015 { (eval echo "$as_me:3015: \"$ac_try\"") >&5
3016 (eval $ac_try) 2>&5
3017 ac_status=$?
3018 echo "$as_me:3018: \$? = $ac_status" >&5
3019 (exit $ac_status); }; }; then
3020 ac_cv_prog_cc_stdc=$ac_arg
3021break
3022else
3023 echo "$as_me: failed program was:" >&5
3024cat conftest.$ac_ext >&5
3025fi
3026rm -f conftest.$ac_objext
3027done
3028rm -f conftest.$ac_ext conftest.$ac_objext
3029CC=$ac_save_CC
3030
3031fi
3032
3033case "x$ac_cv_prog_cc_stdc" in
3034 x|xno)
3035 echo "$as_me:3035: result: none needed" >&5
3036echo "${ECHO_T}none needed" >&6 ;;
3037 *)
3038 echo "$as_me:3038: result: $ac_cv_prog_cc_stdc" >&5
3039echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3040 CC="$CC $ac_cv_prog_cc_stdc" ;;
3041esac
3042 3557
3043echo "$as_me:3043: checking for inline" >&5 3558echo "$as_me:$LINENO: checking for inline" >&5
3044echo $ECHO_N "checking for inline... $ECHO_C" >&6 3559echo $ECHO_N "checking for inline... $ECHO_C" >&6
3045if test "${ac_cv_c_inline+set}" = set; then 3560if test "${ac_cv_c_inline+set}" = set; then
3046 echo $ECHO_N "(cached) $ECHO_C" >&6 3561 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3048,47 +3563,53 @@ else
3048 ac_cv_c_inline=no 3563 ac_cv_c_inline=no
3049for ac_kw in inline __inline__ __inline; do 3564for ac_kw in inline __inline__ __inline; do
3050 cat >conftest.$ac_ext <<_ACEOF 3565 cat >conftest.$ac_ext <<_ACEOF
3051#line 3051 "configure" 3566#line $LINENO "configure"
3052#include "confdefs.h" 3567/* confdefs.h. */
3568_ACEOF
3569cat confdefs.h >>conftest.$ac_ext
3570cat >>conftest.$ac_ext <<_ACEOF
3571/* end confdefs.h. */
3053#ifndef __cplusplus 3572#ifndef __cplusplus
3054static $ac_kw int static_foo () {return 0; } 3573typedef int foo_t;
3055$ac_kw int foo () {return 0; } 3574static $ac_kw foo_t static_foo () {return 0; }
3575$ac_kw foo_t foo () {return 0; }
3056#endif 3576#endif
3057 3577
3058_ACEOF 3578_ACEOF
3059rm -f conftest.$ac_objext 3579rm -f conftest.$ac_objext
3060if { (eval echo "$as_me:3060: \"$ac_compile\"") >&5 3580if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3061 (eval $ac_compile) 2>&5 3581 (eval $ac_compile) 2>&5
3062 ac_status=$? 3582 ac_status=$?
3063 echo "$as_me:3063: \$? = $ac_status" >&5 3583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064 (exit $ac_status); } && 3584 (exit $ac_status); } &&
3065 { ac_try='test -s conftest.$ac_objext' 3585 { ac_try='test -s conftest.$ac_objext'
3066 { (eval echo "$as_me:3066: \"$ac_try\"") >&5 3586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3067 (eval $ac_try) 2>&5 3587 (eval $ac_try) 2>&5
3068 ac_status=$? 3588 ac_status=$?
3069 echo "$as_me:3069: \$? = $ac_status" >&5 3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070 (exit $ac_status); }; }; then 3590 (exit $ac_status); }; }; then
3071 ac_cv_c_inline=$ac_kw; break 3591 ac_cv_c_inline=$ac_kw; break
3072else 3592else
3073 echo "$as_me: failed program was:" >&5 3593 echo "$as_me: failed program was:" >&5
3074cat conftest.$ac_ext >&5 3594sed 's/^/| /' conftest.$ac_ext >&5
3595
3075fi 3596fi
3076rm -f conftest.$ac_objext conftest.$ac_ext 3597rm -f conftest.$ac_objext conftest.$ac_ext
3077done 3598done
3078 3599
3079fi 3600fi
3080echo "$as_me:3080: result: $ac_cv_c_inline" >&5 3601echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3081echo "${ECHO_T}$ac_cv_c_inline" >&6 3602echo "${ECHO_T}$ac_cv_c_inline" >&6
3082case $ac_cv_c_inline in 3603case $ac_cv_c_inline in
3083 inline | yes) ;; 3604 inline | yes) ;;
3084 no) 3605 no)
3085cat >>confdefs.h <<\EOF 3606cat >>confdefs.h <<\_ACEOF
3086#define inline 3607#define inline
3087EOF 3608_ACEOF
3088 ;; 3609 ;;
3089 *) cat >>confdefs.h <<EOF 3610 *) cat >>confdefs.h <<_ACEOF
3090#define inline $ac_cv_c_inline 3611#define inline $ac_cv_c_inline
3091EOF 3612_ACEOF
3092 ;; 3613 ;;
3093esac 3614esac
3094 3615
@@ -3099,9 +3620,10 @@ fi
3099# Check for some target-specific stuff 3620# Check for some target-specific stuff
3100case "$host" in 3621case "$host" in
3101*-*-aix*) 3622*-*-aix*)
3623 AFS_LIBS="-lld"
3102 CPPFLAGS="$CPPFLAGS -I/usr/local/include" 3624 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
3103 LDFLAGS="$LDFLAGS -L/usr/local/lib" 3625 LDFLAGS="$LDFLAGS -L/usr/local/lib"
3104 echo "$as_me:3104: checking how to specify blibpath for linker ($LD)" >&5 3626 echo "$as_me:$LINENO: checking how to specify blibpath for linker ($LD)" >&5
3105echo $ECHO_N "checking how to specify blibpath for linker ($LD)... $ECHO_C" >&6 3627echo $ECHO_N "checking how to specify blibpath for linker ($LD)... $ECHO_C" >&6
3106 if (test -z "$blibpath"); then 3628 if (test -z "$blibpath"); then
3107 blibpath="/usr/lib:/lib:/usr/local/lib" 3629 blibpath="/usr/lib:/lib:/usr/local/lib"
@@ -3111,8 +3633,12 @@ echo $ECHO_N "checking how to specify blibpath for linker ($LD)... $ECHO_C" >&6
3111 if (test -z "$blibflags"); then 3633 if (test -z "$blibflags"); then
3112 LDFLAGS="$saved_LDFLAGS $tryflags$blibpath" 3634 LDFLAGS="$saved_LDFLAGS $tryflags$blibpath"
3113 cat >conftest.$ac_ext <<_ACEOF 3635 cat >conftest.$ac_ext <<_ACEOF
3114#line 3114 "configure" 3636#line $LINENO "configure"
3115#include "confdefs.h" 3637/* confdefs.h. */
3638_ACEOF
3639cat confdefs.h >>conftest.$ac_ext
3640cat >>conftest.$ac_ext <<_ACEOF
3641/* end confdefs.h. */
3116 3642
3117int 3643int
3118main () 3644main ()
@@ -3123,101 +3649,116 @@ main ()
3123} 3649}
3124_ACEOF 3650_ACEOF
3125rm -f conftest.$ac_objext conftest$ac_exeext 3651rm -f conftest.$ac_objext conftest$ac_exeext
3126if { (eval echo "$as_me:3126: \"$ac_link\"") >&5 3652if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3127 (eval $ac_link) 2>&5 3653 (eval $ac_link) 2>&5
3128 ac_status=$? 3654 ac_status=$?
3129 echo "$as_me:3129: \$? = $ac_status" >&5 3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130 (exit $ac_status); } && 3656 (exit $ac_status); } &&
3131 { ac_try='test -s conftest$ac_exeext' 3657 { ac_try='test -s conftest$ac_exeext'
3132 { (eval echo "$as_me:3132: \"$ac_try\"") >&5 3658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3133 (eval $ac_try) 2>&5 3659 (eval $ac_try) 2>&5
3134 ac_status=$? 3660 ac_status=$?
3135 echo "$as_me:3135: \$? = $ac_status" >&5 3661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3136 (exit $ac_status); }; }; then 3662 (exit $ac_status); }; }; then
3137 blibflags=$tryflags 3663 blibflags=$tryflags
3138else 3664else
3139 echo "$as_me: failed program was:" >&5 3665 echo "$as_me: failed program was:" >&5
3140cat conftest.$ac_ext >&5 3666sed 's/^/| /' conftest.$ac_ext >&5
3667
3141fi 3668fi
3142rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3669rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3143 fi 3670 fi
3144 done 3671 done
3145 if (test -z "$blibflags"); then 3672 if (test -z "$blibflags"); then
3146 echo "$as_me:3146: result: not found" >&5 3673 echo "$as_me:$LINENO: result: not found" >&5
3147echo "${ECHO_T}not found" >&6 3674echo "${ECHO_T}not found" >&6
3148 { { echo "$as_me:3148: error: *** must be able to specify blibpath on AIX - check config.log" >&5 3675 { { echo "$as_me:$LINENO: error: *** must be able to specify blibpath on AIX - check config.log" >&5
3149echo "$as_me: error: *** must be able to specify blibpath on AIX - check config.log" >&2;} 3676echo "$as_me: error: *** must be able to specify blibpath on AIX - check config.log" >&2;}
3150 { (exit 1); exit 1; }; } 3677 { (exit 1); exit 1; }; }
3151 else 3678 else
3152 echo "$as_me:3152: result: $blibflags" >&5 3679 echo "$as_me:$LINENO: result: $blibflags" >&5
3153echo "${ECHO_T}$blibflags" >&6 3680echo "${ECHO_T}$blibflags" >&6
3154 fi 3681 fi
3155 LDFLAGS="$saved_LDFLAGS" 3682 LDFLAGS="$saved_LDFLAGS"
3156 echo "$as_me:3156: checking for authenticate" >&5 3683 echo "$as_me:$LINENO: checking for authenticate" >&5
3157echo $ECHO_N "checking for authenticate... $ECHO_C" >&6 3684echo $ECHO_N "checking for authenticate... $ECHO_C" >&6
3158if test "${ac_cv_func_authenticate+set}" = set; then 3685if test "${ac_cv_func_authenticate+set}" = set; then
3159 echo $ECHO_N "(cached) $ECHO_C" >&6 3686 echo $ECHO_N "(cached) $ECHO_C" >&6
3160else 3687else
3161 cat >conftest.$ac_ext <<_ACEOF 3688 cat >conftest.$ac_ext <<_ACEOF
3162#line 3162 "configure" 3689#line $LINENO "configure"
3163#include "confdefs.h" 3690/* confdefs.h. */
3691_ACEOF
3692cat confdefs.h >>conftest.$ac_ext
3693cat >>conftest.$ac_ext <<_ACEOF
3694/* end confdefs.h. */
3164/* System header to define __stub macros and hopefully few prototypes, 3695/* System header to define __stub macros and hopefully few prototypes,
3165 which can conflict with char authenticate (); below. */ 3696 which can conflict with char authenticate (); below.
3166#include <assert.h> 3697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3698 <limits.h> exists even on freestanding compilers. */
3699#ifdef __STDC__
3700# include <limits.h>
3701#else
3702# include <assert.h>
3703#endif
3167/* Override any gcc2 internal prototype to avoid an error. */ 3704/* Override any gcc2 internal prototype to avoid an error. */
3168#ifdef __cplusplus 3705#ifdef __cplusplus
3169extern "C" 3706extern "C"
3707{
3170#endif 3708#endif
3171/* We use char because int might match the return type of a gcc2 3709/* We use char because int might match the return type of a gcc2
3172 builtin and then its argument prototype would still apply. */ 3710 builtin and then its argument prototype would still apply. */
3173char authenticate (); 3711char authenticate ();
3174char (*f) ();
3175
3176int
3177main ()
3178{
3179/* The GNU C library defines this for functions which it implements 3712/* The GNU C library defines this for functions which it implements
3180 to always fail with ENOSYS. Some functions are actually named 3713 to always fail with ENOSYS. Some functions are actually named
3181 something starting with __ and the normal name is an alias. */ 3714 something starting with __ and the normal name is an alias. */
3182#if defined (__stub_authenticate) || defined (__stub___authenticate) 3715#if defined (__stub_authenticate) || defined (__stub___authenticate)
3183choke me 3716choke me
3184#else 3717#else
3185f = authenticate; 3718char (*f) () = authenticate;
3719#endif
3720#ifdef __cplusplus
3721}
3186#endif 3722#endif
3187 3723
3724int
3725main ()
3726{
3727return f != authenticate;
3188 ; 3728 ;
3189 return 0; 3729 return 0;
3190} 3730}
3191_ACEOF 3731_ACEOF
3192rm -f conftest.$ac_objext conftest$ac_exeext 3732rm -f conftest.$ac_objext conftest$ac_exeext
3193if { (eval echo "$as_me:3193: \"$ac_link\"") >&5 3733if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3194 (eval $ac_link) 2>&5 3734 (eval $ac_link) 2>&5
3195 ac_status=$? 3735 ac_status=$?
3196 echo "$as_me:3196: \$? = $ac_status" >&5 3736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197 (exit $ac_status); } && 3737 (exit $ac_status); } &&
3198 { ac_try='test -s conftest$ac_exeext' 3738 { ac_try='test -s conftest$ac_exeext'
3199 { (eval echo "$as_me:3199: \"$ac_try\"") >&5 3739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3200 (eval $ac_try) 2>&5 3740 (eval $ac_try) 2>&5
3201 ac_status=$? 3741 ac_status=$?
3202 echo "$as_me:3202: \$? = $ac_status" >&5 3742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); }; }; then 3743 (exit $ac_status); }; }; then
3204 ac_cv_func_authenticate=yes 3744 ac_cv_func_authenticate=yes
3205else 3745else
3206 echo "$as_me: failed program was:" >&5 3746 echo "$as_me: failed program was:" >&5
3207cat conftest.$ac_ext >&5 3747sed 's/^/| /' conftest.$ac_ext >&5
3748
3208ac_cv_func_authenticate=no 3749ac_cv_func_authenticate=no
3209fi 3750fi
3210rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3751rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3211fi 3752fi
3212echo "$as_me:3212: result: $ac_cv_func_authenticate" >&5 3753echo "$as_me:$LINENO: result: $ac_cv_func_authenticate" >&5
3213echo "${ECHO_T}$ac_cv_func_authenticate" >&6 3754echo "${ECHO_T}$ac_cv_func_authenticate" >&6
3214if test $ac_cv_func_authenticate = yes; then 3755if test $ac_cv_func_authenticate = yes; then
3215 cat >>confdefs.h <<\EOF 3756 cat >>confdefs.h <<\_ACEOF
3216#define WITH_AIXAUTHENTICATE 1 3757#define WITH_AIXAUTHENTICATE 1
3217EOF 3758_ACEOF
3218 3759
3219else 3760else
3220 echo "$as_me:3220: checking for authenticate in -ls" >&5 3761 echo "$as_me:$LINENO: checking for authenticate in -ls" >&5
3221echo $ECHO_N "checking for authenticate in -ls... $ECHO_C" >&6 3762echo $ECHO_N "checking for authenticate in -ls... $ECHO_C" >&6
3222if test "${ac_cv_lib_s_authenticate+set}" = set; then 3763if test "${ac_cv_lib_s_authenticate+set}" = set; then
3223 echo $ECHO_N "(cached) $ECHO_C" >&6 3764 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3225,8 +3766,12 @@ else
3225 ac_check_lib_save_LIBS=$LIBS 3766 ac_check_lib_save_LIBS=$LIBS
3226LIBS="-ls $LIBS" 3767LIBS="-ls $LIBS"
3227cat >conftest.$ac_ext <<_ACEOF 3768cat >conftest.$ac_ext <<_ACEOF
3228#line 3228 "configure" 3769#line $LINENO "configure"
3229#include "confdefs.h" 3770/* confdefs.h. */
3771_ACEOF
3772cat confdefs.h >>conftest.$ac_ext
3773cat >>conftest.$ac_ext <<_ACEOF
3774/* end confdefs.h. */
3230 3775
3231/* Override any gcc2 internal prototype to avoid an error. */ 3776/* Override any gcc2 internal prototype to avoid an error. */
3232#ifdef __cplusplus 3777#ifdef __cplusplus
@@ -3244,279 +3789,126 @@ authenticate ();
3244} 3789}
3245_ACEOF 3790_ACEOF
3246rm -f conftest.$ac_objext conftest$ac_exeext 3791rm -f conftest.$ac_objext conftest$ac_exeext
3247if { (eval echo "$as_me:3247: \"$ac_link\"") >&5 3792if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3248 (eval $ac_link) 2>&5 3793 (eval $ac_link) 2>&5
3249 ac_status=$? 3794 ac_status=$?
3250 echo "$as_me:3250: \$? = $ac_status" >&5 3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251 (exit $ac_status); } && 3796 (exit $ac_status); } &&
3252 { ac_try='test -s conftest$ac_exeext' 3797 { ac_try='test -s conftest$ac_exeext'
3253 { (eval echo "$as_me:3253: \"$ac_try\"") >&5 3798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3254 (eval $ac_try) 2>&5 3799 (eval $ac_try) 2>&5
3255 ac_status=$? 3800 ac_status=$?
3256 echo "$as_me:3256: \$? = $ac_status" >&5 3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3257 (exit $ac_status); }; }; then 3802 (exit $ac_status); }; }; then
3258 ac_cv_lib_s_authenticate=yes 3803 ac_cv_lib_s_authenticate=yes
3259else 3804else
3260 echo "$as_me: failed program was:" >&5 3805 echo "$as_me: failed program was:" >&5
3261cat conftest.$ac_ext >&5 3806sed 's/^/| /' conftest.$ac_ext >&5
3807
3262ac_cv_lib_s_authenticate=no 3808ac_cv_lib_s_authenticate=no
3263fi 3809fi
3264rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3810rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3265LIBS=$ac_check_lib_save_LIBS 3811LIBS=$ac_check_lib_save_LIBS
3266fi 3812fi
3267echo "$as_me:3267: result: $ac_cv_lib_s_authenticate" >&5 3813echo "$as_me:$LINENO: result: $ac_cv_lib_s_authenticate" >&5
3268echo "${ECHO_T}$ac_cv_lib_s_authenticate" >&6 3814echo "${ECHO_T}$ac_cv_lib_s_authenticate" >&6
3269if test $ac_cv_lib_s_authenticate = yes; then 3815if test $ac_cv_lib_s_authenticate = yes; then
3270 cat >>confdefs.h <<\EOF 3816 cat >>confdefs.h <<\_ACEOF
3271#define WITH_AIXAUTHENTICATE 1 3817#define WITH_AIXAUTHENTICATE 1
3272EOF
3273
3274 LIBS="$LIBS -ls"
3275
3276fi
3277
3278fi
3279
3280 echo "$as_me:3280: checking whether loginfailed is declared" >&5
3281echo $ECHO_N "checking whether loginfailed is declared... $ECHO_C" >&6
3282if test "${ac_cv_have_decl_loginfailed+set}" = set; then
3283 echo $ECHO_N "(cached) $ECHO_C" >&6
3284else
3285 cat >conftest.$ac_ext <<_ACEOF
3286#line 3286 "configure"
3287#include "confdefs.h"
3288#include <usersec.h>
3289
3290int
3291main ()
3292{
3293#ifndef loginfailed
3294 char *p = (char *) loginfailed;
3295#endif
3296
3297 ;
3298 return 0;
3299}
3300_ACEOF
3301rm -f conftest.$ac_objext
3302if { (eval echo "$as_me:3302: \"$ac_compile\"") >&5
3303 (eval $ac_compile) 2>&5
3304 ac_status=$?
3305 echo "$as_me:3305: \$? = $ac_status" >&5
3306 (exit $ac_status); } &&
3307 { ac_try='test -s conftest.$ac_objext'
3308 { (eval echo "$as_me:3308: \"$ac_try\"") >&5
3309 (eval $ac_try) 2>&5
3310 ac_status=$?
3311 echo "$as_me:3311: \$? = $ac_status" >&5
3312 (exit $ac_status); }; }; then
3313 ac_cv_have_decl_loginfailed=yes
3314else
3315 echo "$as_me: failed program was:" >&5
3316cat conftest.$ac_ext >&5
3317ac_cv_have_decl_loginfailed=no
3318fi
3319rm -f conftest.$ac_objext conftest.$ac_ext
3320fi
3321echo "$as_me:3321: result: $ac_cv_have_decl_loginfailed" >&5
3322echo "${ECHO_T}$ac_cv_have_decl_loginfailed" >&6
3323if test $ac_cv_have_decl_loginfailed = yes; then
3324 echo "$as_me:3324: checking if loginfailed takes 4 arguments" >&5
3325echo $ECHO_N "checking if loginfailed takes 4 arguments... $ECHO_C" >&6
3326 cat >conftest.$ac_ext <<_ACEOF
3327#line 3327 "configure"
3328#include "confdefs.h"
3329#include <usersec.h>
3330int
3331main ()
3332{
3333(void)loginfailed("user","host","tty",0);
3334 ;
3335 return 0;
3336}
3337_ACEOF 3818_ACEOF
3338rm -f conftest.$ac_objext
3339if { (eval echo "$as_me:3339: \"$ac_compile\"") >&5
3340 (eval $ac_compile) 2>&5
3341 ac_status=$?
3342 echo "$as_me:3342: \$? = $ac_status" >&5
3343 (exit $ac_status); } &&
3344 { ac_try='test -s conftest.$ac_objext'
3345 { (eval echo "$as_me:3345: \"$ac_try\"") >&5
3346 (eval $ac_try) 2>&5
3347 ac_status=$?
3348 echo "$as_me:3348: \$? = $ac_status" >&5
3349 (exit $ac_status); }; }; then
3350 echo "$as_me:3350: result: yes" >&5
3351echo "${ECHO_T}yes" >&6
3352 cat >>confdefs.h <<\EOF
3353#define AIX_LOGINFAILED_4ARG 1
3354EOF
3355 3819
3356else 3820 LIBS="$LIBS -ls"
3357 echo "$as_me: failed program was:" >&5
3358cat conftest.$ac_ext >&5
3359echo "$as_me:3359: result: no" >&5
3360echo "${ECHO_T}no" >&6
3361 3821
3362fi 3822fi
3363rm -f conftest.$ac_objext conftest.$ac_ext
3364fi
3365
3366for ac_func in setauthdb
3367do
3368as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3369echo "$as_me:3369: checking for $ac_func" >&5
3370echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3371if eval "test \"\${$as_ac_var+set}\" = set"; then
3372 echo $ECHO_N "(cached) $ECHO_C" >&6
3373else
3374 cat >conftest.$ac_ext <<_ACEOF
3375#line 3375 "configure"
3376#include "confdefs.h"
3377/* System header to define __stub macros and hopefully few prototypes,
3378 which can conflict with char $ac_func (); below. */
3379#include <assert.h>
3380/* Override any gcc2 internal prototype to avoid an error. */
3381#ifdef __cplusplus
3382extern "C"
3383#endif
3384/* We use char because int might match the return type of a gcc2
3385 builtin and then its argument prototype would still apply. */
3386char $ac_func ();
3387char (*f) ();
3388
3389int
3390main ()
3391{
3392/* The GNU C library defines this for functions which it implements
3393 to always fail with ENOSYS. Some functions are actually named
3394 something starting with __ and the normal name is an alias. */
3395#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3396choke me
3397#else
3398f = $ac_func;
3399#endif
3400 3823
3401 ;
3402 return 0;
3403}
3404_ACEOF
3405rm -f conftest.$ac_objext conftest$ac_exeext
3406if { (eval echo "$as_me:3406: \"$ac_link\"") >&5
3407 (eval $ac_link) 2>&5
3408 ac_status=$?
3409 echo "$as_me:3409: \$? = $ac_status" >&5
3410 (exit $ac_status); } &&
3411 { ac_try='test -s conftest$ac_exeext'
3412 { (eval echo "$as_me:3412: \"$ac_try\"") >&5
3413 (eval $ac_try) 2>&5
3414 ac_status=$?
3415 echo "$as_me:3415: \$? = $ac_status" >&5
3416 (exit $ac_status); }; }; then
3417 eval "$as_ac_var=yes"
3418else
3419 echo "$as_me: failed program was:" >&5
3420cat conftest.$ac_ext >&5
3421eval "$as_ac_var=no"
3422fi
3423rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3424fi
3425echo "$as_me:3425: result: `eval echo '${'$as_ac_var'}'`" >&5
3426echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3427if test `eval echo '${'$as_ac_var'}'` = yes; then
3428 cat >>confdefs.h <<EOF
3429#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3430EOF
3431 3824
3432fi 3825fi
3433done
3434 3826
3435 cat >>confdefs.h <<\EOF 3827 cat >>confdefs.h <<\_ACEOF
3436#define BROKEN_GETADDRINFO 1 3828#define BROKEN_GETADDRINFO 1
3437EOF 3829_ACEOF
3438 3830
3439 cat >>confdefs.h <<\EOF 3831 cat >>confdefs.h <<\_ACEOF
3440#define BROKEN_REALPATH 1 3832#define BROKEN_REALPATH 1
3441EOF 3833_ACEOF
3442
3443 cat >>confdefs.h <<\EOF
3444#define SETEUID_BREAKS_SETUID 1
3445EOF
3446
3447 cat >>confdefs.h <<\EOF
3448#define BROKEN_SETREUID 1
3449EOF
3450
3451 cat >>confdefs.h <<\EOF
3452#define BROKEN_SETREGID 1
3453EOF
3454 3834
3455 cat >>confdefs.h <<\EOF 3835 cat >>confdefs.h <<\_ACEOF
3456#define DISABLE_LASTLOG 1 3836#define DISABLE_LASTLOG 1
3457EOF 3837_ACEOF
3458 3838
3459 cat >>confdefs.h <<\EOF 3839 cat >>confdefs.h <<\_ACEOF
3460#define LOGIN_NEEDS_UTMPX 1 3840#define LOGIN_NEEDS_UTMPX 1
3461EOF 3841_ACEOF
3462 3842
3463 cat >>confdefs.h <<\EOF 3843 cat >>confdefs.h <<\_ACEOF
3464#define SPT_TYPE SPT_REUSEARGV 3844#define SETPROCTITLE_STRATEGY PS_USE_CLOBBER_ARGV
3465EOF 3845_ACEOF
3846
3847 cat >>confdefs.h <<\_ACEOF
3848#define SETPROCTITLE_PS_PADDING '\0'
3849_ACEOF
3466 3850
3467 ;; 3851 ;;
3468*-*-cygwin*) 3852*-*-cygwin*)
3469 check_for_libcrypt_later=1 3853 check_for_libcrypt_later=1
3470 LIBS="$LIBS /usr/lib/textmode.o" 3854 LIBS="$LIBS /usr/lib/textmode.o"
3471 cat >>confdefs.h <<\EOF 3855 cat >>confdefs.h <<\_ACEOF
3472#define HAVE_CYGWIN 1 3856#define HAVE_CYGWIN 1
3473EOF 3857_ACEOF
3474 3858
3475 cat >>confdefs.h <<\EOF 3859 cat >>confdefs.h <<\_ACEOF
3476#define USE_PIPES 1 3860#define USE_PIPES 1
3477EOF 3861_ACEOF
3478 3862
3479 cat >>confdefs.h <<\EOF 3863 cat >>confdefs.h <<\_ACEOF
3480#define DISABLE_SHADOW 1 3864#define DISABLE_SHADOW 1
3481EOF 3865_ACEOF
3866
3867 cat >>confdefs.h <<\_ACEOF
3868#define IPV4_DEFAULT 1
3869_ACEOF
3482 3870
3483 cat >>confdefs.h <<\EOF 3871 cat >>confdefs.h <<\_ACEOF
3484#define IP_TOS_IS_BROKEN 1 3872#define IP_TOS_IS_BROKEN 1
3485EOF 3873_ACEOF
3486 3874
3487 cat >>confdefs.h <<\EOF 3875 cat >>confdefs.h <<\_ACEOF
3488#define NO_X11_UNIX_SOCKETS 1 3876#define NO_X11_UNIX_SOCKETS 1
3489EOF 3877_ACEOF
3490 3878
3491 cat >>confdefs.h <<\EOF 3879 cat >>confdefs.h <<\_ACEOF
3492#define NO_IPPORT_RESERVED_CONCEPT 1 3880#define NO_IPPORT_RESERVED_CONCEPT 1
3493EOF 3881_ACEOF
3494 3882
3495 cat >>confdefs.h <<\EOF 3883 cat >>confdefs.h <<\_ACEOF
3496#define DISABLE_FD_PASSING 1 3884#define DISABLE_FD_PASSING 1
3497EOF 3885_ACEOF
3498 3886
3499 cat >>confdefs.h <<\EOF 3887 cat >>confdefs.h <<\_ACEOF
3500#define SETGROUPS_NOOP 1 3888#define SETGROUPS_NOOP 1
3501EOF 3889_ACEOF
3502 3890
3503 ;; 3891 ;;
3504*-*-dgux*) 3892*-*-dgux*)
3505 cat >>confdefs.h <<\EOF 3893 cat >>confdefs.h <<\_ACEOF
3506#define IP_TOS_IS_BROKEN 1 3894#define IP_TOS_IS_BROKEN 1
3507EOF 3895_ACEOF
3508 3896
3509 ;; 3897 ;;
3510*-*-darwin*) 3898*-*-darwin*)
3511 echo "$as_me:3511: checking if we have working getaddrinfo" >&5 3899 echo "$as_me:$LINENO: checking if we have working getaddrinfo" >&5
3512echo $ECHO_N "checking if we have working getaddrinfo... $ECHO_C" >&6 3900echo $ECHO_N "checking if we have working getaddrinfo... $ECHO_C" >&6
3513 if test "$cross_compiling" = yes; then 3901 if test "$cross_compiling" = yes; then
3514 echo "$as_me:3514: result: assume it is working" >&5 3902 echo "$as_me:$LINENO: result: assume it is working" >&5
3515echo "${ECHO_T}assume it is working" >&6 3903echo "${ECHO_T}assume it is working" >&6
3516else 3904else
3517 cat >conftest.$ac_ext <<_ACEOF 3905 cat >conftest.$ac_ext <<_ACEOF
3518#line 3518 "configure" 3906#line $LINENO "configure"
3519#include "confdefs.h" 3907/* confdefs.h. */
3908_ACEOF
3909cat confdefs.h >>conftest.$ac_ext
3910cat >>conftest.$ac_ext <<_ACEOF
3911/* end confdefs.h. */
3520#include <mach-o/dyld.h> 3912#include <mach-o/dyld.h>
3521main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) 3913main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
3522 exit(0); 3914 exit(0);
@@ -3525,30 +3917,32 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
3525} 3917}
3526_ACEOF 3918_ACEOF
3527rm -f conftest$ac_exeext 3919rm -f conftest$ac_exeext
3528if { (eval echo "$as_me:3528: \"$ac_link\"") >&5 3920if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3529 (eval $ac_link) 2>&5 3921 (eval $ac_link) 2>&5
3530 ac_status=$? 3922 ac_status=$?
3531 echo "$as_me:3531: \$? = $ac_status" >&5 3923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3924 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3533 { (eval echo "$as_me:3533: \"$ac_try\"") >&5 3925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3534 (eval $ac_try) 2>&5 3926 (eval $ac_try) 2>&5
3535 ac_status=$? 3927 ac_status=$?
3536 echo "$as_me:3536: \$? = $ac_status" >&5 3928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537 (exit $ac_status); }; }; then 3929 (exit $ac_status); }; }; then
3538 echo "$as_me:3538: result: working" >&5 3930 echo "$as_me:$LINENO: result: working" >&5
3539echo "${ECHO_T}working" >&6 3931echo "${ECHO_T}working" >&6
3540else 3932else
3541 echo "$as_me: program exited with status $ac_status" >&5 3933 echo "$as_me: program exited with status $ac_status" >&5
3542echo "$as_me: failed program was:" >&5 3934echo "$as_me: failed program was:" >&5
3543cat conftest.$ac_ext >&5 3935sed 's/^/| /' conftest.$ac_ext >&5
3544echo "$as_me:3544: result: buggy" >&5 3936
3937( exit $ac_status )
3938echo "$as_me:$LINENO: result: buggy" >&5
3545echo "${ECHO_T}buggy" >&6 3939echo "${ECHO_T}buggy" >&6
3546 cat >>confdefs.h <<\EOF 3940 cat >>confdefs.h <<\_ACEOF
3547#define BROKEN_GETADDRINFO 1 3941#define BROKEN_GETADDRINFO 1
3548EOF 3942_ACEOF
3549 3943
3550fi 3944fi
3551rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3945rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3552fi 3946fi
3553 ;; 3947 ;;
3554*-*-hpux10.26) 3948*-*-hpux10.26)
@@ -3557,41 +3951,37 @@ fi
3557 fi 3951 fi
3558 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" 3952 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
3559 IPADDR_IN_DISPLAY=yes 3953 IPADDR_IN_DISPLAY=yes
3560 cat >>confdefs.h <<\EOF 3954 cat >>confdefs.h <<\_ACEOF
3561#define HAVE_SECUREWARE 1 3955#define HAVE_SECUREWARE 1
3562EOF 3956_ACEOF
3563 3957
3564 cat >>confdefs.h <<\EOF 3958 cat >>confdefs.h <<\_ACEOF
3565#define USE_PIPES 1 3959#define USE_PIPES 1
3566EOF 3960_ACEOF
3567 3961
3568 cat >>confdefs.h <<\EOF 3962 cat >>confdefs.h <<\_ACEOF
3569#define LOGIN_NO_ENDOPT 1 3963#define LOGIN_NO_ENDOPT 1
3570EOF 3964_ACEOF
3571 3965
3572 cat >>confdefs.h <<\EOF 3966 cat >>confdefs.h <<\_ACEOF
3573#define LOGIN_NEEDS_UTMPX 1 3967#define LOGIN_NEEDS_UTMPX 1
3574EOF 3968_ACEOF
3575 3969
3576 cat >>confdefs.h <<\EOF 3970 cat >>confdefs.h <<\_ACEOF
3577#define DISABLE_SHADOW 1 3971#define DISABLE_SHADOW 1
3578EOF 3972_ACEOF
3579 3973
3580 cat >>confdefs.h <<\EOF 3974 cat >>confdefs.h <<\_ACEOF
3581#define DISABLE_UTMP 1 3975#define DISABLE_UTMP 1
3582EOF 3976_ACEOF
3583
3584 cat >>confdefs.h <<\EOF
3585#define LOCKED_PASSWD_STRING "*"
3586EOF
3587 3977
3588 cat >>confdefs.h <<\EOF 3978 cat >>confdefs.h <<\_ACEOF
3589#define SPT_TYPE SPT_PSTAT 3979#define SETPROCTITLE_STRATEGY PS_USE_PSTAT
3590EOF 3980_ACEOF
3591 3981
3592 LIBS="$LIBS -lsec -lsecpw" 3982 LIBS="$LIBS -lsec -lsecpw"
3593 3983
3594echo "$as_me:3594: checking for t_error in -lxnet" >&5 3984echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5
3595echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 3985echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6
3596if test "${ac_cv_lib_xnet_t_error+set}" = set; then 3986if test "${ac_cv_lib_xnet_t_error+set}" = set; then
3597 echo $ECHO_N "(cached) $ECHO_C" >&6 3987 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3599,8 +3989,12 @@ else
3599 ac_check_lib_save_LIBS=$LIBS 3989 ac_check_lib_save_LIBS=$LIBS
3600LIBS="-lxnet $LIBS" 3990LIBS="-lxnet $LIBS"
3601cat >conftest.$ac_ext <<_ACEOF 3991cat >conftest.$ac_ext <<_ACEOF
3602#line 3602 "configure" 3992#line $LINENO "configure"
3603#include "confdefs.h" 3993/* confdefs.h. */
3994_ACEOF
3995cat confdefs.h >>conftest.$ac_ext
3996cat >>conftest.$ac_ext <<_ACEOF
3997/* end confdefs.h. */
3604 3998
3605/* Override any gcc2 internal prototype to avoid an error. */ 3999/* Override any gcc2 internal prototype to avoid an error. */
3606#ifdef __cplusplus 4000#ifdef __cplusplus
@@ -3618,37 +4012,38 @@ t_error ();
3618} 4012}
3619_ACEOF 4013_ACEOF
3620rm -f conftest.$ac_objext conftest$ac_exeext 4014rm -f conftest.$ac_objext conftest$ac_exeext
3621if { (eval echo "$as_me:3621: \"$ac_link\"") >&5 4015if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3622 (eval $ac_link) 2>&5 4016 (eval $ac_link) 2>&5
3623 ac_status=$? 4017 ac_status=$?
3624 echo "$as_me:3624: \$? = $ac_status" >&5 4018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625 (exit $ac_status); } && 4019 (exit $ac_status); } &&
3626 { ac_try='test -s conftest$ac_exeext' 4020 { ac_try='test -s conftest$ac_exeext'
3627 { (eval echo "$as_me:3627: \"$ac_try\"") >&5 4021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3628 (eval $ac_try) 2>&5 4022 (eval $ac_try) 2>&5
3629 ac_status=$? 4023 ac_status=$?
3630 echo "$as_me:3630: \$? = $ac_status" >&5 4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3631 (exit $ac_status); }; }; then 4025 (exit $ac_status); }; }; then
3632 ac_cv_lib_xnet_t_error=yes 4026 ac_cv_lib_xnet_t_error=yes
3633else 4027else
3634 echo "$as_me: failed program was:" >&5 4028 echo "$as_me: failed program was:" >&5
3635cat conftest.$ac_ext >&5 4029sed 's/^/| /' conftest.$ac_ext >&5
4030
3636ac_cv_lib_xnet_t_error=no 4031ac_cv_lib_xnet_t_error=no
3637fi 4032fi
3638rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4033rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3639LIBS=$ac_check_lib_save_LIBS 4034LIBS=$ac_check_lib_save_LIBS
3640fi 4035fi
3641echo "$as_me:3641: result: $ac_cv_lib_xnet_t_error" >&5 4036echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5
3642echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 4037echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6
3643if test $ac_cv_lib_xnet_t_error = yes; then 4038if test $ac_cv_lib_xnet_t_error = yes; then
3644 cat >>confdefs.h <<EOF 4039 cat >>confdefs.h <<_ACEOF
3645#define HAVE_LIBXNET 1 4040#define HAVE_LIBXNET 1
3646EOF 4041_ACEOF
3647 4042
3648 LIBS="-lxnet $LIBS" 4043 LIBS="-lxnet $LIBS"
3649 4044
3650else 4045else
3651 { { echo "$as_me:3651: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 4046 { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
3652echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} 4047echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
3653 { (exit 1); exit 1; }; } 4048 { (exit 1); exit 1; }; }
3654fi 4049fi
@@ -3661,37 +4056,33 @@ fi
3661 fi 4056 fi
3662 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" 4057 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
3663 IPADDR_IN_DISPLAY=yes 4058 IPADDR_IN_DISPLAY=yes
3664 cat >>confdefs.h <<\EOF 4059 cat >>confdefs.h <<\_ACEOF
3665#define USE_PIPES 1 4060#define USE_PIPES 1
3666EOF 4061_ACEOF
3667 4062
3668 cat >>confdefs.h <<\EOF 4063 cat >>confdefs.h <<\_ACEOF
3669#define LOGIN_NO_ENDOPT 1 4064#define LOGIN_NO_ENDOPT 1
3670EOF 4065_ACEOF
3671 4066
3672 cat >>confdefs.h <<\EOF 4067 cat >>confdefs.h <<\_ACEOF
3673#define LOGIN_NEEDS_UTMPX 1 4068#define LOGIN_NEEDS_UTMPX 1
3674EOF 4069_ACEOF
3675 4070
3676 cat >>confdefs.h <<\EOF 4071 cat >>confdefs.h <<\_ACEOF
3677#define DISABLE_SHADOW 1 4072#define DISABLE_SHADOW 1
3678EOF 4073_ACEOF
3679 4074
3680 cat >>confdefs.h <<\EOF 4075 cat >>confdefs.h <<\_ACEOF
3681#define DISABLE_UTMP 1 4076#define DISABLE_UTMP 1
3682EOF 4077_ACEOF
3683
3684 cat >>confdefs.h <<\EOF
3685#define LOCKED_PASSWD_STRING "*"
3686EOF
3687 4078
3688 cat >>confdefs.h <<\EOF 4079 cat >>confdefs.h <<\_ACEOF
3689#define SPT_TYPE SPT_PSTAT 4080#define SETPROCTITLE_STRATEGY PS_USE_PSTAT
3690EOF 4081_ACEOF
3691 4082
3692 LIBS="$LIBS -lsec" 4083 LIBS="$LIBS -lsec"
3693 4084
3694echo "$as_me:3694: checking for t_error in -lxnet" >&5 4085echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5
3695echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 4086echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6
3696if test "${ac_cv_lib_xnet_t_error+set}" = set; then 4087if test "${ac_cv_lib_xnet_t_error+set}" = set; then
3697 echo $ECHO_N "(cached) $ECHO_C" >&6 4088 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3699,8 +4090,12 @@ else
3699 ac_check_lib_save_LIBS=$LIBS 4090 ac_check_lib_save_LIBS=$LIBS
3700LIBS="-lxnet $LIBS" 4091LIBS="-lxnet $LIBS"
3701cat >conftest.$ac_ext <<_ACEOF 4092cat >conftest.$ac_ext <<_ACEOF
3702#line 3702 "configure" 4093#line $LINENO "configure"
3703#include "confdefs.h" 4094/* confdefs.h. */
4095_ACEOF
4096cat confdefs.h >>conftest.$ac_ext
4097cat >>conftest.$ac_ext <<_ACEOF
4098/* end confdefs.h. */
3704 4099
3705/* Override any gcc2 internal prototype to avoid an error. */ 4100/* Override any gcc2 internal prototype to avoid an error. */
3706#ifdef __cplusplus 4101#ifdef __cplusplus
@@ -3718,37 +4113,38 @@ t_error ();
3718} 4113}
3719_ACEOF 4114_ACEOF
3720rm -f conftest.$ac_objext conftest$ac_exeext 4115rm -f conftest.$ac_objext conftest$ac_exeext
3721if { (eval echo "$as_me:3721: \"$ac_link\"") >&5 4116if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3722 (eval $ac_link) 2>&5 4117 (eval $ac_link) 2>&5
3723 ac_status=$? 4118 ac_status=$?
3724 echo "$as_me:3724: \$? = $ac_status" >&5 4119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3725 (exit $ac_status); } && 4120 (exit $ac_status); } &&
3726 { ac_try='test -s conftest$ac_exeext' 4121 { ac_try='test -s conftest$ac_exeext'
3727 { (eval echo "$as_me:3727: \"$ac_try\"") >&5 4122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3728 (eval $ac_try) 2>&5 4123 (eval $ac_try) 2>&5
3729 ac_status=$? 4124 ac_status=$?
3730 echo "$as_me:3730: \$? = $ac_status" >&5 4125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3731 (exit $ac_status); }; }; then 4126 (exit $ac_status); }; }; then
3732 ac_cv_lib_xnet_t_error=yes 4127 ac_cv_lib_xnet_t_error=yes
3733else 4128else
3734 echo "$as_me: failed program was:" >&5 4129 echo "$as_me: failed program was:" >&5
3735cat conftest.$ac_ext >&5 4130sed 's/^/| /' conftest.$ac_ext >&5
4131
3736ac_cv_lib_xnet_t_error=no 4132ac_cv_lib_xnet_t_error=no
3737fi 4133fi
3738rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4134rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3739LIBS=$ac_check_lib_save_LIBS 4135LIBS=$ac_check_lib_save_LIBS
3740fi 4136fi
3741echo "$as_me:3741: result: $ac_cv_lib_xnet_t_error" >&5 4137echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5
3742echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 4138echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6
3743if test $ac_cv_lib_xnet_t_error = yes; then 4139if test $ac_cv_lib_xnet_t_error = yes; then
3744 cat >>confdefs.h <<EOF 4140 cat >>confdefs.h <<_ACEOF
3745#define HAVE_LIBXNET 1 4141#define HAVE_LIBXNET 1
3746EOF 4142_ACEOF
3747 4143
3748 LIBS="-lxnet $LIBS" 4144 LIBS="-lxnet $LIBS"
3749 4145
3750else 4146else
3751 { { echo "$as_me:3751: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 4147 { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
3752echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} 4148echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
3753 { (exit 1); exit 1; }; } 4149 { (exit 1); exit 1; }; }
3754fi 4150fi
@@ -3757,41 +4153,37 @@ fi
3757*-*-hpux11*) 4153*-*-hpux11*)
3758 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" 4154 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
3759 IPADDR_IN_DISPLAY=yes 4155 IPADDR_IN_DISPLAY=yes
3760 cat >>confdefs.h <<\EOF 4156 cat >>confdefs.h <<\_ACEOF
3761#define PAM_SUN_CODEBASE 1 4157#define PAM_SUN_CODEBASE 1
3762EOF 4158_ACEOF
3763 4159
3764 cat >>confdefs.h <<\EOF 4160 cat >>confdefs.h <<\_ACEOF
3765#define USE_PIPES 1 4161#define USE_PIPES 1
3766EOF 4162_ACEOF
3767 4163
3768 cat >>confdefs.h <<\EOF 4164 cat >>confdefs.h <<\_ACEOF
3769#define LOGIN_NO_ENDOPT 1 4165#define LOGIN_NO_ENDOPT 1
3770EOF 4166_ACEOF
3771 4167
3772 cat >>confdefs.h <<\EOF 4168 cat >>confdefs.h <<\_ACEOF
3773#define LOGIN_NEEDS_UTMPX 1 4169#define LOGIN_NEEDS_UTMPX 1
3774EOF 4170_ACEOF
3775 4171
3776 cat >>confdefs.h <<\EOF 4172 cat >>confdefs.h <<\_ACEOF
3777#define DISABLE_SHADOW 1 4173#define DISABLE_SHADOW 1
3778EOF 4174_ACEOF
3779 4175
3780 cat >>confdefs.h <<\EOF 4176 cat >>confdefs.h <<\_ACEOF
3781#define DISABLE_UTMP 1 4177#define DISABLE_UTMP 1
3782EOF 4178_ACEOF
3783
3784 cat >>confdefs.h <<\EOF
3785#define LOCKED_PASSWD_STRING "*"
3786EOF
3787 4179
3788 cat >>confdefs.h <<\EOF 4180 cat >>confdefs.h <<\_ACEOF
3789#define SPT_TYPE SPT_PSTAT 4181#define SETPROCTITLE_STRATEGY PS_USE_PSTAT
3790EOF 4182_ACEOF
3791 4183
3792 LIBS="$LIBS -lsec" 4184 LIBS="$LIBS -lsec"
3793 4185
3794echo "$as_me:3794: checking for t_error in -lxnet" >&5 4186echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5
3795echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 4187echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6
3796if test "${ac_cv_lib_xnet_t_error+set}" = set; then 4188if test "${ac_cv_lib_xnet_t_error+set}" = set; then
3797 echo $ECHO_N "(cached) $ECHO_C" >&6 4189 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3799,8 +4191,12 @@ else
3799 ac_check_lib_save_LIBS=$LIBS 4191 ac_check_lib_save_LIBS=$LIBS
3800LIBS="-lxnet $LIBS" 4192LIBS="-lxnet $LIBS"
3801cat >conftest.$ac_ext <<_ACEOF 4193cat >conftest.$ac_ext <<_ACEOF
3802#line 3802 "configure" 4194#line $LINENO "configure"
3803#include "confdefs.h" 4195/* confdefs.h. */
4196_ACEOF
4197cat confdefs.h >>conftest.$ac_ext
4198cat >>conftest.$ac_ext <<_ACEOF
4199/* end confdefs.h. */
3804 4200
3805/* Override any gcc2 internal prototype to avoid an error. */ 4201/* Override any gcc2 internal prototype to avoid an error. */
3806#ifdef __cplusplus 4202#ifdef __cplusplus
@@ -3818,37 +4214,38 @@ t_error ();
3818} 4214}
3819_ACEOF 4215_ACEOF
3820rm -f conftest.$ac_objext conftest$ac_exeext 4216rm -f conftest.$ac_objext conftest$ac_exeext
3821if { (eval echo "$as_me:3821: \"$ac_link\"") >&5 4217if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3822 (eval $ac_link) 2>&5 4218 (eval $ac_link) 2>&5
3823 ac_status=$? 4219 ac_status=$?
3824 echo "$as_me:3824: \$? = $ac_status" >&5 4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825 (exit $ac_status); } && 4221 (exit $ac_status); } &&
3826 { ac_try='test -s conftest$ac_exeext' 4222 { ac_try='test -s conftest$ac_exeext'
3827 { (eval echo "$as_me:3827: \"$ac_try\"") >&5 4223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3828 (eval $ac_try) 2>&5 4224 (eval $ac_try) 2>&5
3829 ac_status=$? 4225 ac_status=$?
3830 echo "$as_me:3830: \$? = $ac_status" >&5 4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831 (exit $ac_status); }; }; then 4227 (exit $ac_status); }; }; then
3832 ac_cv_lib_xnet_t_error=yes 4228 ac_cv_lib_xnet_t_error=yes
3833else 4229else
3834 echo "$as_me: failed program was:" >&5 4230 echo "$as_me: failed program was:" >&5
3835cat conftest.$ac_ext >&5 4231sed 's/^/| /' conftest.$ac_ext >&5
4232
3836ac_cv_lib_xnet_t_error=no 4233ac_cv_lib_xnet_t_error=no
3837fi 4234fi
3838rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4235rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3839LIBS=$ac_check_lib_save_LIBS 4236LIBS=$ac_check_lib_save_LIBS
3840fi 4237fi
3841echo "$as_me:3841: result: $ac_cv_lib_xnet_t_error" >&5 4238echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5
3842echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 4239echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6
3843if test $ac_cv_lib_xnet_t_error = yes; then 4240if test $ac_cv_lib_xnet_t_error = yes; then
3844 cat >>confdefs.h <<EOF 4241 cat >>confdefs.h <<_ACEOF
3845#define HAVE_LIBXNET 1 4242#define HAVE_LIBXNET 1
3846EOF 4243_ACEOF
3847 4244
3848 LIBS="-lxnet $LIBS" 4245 LIBS="-lxnet $LIBS"
3849 4246
3850else 4247else
3851 { { echo "$as_me:3851: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 4248 { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
3852echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} 4249echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
3853 { (exit 1); exit 1; }; } 4250 { (exit 1); exit 1; }; }
3854fi 4251fi
@@ -3858,147 +4255,144 @@ fi
3858 CPPFLAGS="$CPPFLAGS -I/usr/local/include" 4255 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
3859 LDFLAGS="$LDFLAGS" 4256 LDFLAGS="$LDFLAGS"
3860 PATH="$PATH:/usr/etc" 4257 PATH="$PATH:/usr/etc"
3861 cat >>confdefs.h <<\EOF 4258 cat >>confdefs.h <<\_ACEOF
3862#define BROKEN_INET_NTOA 1 4259#define BROKEN_INET_NTOA 1
3863EOF 4260_ACEOF
3864 4261
3865 cat >>confdefs.h <<\EOF 4262 cat >>confdefs.h <<\_ACEOF
3866#define WITH_ABBREV_NO_TTY 1 4263#define WITH_ABBREV_NO_TTY 1
3867EOF 4264_ACEOF
3868
3869 cat >>confdefs.h <<\EOF
3870#define LOCKED_PASSWD_STRING "*LK*"
3871EOF
3872 4265
3873 ;; 4266 ;;
3874*-*-irix6*) 4267*-*-irix6*)
3875 CPPFLAGS="$CPPFLAGS -I/usr/local/include" 4268 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
3876 LDFLAGS="$LDFLAGS" 4269 LDFLAGS="$LDFLAGS"
3877 PATH="$PATH:/usr/etc" 4270 PATH="$PATH:/usr/etc"
3878 cat >>confdefs.h <<\EOF 4271 cat >>confdefs.h <<\_ACEOF
3879#define WITH_IRIX_ARRAY 1 4272#define WITH_IRIX_ARRAY 1
3880EOF 4273_ACEOF
3881 4274
3882 cat >>confdefs.h <<\EOF 4275 cat >>confdefs.h <<\_ACEOF
3883#define WITH_IRIX_PROJECT 1 4276#define WITH_IRIX_PROJECT 1
3884EOF 4277_ACEOF
3885 4278
3886 cat >>confdefs.h <<\EOF 4279 cat >>confdefs.h <<\_ACEOF
3887#define WITH_IRIX_AUDIT 1 4280#define WITH_IRIX_AUDIT 1
3888EOF 4281_ACEOF
3889 4282
3890 echo "$as_me:3890: checking for jlimit_startjob" >&5 4283 echo "$as_me:$LINENO: checking for jlimit_startjob" >&5
3891echo $ECHO_N "checking for jlimit_startjob... $ECHO_C" >&6 4284echo $ECHO_N "checking for jlimit_startjob... $ECHO_C" >&6
3892if test "${ac_cv_func_jlimit_startjob+set}" = set; then 4285if test "${ac_cv_func_jlimit_startjob+set}" = set; then
3893 echo $ECHO_N "(cached) $ECHO_C" >&6 4286 echo $ECHO_N "(cached) $ECHO_C" >&6
3894else 4287else
3895 cat >conftest.$ac_ext <<_ACEOF 4288 cat >conftest.$ac_ext <<_ACEOF
3896#line 3896 "configure" 4289#line $LINENO "configure"
3897#include "confdefs.h" 4290/* confdefs.h. */
4291_ACEOF
4292cat confdefs.h >>conftest.$ac_ext
4293cat >>conftest.$ac_ext <<_ACEOF
4294/* end confdefs.h. */
3898/* System header to define __stub macros and hopefully few prototypes, 4295/* System header to define __stub macros and hopefully few prototypes,
3899 which can conflict with char jlimit_startjob (); below. */ 4296 which can conflict with char jlimit_startjob (); below.
3900#include <assert.h> 4297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4298 <limits.h> exists even on freestanding compilers. */
4299#ifdef __STDC__
4300# include <limits.h>
4301#else
4302# include <assert.h>
4303#endif
3901/* Override any gcc2 internal prototype to avoid an error. */ 4304/* Override any gcc2 internal prototype to avoid an error. */
3902#ifdef __cplusplus 4305#ifdef __cplusplus
3903extern "C" 4306extern "C"
4307{
3904#endif 4308#endif
3905/* We use char because int might match the return type of a gcc2 4309/* We use char because int might match the return type of a gcc2
3906 builtin and then its argument prototype would still apply. */ 4310 builtin and then its argument prototype would still apply. */
3907char jlimit_startjob (); 4311char jlimit_startjob ();
3908char (*f) ();
3909
3910int
3911main ()
3912{
3913/* The GNU C library defines this for functions which it implements 4312/* The GNU C library defines this for functions which it implements
3914 to always fail with ENOSYS. Some functions are actually named 4313 to always fail with ENOSYS. Some functions are actually named
3915 something starting with __ and the normal name is an alias. */ 4314 something starting with __ and the normal name is an alias. */
3916#if defined (__stub_jlimit_startjob) || defined (__stub___jlimit_startjob) 4315#if defined (__stub_jlimit_startjob) || defined (__stub___jlimit_startjob)
3917choke me 4316choke me
3918#else 4317#else
3919f = jlimit_startjob; 4318char (*f) () = jlimit_startjob;
4319#endif
4320#ifdef __cplusplus
4321}
3920#endif 4322#endif
3921 4323
4324int
4325main ()
4326{
4327return f != jlimit_startjob;
3922 ; 4328 ;
3923 return 0; 4329 return 0;
3924} 4330}
3925_ACEOF 4331_ACEOF
3926rm -f conftest.$ac_objext conftest$ac_exeext 4332rm -f conftest.$ac_objext conftest$ac_exeext
3927if { (eval echo "$as_me:3927: \"$ac_link\"") >&5 4333if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3928 (eval $ac_link) 2>&5 4334 (eval $ac_link) 2>&5
3929 ac_status=$? 4335 ac_status=$?
3930 echo "$as_me:3930: \$? = $ac_status" >&5 4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); } && 4337 (exit $ac_status); } &&
3932 { ac_try='test -s conftest$ac_exeext' 4338 { ac_try='test -s conftest$ac_exeext'
3933 { (eval echo "$as_me:3933: \"$ac_try\"") >&5 4339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3934 (eval $ac_try) 2>&5 4340 (eval $ac_try) 2>&5
3935 ac_status=$? 4341 ac_status=$?
3936 echo "$as_me:3936: \$? = $ac_status" >&5 4342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3937 (exit $ac_status); }; }; then 4343 (exit $ac_status); }; }; then
3938 ac_cv_func_jlimit_startjob=yes 4344 ac_cv_func_jlimit_startjob=yes
3939else 4345else
3940 echo "$as_me: failed program was:" >&5 4346 echo "$as_me: failed program was:" >&5
3941cat conftest.$ac_ext >&5 4347sed 's/^/| /' conftest.$ac_ext >&5
4348
3942ac_cv_func_jlimit_startjob=no 4349ac_cv_func_jlimit_startjob=no
3943fi 4350fi
3944rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4351rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3945fi 4352fi
3946echo "$as_me:3946: result: $ac_cv_func_jlimit_startjob" >&5 4353echo "$as_me:$LINENO: result: $ac_cv_func_jlimit_startjob" >&5
3947echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6 4354echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6
3948if test $ac_cv_func_jlimit_startjob = yes; then 4355if test $ac_cv_func_jlimit_startjob = yes; then
3949 cat >>confdefs.h <<\EOF 4356 cat >>confdefs.h <<\_ACEOF
3950#define WITH_IRIX_JOBS 1 4357#define WITH_IRIX_JOBS 1
3951EOF 4358_ACEOF
3952 4359
3953fi 4360fi
3954 4361
3955 cat >>confdefs.h <<\EOF 4362 cat >>confdefs.h <<\_ACEOF
3956#define BROKEN_INET_NTOA 1 4363#define BROKEN_INET_NTOA 1
3957EOF 4364_ACEOF
3958 4365
3959 cat >>confdefs.h <<\EOF 4366 cat >>confdefs.h <<\_ACEOF
3960#define WITH_ABBREV_NO_TTY 1 4367#define WITH_ABBREV_NO_TTY 1
3961EOF 4368_ACEOF
3962
3963 cat >>confdefs.h <<\EOF
3964#define LOCKED_PASSWD_STRING "*LK*"
3965EOF
3966 4369
3967 ;; 4370 ;;
3968*-*-linux*) 4371*-*-linux*)
3969 no_dev_ptmx=1 4372 no_dev_ptmx=1
3970 check_for_libcrypt_later=1 4373 check_for_libcrypt_later=1
3971 check_for_openpty_ctty_bug=1 4374 cat >>confdefs.h <<\_ACEOF
3972 cat >>confdefs.h <<\EOF
3973#define DONT_TRY_OTHER_AF 1 4375#define DONT_TRY_OTHER_AF 1
3974EOF 4376_ACEOF
3975 4377
3976 cat >>confdefs.h <<\EOF 4378 cat >>confdefs.h <<\_ACEOF
3977#define PAM_TTY_KLUDGE 1 4379#define PAM_TTY_KLUDGE 1
3978EOF 4380_ACEOF
3979 4381
3980 cat >>confdefs.h <<\EOF 4382 cat >>confdefs.h <<\_ACEOF
3981#define LOCKED_PASSWD_PREFIX "!!" 4383#define SETPROCTITLE_STRATEGY PS_USE_CLOBBER_ARGV
3982EOF 4384_ACEOF
3983 4385
3984 cat >>confdefs.h <<\EOF 4386 cat >>confdefs.h <<\_ACEOF
3985#define SPT_TYPE SPT_REUSEARGV 4387#define SETPROCTITLE_PS_PADDING '\0'
3986EOF 4388_ACEOF
3987 4389
3988 inet6_default_4in6=yes 4390 inet6_default_4in6=yes
3989 case `uname -r` in
3990 1.*|2.0.*)
3991 cat >>confdefs.h <<\EOF
3992#define BROKEN_CMSG_TYPE 1
3993EOF
3994
3995 ;;
3996 esac
3997 ;; 4391 ;;
3998mips-sony-bsd|mips-sony-newsos4) 4392mips-sony-bsd|mips-sony-newsos4)
3999 cat >>confdefs.h <<\EOF 4393 cat >>confdefs.h <<\_ACEOF
4000#define HAVE_NEWS4 1 4394#define HAVE_NEWS4 1
4001EOF 4395_ACEOF
4002 4396
4003 SONY=1 4397 SONY=1
4004 ;; 4398 ;;
@@ -4014,21 +4408,21 @@ EOF
4014 conf_utmp_location=/etc/utmp 4408 conf_utmp_location=/etc/utmp
4015 conf_wtmp_location=/usr/adm/wtmp 4409 conf_wtmp_location=/usr/adm/wtmp
4016 MAIL=/usr/spool/mail 4410 MAIL=/usr/spool/mail
4017 cat >>confdefs.h <<\EOF 4411 cat >>confdefs.h <<\_ACEOF
4018#define HAVE_NEXT 1 4412#define HAVE_NEXT 1
4019EOF 4413_ACEOF
4020 4414
4021 cat >>confdefs.h <<\EOF 4415 cat >>confdefs.h <<\_ACEOF
4022#define BROKEN_REALPATH 1 4416#define BROKEN_REALPATH 1
4023EOF 4417_ACEOF
4024 4418
4025 cat >>confdefs.h <<\EOF 4419 cat >>confdefs.h <<\_ACEOF
4026#define USE_PIPES 1 4420#define USE_PIPES 1
4027EOF 4421_ACEOF
4028 4422
4029 cat >>confdefs.h <<\EOF 4423 cat >>confdefs.h <<\_ACEOF
4030#define BROKEN_SAVED_UIDS 1 4424#define BROKEN_SAVED_UIDS 1
4031EOF 4425_ACEOF
4032 4426
4033 CPPFLAGS="$CPPFLAGS -I/usr/local/include" 4427 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4034 CFLAGS="$CFLAGS" 4428 CFLAGS="$CFLAGS"
@@ -4037,50 +4431,44 @@ EOF
4037 CPPFLAGS="$CPPFLAGS -I/usr/local/include" 4431 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4038 LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib" 4432 LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
4039 need_dash_r=1 4433 need_dash_r=1
4040 cat >>confdefs.h <<\EOF 4434 cat >>confdefs.h <<\_ACEOF
4041#define PAM_SUN_CODEBASE 1 4435#define PAM_SUN_CODEBASE 1
4042EOF 4436_ACEOF
4043 4437
4044 cat >>confdefs.h <<\EOF 4438 cat >>confdefs.h <<\_ACEOF
4045#define LOGIN_NEEDS_UTMPX 1 4439#define LOGIN_NEEDS_UTMPX 1
4046EOF 4440_ACEOF
4047 4441
4048 cat >>confdefs.h <<\EOF 4442 cat >>confdefs.h <<\_ACEOF
4049#define LOGIN_NEEDS_TERM 1 4443#define LOGIN_NEEDS_TERM 1
4050EOF 4444_ACEOF
4051 4445
4052 cat >>confdefs.h <<\EOF 4446 cat >>confdefs.h <<\_ACEOF
4053#define PAM_TTY_KLUDGE 1 4447#define PAM_TTY_KLUDGE 1
4054EOF 4448_ACEOF
4055
4056 cat >>confdefs.h <<\EOF
4057#define LOCKED_PASSWD_STRING "*LK*"
4058EOF
4059 4449
4060 # Pushing STREAMS modules will cause sshd to acquire a controlling tty. 4450 cat >>confdefs.h <<\_ACEOF
4061 cat >>confdefs.h <<\EOF 4451#define STREAMS_PUSH_ACQUIRES_CTTY 1
4062#define SSHD_ACQUIRES_CTTY 1 4452_ACEOF
4063EOF
4064 4453
4065 external_path_file=/etc/default/login
4066 # hardwire lastlog location (can't detect it on some versions) 4454 # hardwire lastlog location (can't detect it on some versions)
4067 conf_lastlog_location="/var/adm/lastlog" 4455 conf_lastlog_location="/var/adm/lastlog"
4068 echo "$as_me:4068: checking for obsolete utmp and wtmp in solaris2.x" >&5 4456 echo "$as_me:$LINENO: checking for obsolete utmp and wtmp in solaris2.x" >&5
4069echo $ECHO_N "checking for obsolete utmp and wtmp in solaris2.x... $ECHO_C" >&6 4457echo $ECHO_N "checking for obsolete utmp and wtmp in solaris2.x... $ECHO_C" >&6
4070 sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'` 4458 sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'`
4071 if test "$sol2ver" -ge 8; then 4459 if test "$sol2ver" -ge 8; then
4072 echo "$as_me:4072: result: yes" >&5 4460 echo "$as_me:$LINENO: result: yes" >&5
4073echo "${ECHO_T}yes" >&6 4461echo "${ECHO_T}yes" >&6
4074 cat >>confdefs.h <<\EOF 4462 cat >>confdefs.h <<\_ACEOF
4075#define DISABLE_UTMP 1 4463#define DISABLE_UTMP 1
4076EOF 4464_ACEOF
4077 4465
4078 cat >>confdefs.h <<\EOF 4466 cat >>confdefs.h <<\_ACEOF
4079#define DISABLE_WTMP 1 4467#define DISABLE_WTMP 1
4080EOF 4468_ACEOF
4081 4469
4082 else 4470 else
4083 echo "$as_me:4083: result: no" >&5 4471 echo "$as_me:$LINENO: result: no" >&5
4084echo "${ECHO_T}no" >&6 4472echo "${ECHO_T}no" >&6
4085 fi 4473 fi
4086 ;; 4474 ;;
@@ -4090,95 +4478,105 @@ echo "${ECHO_T}no" >&6
4090for ac_func in getpwanam 4478for ac_func in getpwanam
4091do 4479do
4092as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4480as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4093echo "$as_me:4093: checking for $ac_func" >&5 4481echo "$as_me:$LINENO: checking for $ac_func" >&5
4094echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4482echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4095if eval "test \"\${$as_ac_var+set}\" = set"; then 4483if eval "test \"\${$as_ac_var+set}\" = set"; then
4096 echo $ECHO_N "(cached) $ECHO_C" >&6 4484 echo $ECHO_N "(cached) $ECHO_C" >&6
4097else 4485else
4098 cat >conftest.$ac_ext <<_ACEOF 4486 cat >conftest.$ac_ext <<_ACEOF
4099#line 4099 "configure" 4487#line $LINENO "configure"
4100#include "confdefs.h" 4488/* confdefs.h. */
4489_ACEOF
4490cat confdefs.h >>conftest.$ac_ext
4491cat >>conftest.$ac_ext <<_ACEOF
4492/* end confdefs.h. */
4101/* System header to define __stub macros and hopefully few prototypes, 4493/* System header to define __stub macros and hopefully few prototypes,
4102 which can conflict with char $ac_func (); below. */ 4494 which can conflict with char $ac_func (); below.
4103#include <assert.h> 4495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4496 <limits.h> exists even on freestanding compilers. */
4497#ifdef __STDC__
4498# include <limits.h>
4499#else
4500# include <assert.h>
4501#endif
4104/* Override any gcc2 internal prototype to avoid an error. */ 4502/* Override any gcc2 internal prototype to avoid an error. */
4105#ifdef __cplusplus 4503#ifdef __cplusplus
4106extern "C" 4504extern "C"
4505{
4107#endif 4506#endif
4108/* We use char because int might match the return type of a gcc2 4507/* We use char because int might match the return type of a gcc2
4109 builtin and then its argument prototype would still apply. */ 4508 builtin and then its argument prototype would still apply. */
4110char $ac_func (); 4509char $ac_func ();
4111char (*f) ();
4112
4113int
4114main ()
4115{
4116/* The GNU C library defines this for functions which it implements 4510/* The GNU C library defines this for functions which it implements
4117 to always fail with ENOSYS. Some functions are actually named 4511 to always fail with ENOSYS. Some functions are actually named
4118 something starting with __ and the normal name is an alias. */ 4512 something starting with __ and the normal name is an alias. */
4119#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4513#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4120choke me 4514choke me
4121#else 4515#else
4122f = $ac_func; 4516char (*f) () = $ac_func;
4517#endif
4518#ifdef __cplusplus
4519}
4123#endif 4520#endif
4124 4521
4522int
4523main ()
4524{
4525return f != $ac_func;
4125 ; 4526 ;
4126 return 0; 4527 return 0;
4127} 4528}
4128_ACEOF 4529_ACEOF
4129rm -f conftest.$ac_objext conftest$ac_exeext 4530rm -f conftest.$ac_objext conftest$ac_exeext
4130if { (eval echo "$as_me:4130: \"$ac_link\"") >&5 4531if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4131 (eval $ac_link) 2>&5 4532 (eval $ac_link) 2>&5
4132 ac_status=$? 4533 ac_status=$?
4133 echo "$as_me:4133: \$? = $ac_status" >&5 4534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4134 (exit $ac_status); } && 4535 (exit $ac_status); } &&
4135 { ac_try='test -s conftest$ac_exeext' 4536 { ac_try='test -s conftest$ac_exeext'
4136 { (eval echo "$as_me:4136: \"$ac_try\"") >&5 4537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4137 (eval $ac_try) 2>&5 4538 (eval $ac_try) 2>&5
4138 ac_status=$? 4539 ac_status=$?
4139 echo "$as_me:4139: \$? = $ac_status" >&5 4540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4140 (exit $ac_status); }; }; then 4541 (exit $ac_status); }; }; then
4141 eval "$as_ac_var=yes" 4542 eval "$as_ac_var=yes"
4142else 4543else
4143 echo "$as_me: failed program was:" >&5 4544 echo "$as_me: failed program was:" >&5
4144cat conftest.$ac_ext >&5 4545sed 's/^/| /' conftest.$ac_ext >&5
4546
4145eval "$as_ac_var=no" 4547eval "$as_ac_var=no"
4146fi 4548fi
4147rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4549rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4148fi 4550fi
4149echo "$as_me:4149: result: `eval echo '${'$as_ac_var'}'`" >&5 4551echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4150echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4552echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4151if test `eval echo '${'$as_ac_var'}'` = yes; then 4553if test `eval echo '${'$as_ac_var'}'` = yes; then
4152 cat >>confdefs.h <<EOF 4554 cat >>confdefs.h <<_ACEOF
4153#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4555#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4154EOF 4556_ACEOF
4155 4557
4156fi 4558fi
4157done 4559done
4158 4560
4159 cat >>confdefs.h <<\EOF 4561 cat >>confdefs.h <<\_ACEOF
4160#define PAM_SUN_CODEBASE 1 4562#define PAM_SUN_CODEBASE 1
4161EOF 4563_ACEOF
4162 4564
4163 conf_utmp_location=/etc/utmp 4565 conf_utmp_location=/etc/utmp
4164 conf_wtmp_location=/var/adm/wtmp 4566 conf_wtmp_location=/var/adm/wtmp
4165 conf_lastlog_location=/var/adm/lastlog 4567 conf_lastlog_location=/var/adm/lastlog
4166 cat >>confdefs.h <<\EOF 4568 cat >>confdefs.h <<\_ACEOF
4167#define USE_PIPES 1 4569#define USE_PIPES 1
4168EOF 4570_ACEOF
4169 4571
4170 ;; 4572 ;;
4171*-ncr-sysv*) 4573*-ncr-sysv*)
4172 CPPFLAGS="$CPPFLAGS -I/usr/local/include" 4574 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4173 LDFLAGS="$LDFLAGS -L/usr/local/lib" 4575 LDFLAGS="$LDFLAGS -L/usr/local/lib"
4174 LIBS="$LIBS -lc89" 4576 LIBS="$LIBS -lc89"
4175 cat >>confdefs.h <<\EOF 4577 cat >>confdefs.h <<\_ACEOF
4176#define USE_PIPES 1 4578#define USE_PIPES 1
4177EOF 4579_ACEOF
4178
4179 cat >>confdefs.h <<\EOF
4180#define SSHD_ACQUIRES_CTTY 1
4181EOF
4182 4580
4183 ;; 4581 ;;
4184*-sni-sysv*) 4582*-sni-sysv*)
@@ -4186,19 +4584,14 @@ EOF
4186 # /usr/ucblib MUST NOT be searched on ReliantUNIX 4584 # /usr/ucblib MUST NOT be searched on ReliantUNIX
4187 LDFLAGS="$LDFLAGS -L/usr/local/lib" 4585 LDFLAGS="$LDFLAGS -L/usr/local/lib"
4188 IPADDR_IN_DISPLAY=yes 4586 IPADDR_IN_DISPLAY=yes
4189 cat >>confdefs.h <<\EOF 4587 cat >>confdefs.h <<\_ACEOF
4190#define USE_PIPES 1 4588#define USE_PIPES 1
4191EOF 4589_ACEOF
4192 4590
4193 cat >>confdefs.h <<\EOF 4591 cat >>confdefs.h <<\_ACEOF
4194#define IP_TOS_IS_BROKEN 1 4592#define IP_TOS_IS_BROKEN 1
4195EOF 4593_ACEOF
4196
4197 cat >>confdefs.h <<\EOF
4198#define SSHD_ACQUIRES_CTTY 1
4199EOF
4200 4594
4201 external_path_file=/etc/default/login
4202 # /usr/ucblib/libucb.a no longer needed on ReliantUNIX 4595 # /usr/ucblib/libucb.a no longer needed on ReliantUNIX
4203 # Attention: always take care to bind libsocket and libnsl before libc, 4596 # Attention: always take care to bind libsocket and libnsl before libc,
4204 # otherwise you will find lots of "SIOCGPGRP errno 22" on syslog 4597 # otherwise you will find lots of "SIOCGPGRP errno 22" on syslog
@@ -4206,41 +4599,17 @@ EOF
4206*-*-sysv4.2*) 4599*-*-sysv4.2*)
4207 CPPFLAGS="$CPPFLAGS -I/usr/local/include" 4600 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4208 LDFLAGS="$LDFLAGS -L/usr/local/lib" 4601 LDFLAGS="$LDFLAGS -L/usr/local/lib"
4209 cat >>confdefs.h <<\EOF 4602 cat >>confdefs.h <<\_ACEOF
4210#define USE_PIPES 1 4603#define USE_PIPES 1
4211EOF 4604_ACEOF
4212
4213 cat >>confdefs.h <<\EOF
4214#define SETEUID_BREAKS_SETUID 1
4215EOF
4216
4217 cat >>confdefs.h <<\EOF
4218#define BROKEN_SETREUID 1
4219EOF
4220
4221 cat >>confdefs.h <<\EOF
4222#define BROKEN_SETREGID 1
4223EOF
4224 4605
4225 ;; 4606 ;;
4226*-*-sysv5*) 4607*-*-sysv5*)
4227 CPPFLAGS="$CPPFLAGS -I/usr/local/include" 4608 CPPFLAGS="$CPPFLAGS -I/usr/local/include"
4228 LDFLAGS="$LDFLAGS -L/usr/local/lib" 4609 LDFLAGS="$LDFLAGS -L/usr/local/lib"
4229 cat >>confdefs.h <<\EOF 4610 cat >>confdefs.h <<\_ACEOF
4230#define USE_PIPES 1 4611#define USE_PIPES 1
4231EOF 4612_ACEOF
4232
4233 cat >>confdefs.h <<\EOF
4234#define SETEUID_BREAKS_SETUID 1
4235EOF
4236
4237 cat >>confdefs.h <<\EOF
4238#define BROKEN_SETREUID 1
4239EOF
4240
4241 cat >>confdefs.h <<\EOF
4242#define BROKEN_SETREGID 1
4243EOF
4244 4613
4245 ;; 4614 ;;
4246*-*-sysv*) 4615*-*-sysv*)
@@ -4253,95 +4622,107 @@ EOF
4253 LIBS="$LIBS -los -lprot -lx -ltinfo -lm" 4622 LIBS="$LIBS -los -lprot -lx -ltinfo -lm"
4254 RANLIB=true 4623 RANLIB=true
4255 no_dev_ptmx=1 4624 no_dev_ptmx=1
4256 cat >>confdefs.h <<\EOF 4625 cat >>confdefs.h <<\_ACEOF
4257#define BROKEN_SYS_TERMIO_H 1 4626#define BROKEN_SYS_TERMIO_H 1
4258EOF 4627_ACEOF
4259 4628
4260 cat >>confdefs.h <<\EOF 4629 cat >>confdefs.h <<\_ACEOF
4261#define USE_PIPES 1 4630#define USE_PIPES 1
4262EOF 4631_ACEOF
4263 4632
4264 cat >>confdefs.h <<\EOF 4633 cat >>confdefs.h <<\_ACEOF
4265#define HAVE_SECUREWARE 1 4634#define HAVE_SECUREWARE 1
4266EOF 4635_ACEOF
4267 4636
4268 cat >>confdefs.h <<\EOF 4637 cat >>confdefs.h <<\_ACEOF
4269#define DISABLE_SHADOW 1 4638#define DISABLE_SHADOW 1
4270EOF 4639_ACEOF
4271 4640
4272 cat >>confdefs.h <<\EOF 4641 cat >>confdefs.h <<\_ACEOF
4273#define BROKEN_SAVED_UIDS 1 4642#define BROKEN_SAVED_UIDS 1
4274EOF 4643_ACEOF
4644
4275 4645
4276 cat >>confdefs.h <<\EOF
4277#define WITH_ABBREV_NO_TTY 1
4278EOF
4279 4646
4280for ac_func in getluid setluid 4647for ac_func in getluid setluid
4281do 4648do
4282as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4649as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4283echo "$as_me:4283: checking for $ac_func" >&5 4650echo "$as_me:$LINENO: checking for $ac_func" >&5
4284echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4651echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4285if eval "test \"\${$as_ac_var+set}\" = set"; then 4652if eval "test \"\${$as_ac_var+set}\" = set"; then
4286 echo $ECHO_N "(cached) $ECHO_C" >&6 4653 echo $ECHO_N "(cached) $ECHO_C" >&6
4287else 4654else
4288 cat >conftest.$ac_ext <<_ACEOF 4655 cat >conftest.$ac_ext <<_ACEOF
4289#line 4289 "configure" 4656#line $LINENO "configure"
4290#include "confdefs.h" 4657/* confdefs.h. */
4658_ACEOF
4659cat confdefs.h >>conftest.$ac_ext
4660cat >>conftest.$ac_ext <<_ACEOF
4661/* end confdefs.h. */
4291/* System header to define __stub macros and hopefully few prototypes, 4662/* System header to define __stub macros and hopefully few prototypes,
4292 which can conflict with char $ac_func (); below. */ 4663 which can conflict with char $ac_func (); below.
4293#include <assert.h> 4664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4665 <limits.h> exists even on freestanding compilers. */
4666#ifdef __STDC__
4667# include <limits.h>
4668#else
4669# include <assert.h>
4670#endif
4294/* Override any gcc2 internal prototype to avoid an error. */ 4671/* Override any gcc2 internal prototype to avoid an error. */
4295#ifdef __cplusplus 4672#ifdef __cplusplus
4296extern "C" 4673extern "C"
4674{
4297#endif 4675#endif
4298/* We use char because int might match the return type of a gcc2 4676/* We use char because int might match the return type of a gcc2
4299 builtin and then its argument prototype would still apply. */ 4677 builtin and then its argument prototype would still apply. */
4300char $ac_func (); 4678char $ac_func ();
4301char (*f) ();
4302
4303int
4304main ()
4305{
4306/* The GNU C library defines this for functions which it implements 4679/* The GNU C library defines this for functions which it implements
4307 to always fail with ENOSYS. Some functions are actually named 4680 to always fail with ENOSYS. Some functions are actually named
4308 something starting with __ and the normal name is an alias. */ 4681 something starting with __ and the normal name is an alias. */
4309#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4682#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4310choke me 4683choke me
4311#else 4684#else
4312f = $ac_func; 4685char (*f) () = $ac_func;
4686#endif
4687#ifdef __cplusplus
4688}
4313#endif 4689#endif
4314 4690
4691int
4692main ()
4693{
4694return f != $ac_func;
4315 ; 4695 ;
4316 return 0; 4696 return 0;
4317} 4697}
4318_ACEOF 4698_ACEOF
4319rm -f conftest.$ac_objext conftest$ac_exeext 4699rm -f conftest.$ac_objext conftest$ac_exeext
4320if { (eval echo "$as_me:4320: \"$ac_link\"") >&5 4700if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4321 (eval $ac_link) 2>&5 4701 (eval $ac_link) 2>&5
4322 ac_status=$? 4702 ac_status=$?
4323 echo "$as_me:4323: \$? = $ac_status" >&5 4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324 (exit $ac_status); } && 4704 (exit $ac_status); } &&
4325 { ac_try='test -s conftest$ac_exeext' 4705 { ac_try='test -s conftest$ac_exeext'
4326 { (eval echo "$as_me:4326: \"$ac_try\"") >&5 4706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4327 (eval $ac_try) 2>&5 4707 (eval $ac_try) 2>&5
4328 ac_status=$? 4708 ac_status=$?
4329 echo "$as_me:4329: \$? = $ac_status" >&5 4709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330 (exit $ac_status); }; }; then 4710 (exit $ac_status); }; }; then
4331 eval "$as_ac_var=yes" 4711 eval "$as_ac_var=yes"
4332else 4712else
4333 echo "$as_me: failed program was:" >&5 4713 echo "$as_me: failed program was:" >&5
4334cat conftest.$ac_ext >&5 4714sed 's/^/| /' conftest.$ac_ext >&5
4715
4335eval "$as_ac_var=no" 4716eval "$as_ac_var=no"
4336fi 4717fi
4337rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4718rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4338fi 4719fi
4339echo "$as_me:4339: result: `eval echo '${'$as_ac_var'}'`" >&5 4720echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4340echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4721echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4341if test `eval echo '${'$as_ac_var'}'` = yes; then 4722if test `eval echo '${'$as_ac_var'}'` = yes; then
4342 cat >>confdefs.h <<EOF 4723 cat >>confdefs.h <<_ACEOF
4343#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4724#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4344EOF 4725_ACEOF
4345 4726
4346fi 4727fi
4347done 4728done
@@ -4357,103 +4738,103 @@ done
4357 LDFLAGS="$LDFLAGS -L/usr/local/lib" 4738 LDFLAGS="$LDFLAGS -L/usr/local/lib"
4358 LIBS="$LIBS -lprot -lx -ltinfo -lm" 4739 LIBS="$LIBS -lprot -lx -ltinfo -lm"
4359 no_dev_ptmx=1 4740 no_dev_ptmx=1
4360 cat >>confdefs.h <<\EOF 4741 cat >>confdefs.h <<\_ACEOF
4361#define USE_PIPES 1 4742#define USE_PIPES 1
4362EOF 4743_ACEOF
4363 4744
4364 cat >>confdefs.h <<\EOF 4745 cat >>confdefs.h <<\_ACEOF
4365#define HAVE_SECUREWARE 1 4746#define HAVE_SECUREWARE 1
4366EOF 4747_ACEOF
4367 4748
4368 cat >>confdefs.h <<\EOF 4749 cat >>confdefs.h <<\_ACEOF
4369#define DISABLE_SHADOW 1 4750#define DISABLE_SHADOW 1
4370EOF 4751_ACEOF
4371 4752
4372 cat >>confdefs.h <<\EOF 4753 cat >>confdefs.h <<\_ACEOF
4373#define DISABLE_FD_PASSING 1 4754#define DISABLE_FD_PASSING 1
4374EOF 4755_ACEOF
4375
4376 cat >>confdefs.h <<\EOF
4377#define SETEUID_BREAKS_SETUID 1
4378EOF
4379
4380 cat >>confdefs.h <<\EOF
4381#define BROKEN_SETREUID 1
4382EOF
4383 4756
4384 cat >>confdefs.h <<\EOF
4385#define BROKEN_SETREGID 1
4386EOF
4387 4757
4388 cat >>confdefs.h <<\EOF
4389#define WITH_ABBREV_NO_TTY 1
4390EOF
4391 4758
4392for ac_func in getluid setluid 4759for ac_func in getluid setluid
4393do 4760do
4394as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4761as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4395echo "$as_me:4395: checking for $ac_func" >&5 4762echo "$as_me:$LINENO: checking for $ac_func" >&5
4396echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4763echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4397if eval "test \"\${$as_ac_var+set}\" = set"; then 4764if eval "test \"\${$as_ac_var+set}\" = set"; then
4398 echo $ECHO_N "(cached) $ECHO_C" >&6 4765 echo $ECHO_N "(cached) $ECHO_C" >&6
4399else 4766else
4400 cat >conftest.$ac_ext <<_ACEOF 4767 cat >conftest.$ac_ext <<_ACEOF
4401#line 4401 "configure" 4768#line $LINENO "configure"
4402#include "confdefs.h" 4769/* confdefs.h. */
4770_ACEOF
4771cat confdefs.h >>conftest.$ac_ext
4772cat >>conftest.$ac_ext <<_ACEOF
4773/* end confdefs.h. */
4403/* System header to define __stub macros and hopefully few prototypes, 4774/* System header to define __stub macros and hopefully few prototypes,
4404 which can conflict with char $ac_func (); below. */ 4775 which can conflict with char $ac_func (); below.
4405#include <assert.h> 4776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4777 <limits.h> exists even on freestanding compilers. */
4778#ifdef __STDC__
4779# include <limits.h>
4780#else
4781# include <assert.h>
4782#endif
4406/* Override any gcc2 internal prototype to avoid an error. */ 4783/* Override any gcc2 internal prototype to avoid an error. */
4407#ifdef __cplusplus 4784#ifdef __cplusplus
4408extern "C" 4785extern "C"
4786{
4409#endif 4787#endif
4410/* We use char because int might match the return type of a gcc2 4788/* We use char because int might match the return type of a gcc2
4411 builtin and then its argument prototype would still apply. */ 4789 builtin and then its argument prototype would still apply. */
4412char $ac_func (); 4790char $ac_func ();
4413char (*f) ();
4414
4415int
4416main ()
4417{
4418/* The GNU C library defines this for functions which it implements 4791/* The GNU C library defines this for functions which it implements
4419 to always fail with ENOSYS. Some functions are actually named 4792 to always fail with ENOSYS. Some functions are actually named
4420 something starting with __ and the normal name is an alias. */ 4793 something starting with __ and the normal name is an alias. */
4421#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4794#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4422choke me 4795choke me
4423#else 4796#else
4424f = $ac_func; 4797char (*f) () = $ac_func;
4798#endif
4799#ifdef __cplusplus
4800}
4425#endif 4801#endif
4426 4802
4803int
4804main ()
4805{
4806return f != $ac_func;
4427 ; 4807 ;
4428 return 0; 4808 return 0;
4429} 4809}
4430_ACEOF 4810_ACEOF
4431rm -f conftest.$ac_objext conftest$ac_exeext 4811rm -f conftest.$ac_objext conftest$ac_exeext
4432if { (eval echo "$as_me:4432: \"$ac_link\"") >&5 4812if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4433 (eval $ac_link) 2>&5 4813 (eval $ac_link) 2>&5
4434 ac_status=$? 4814 ac_status=$?
4435 echo "$as_me:4435: \$? = $ac_status" >&5 4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436 (exit $ac_status); } && 4816 (exit $ac_status); } &&
4437 { ac_try='test -s conftest$ac_exeext' 4817 { ac_try='test -s conftest$ac_exeext'
4438 { (eval echo "$as_me:4438: \"$ac_try\"") >&5 4818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4439 (eval $ac_try) 2>&5 4819 (eval $ac_try) 2>&5
4440 ac_status=$? 4820 ac_status=$?
4441 echo "$as_me:4441: \$? = $ac_status" >&5 4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4442 (exit $ac_status); }; }; then 4822 (exit $ac_status); }; }; then
4443 eval "$as_ac_var=yes" 4823 eval "$as_ac_var=yes"
4444else 4824else
4445 echo "$as_me: failed program was:" >&5 4825 echo "$as_me: failed program was:" >&5
4446cat conftest.$ac_ext >&5 4826sed 's/^/| /' conftest.$ac_ext >&5
4827
4447eval "$as_ac_var=no" 4828eval "$as_ac_var=no"
4448fi 4829fi
4449rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4830rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4450fi 4831fi
4451echo "$as_me:4451: result: `eval echo '${'$as_ac_var'}'`" >&5 4832echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4452echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4833echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4453if test `eval echo '${'$as_ac_var'}'` = yes; then 4834if test `eval echo '${'$as_ac_var'}'` = yes; then
4454 cat >>confdefs.h <<EOF 4835 cat >>confdefs.h <<_ACEOF
4455#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4836#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4456EOF 4837_ACEOF
4457 4838
4458fi 4839fi
4459done 4840done
@@ -4461,54 +4842,37 @@ done
4461 MANTYPE=man 4842 MANTYPE=man
4462 ;; 4843 ;;
4463*-*-unicosmk*) 4844*-*-unicosmk*)
4464 cat >>confdefs.h <<\EOF 4845 cat >>confdefs.h <<\_ACEOF
4465#define USE_PIPES 1 4846#define USE_PIPES 1
4466EOF 4847_ACEOF
4467 4848
4468 cat >>confdefs.h <<\EOF 4849 cat >>confdefs.h <<\_ACEOF
4469#define DISABLE_FD_PASSING 1 4850#define DISABLE_FD_PASSING 1
4470EOF 4851_ACEOF
4471 4852
4472 LDFLAGS="$LDFLAGS" 4853 LDFLAGS="$LDFLAGS"
4473 LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm" 4854 LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm"
4474 MANTYPE=cat 4855 MANTYPE=cat
4475 ;; 4856 ;;
4476*-*-unicosmp*)
4477 cat >>confdefs.h <<\EOF
4478#define WITH_ABBREV_NO_TTY 1
4479EOF
4480
4481 cat >>confdefs.h <<\EOF
4482#define USE_PIPES 1
4483EOF
4484
4485 cat >>confdefs.h <<\EOF
4486#define DISABLE_FD_PASSING 1
4487EOF
4488
4489 LDFLAGS="$LDFLAGS"
4490 LIBS="$LIBS -lgen -lacid"
4491 MANTYPE=cat
4492 ;;
4493*-*-unicos*) 4857*-*-unicos*)
4494 cat >>confdefs.h <<\EOF 4858 cat >>confdefs.h <<\_ACEOF
4495#define USE_PIPES 1 4859#define USE_PIPES 1
4496EOF 4860_ACEOF
4497 4861
4498 cat >>confdefs.h <<\EOF 4862 cat >>confdefs.h <<\_ACEOF
4499#define DISABLE_FD_PASSING 1 4863#define DISABLE_FD_PASSING 1
4500EOF 4864_ACEOF
4501 4865
4502 cat >>confdefs.h <<\EOF 4866 cat >>confdefs.h <<\_ACEOF
4503#define NO_SSH_LASTLOG 1 4867#define NO_SSH_LASTLOG 1
4504EOF 4868_ACEOF
4505 4869
4506 LDFLAGS="$LDFLAGS -Wl,-Dmsglevel=334:fatal" 4870 LDFLAGS="$LDFLAGS -Wl,-Dmsglevel=334:fatal"
4507 LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm" 4871 LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm"
4508 MANTYPE=cat 4872 MANTYPE=cat
4509 ;; 4873 ;;
4510*-dec-osf*) 4874*-dec-osf*)
4511 echo "$as_me:4511: checking for Digital Unix SIA" >&5 4875 echo "$as_me:$LINENO: checking for Digital Unix SIA" >&5
4512echo $ECHO_N "checking for Digital Unix SIA... $ECHO_C" >&6 4876echo $ECHO_N "checking for Digital Unix SIA... $ECHO_C" >&6
4513 no_osfsia="" 4877 no_osfsia=""
4514 4878
@@ -4517,7 +4881,7 @@ if test "${with_osfsia+set}" = set; then
4517 withval="$with_osfsia" 4881 withval="$with_osfsia"
4518 4882
4519 if test "x$withval" = "xno" ; then 4883 if test "x$withval" = "xno" ; then
4520 echo "$as_me:4520: result: disabled" >&5 4884 echo "$as_me:$LINENO: result: disabled" >&5
4521echo "${ECHO_T}disabled" >&6 4885echo "${ECHO_T}disabled" >&6
4522 no_osfsia=1 4886 no_osfsia=1
4523 fi 4887 fi
@@ -4525,60 +4889,52 @@ echo "${ECHO_T}disabled" >&6
4525fi; 4889fi;
4526 if test -z "$no_osfsia" ; then 4890 if test -z "$no_osfsia" ; then
4527 if test -f /etc/sia/matrix.conf; then 4891 if test -f /etc/sia/matrix.conf; then
4528 echo "$as_me:4528: result: yes" >&5 4892 echo "$as_me:$LINENO: result: yes" >&5
4529echo "${ECHO_T}yes" >&6 4893echo "${ECHO_T}yes" >&6
4530 cat >>confdefs.h <<\EOF 4894 cat >>confdefs.h <<\_ACEOF
4531#define HAVE_OSF_SIA 1 4895#define HAVE_OSF_SIA 1
4532EOF 4896_ACEOF
4533 4897
4534 cat >>confdefs.h <<\EOF 4898 cat >>confdefs.h <<\_ACEOF
4535#define DISABLE_LOGIN 1 4899#define DISABLE_LOGIN 1
4536EOF 4900_ACEOF
4537 4901
4538 cat >>confdefs.h <<\EOF 4902 cat >>confdefs.h <<\_ACEOF
4539#define DISABLE_FD_PASSING 1 4903#define DISABLE_FD_PASSING 1
4540EOF 4904_ACEOF
4541 4905
4542 LIBS="$LIBS -lsecurity -ldb -lm -laud" 4906 LIBS="$LIBS -lsecurity -ldb -lm -laud"
4543 else 4907 else
4544 echo "$as_me:4544: result: no" >&5 4908 echo "$as_me:$LINENO: result: no" >&5
4545echo "${ECHO_T}no" >&6 4909echo "${ECHO_T}no" >&6
4546 fi 4910 fi
4547 fi 4911 fi
4548 cat >>confdefs.h <<\EOF 4912 cat >>confdefs.h <<\_ACEOF
4549#define DISABLE_FD_PASSING 1 4913#define DISABLE_FD_PASSING 1
4550EOF 4914_ACEOF
4551
4552 cat >>confdefs.h <<\EOF
4553#define BROKEN_GETADDRINFO 1
4554EOF
4555
4556 cat >>confdefs.h <<\EOF
4557#define LOCKED_PASSWD_SUBSTR "Nologin"
4558EOF
4559 4915
4560 ;; 4916 ;;
4561 4917
4562*-*-nto-qnx) 4918*-*-nto-qnx)
4563 cat >>confdefs.h <<\EOF 4919 cat >>confdefs.h <<\_ACEOF
4564#define USE_PIPES 1 4920#define USE_PIPES 1
4565EOF 4921_ACEOF
4566 4922
4567 cat >>confdefs.h <<\EOF 4923 cat >>confdefs.h <<\_ACEOF
4568#define NO_X11_UNIX_SOCKETS 1 4924#define NO_X11_UNIX_SOCKETS 1
4569EOF 4925_ACEOF
4570 4926
4571 cat >>confdefs.h <<\EOF 4927 cat >>confdefs.h <<\_ACEOF
4572#define MISSING_NFDBITS 1 4928#define MISSING_NFDBITS 1
4573EOF 4929_ACEOF
4574 4930
4575 cat >>confdefs.h <<\EOF 4931 cat >>confdefs.h <<\_ACEOF
4576#define MISSING_HOWMANY 1 4932#define MISSING_HOWMANY 1
4577EOF 4933_ACEOF
4578 4934
4579 cat >>confdefs.h <<\EOF 4935 cat >>confdefs.h <<\_ACEOF
4580#define MISSING_FD_MASK 1 4936#define MISSING_FD_MASK 1
4581EOF 4937_ACEOF
4582 4938
4583 ;; 4939 ;;
4584esac 4940esac
@@ -4593,6 +4949,7 @@ if test "${with_cflags+set}" = set; then
4593 CFLAGS="$CFLAGS $withval" 4949 CFLAGS="$CFLAGS $withval"
4594 fi 4950 fi
4595 4951
4952
4596fi; 4953fi;
4597 4954
4598# Check whether --with-cppflags or --without-cppflags was given. 4955# Check whether --with-cppflags or --without-cppflags was given.
@@ -4603,6 +4960,7 @@ if test "${with_cppflags+set}" = set; then
4603 CPPFLAGS="$CPPFLAGS $withval" 4960 CPPFLAGS="$CPPFLAGS $withval"
4604 fi 4961 fi
4605 4962
4963
4606fi; 4964fi;
4607 4965
4608# Check whether --with-ldflags or --without-ldflags was given. 4966# Check whether --with-ldflags or --without-ldflags was given.
@@ -4613,6 +4971,7 @@ if test "${with_ldflags+set}" = set; then
4613 LDFLAGS="$LDFLAGS $withval" 4971 LDFLAGS="$LDFLAGS $withval"
4614 fi 4972 fi
4615 4973
4974
4616fi; 4975fi;
4617 4976
4618# Check whether --with-libs or --without-libs was given. 4977# Check whether --with-libs or --without-libs was given.
@@ -4623,82 +4982,370 @@ if test "${with_libs+set}" = set; then
4623 LIBS="$LIBS $withval" 4982 LIBS="$LIBS $withval"
4624 fi 4983 fi
4625 4984
4985
4626fi; 4986fi;
4627 4987
4628echo "$as_me:4628: checking compiler and flags for sanity" >&5 4988# Checks for header files.
4629echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6 4989
4630if test "$cross_compiling" = yes; then 4990echo "$as_me:$LINENO: checking for egrep" >&5
4631 { { echo "$as_me:4631: error: cannot run test program while cross compiling" >&5 4991echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4632echo "$as_me: error: cannot run test program while cross compiling" >&2;} 4992if test "${ac_cv_prog_egrep+set}" = set; then
4633 { (exit 1); exit 1; }; } 4993 echo $ECHO_N "(cached) $ECHO_C" >&6
4994else
4995 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4996 then ac_cv_prog_egrep='grep -E'
4997 else ac_cv_prog_egrep='egrep'
4998 fi
4999fi
5000echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5001echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5002 EGREP=$ac_cv_prog_egrep
5003
5004
5005echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5006echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5007if test "${ac_cv_header_stdc+set}" = set; then
5008 echo $ECHO_N "(cached) $ECHO_C" >&6
4634else 5009else
4635 cat >conftest.$ac_ext <<_ACEOF 5010 cat >conftest.$ac_ext <<_ACEOF
4636#line 4636 "configure" 5011#line $LINENO "configure"
4637#include "confdefs.h" 5012/* confdefs.h. */
5013_ACEOF
5014cat confdefs.h >>conftest.$ac_ext
5015cat >>conftest.$ac_ext <<_ACEOF
5016/* end confdefs.h. */
5017#include <stdlib.h>
5018#include <stdarg.h>
5019#include <string.h>
5020#include <float.h>
4638 5021
4639#include <stdio.h> 5022int
4640int main(){exit(0);} 5023main ()
5024{
5025
5026 ;
5027 return 0;
5028}
5029_ACEOF
5030rm -f conftest.$ac_objext
5031if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5032 (eval $ac_compile) 2>&5
5033 ac_status=$?
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); } &&
5036 { ac_try='test -s conftest.$ac_objext'
5037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5038 (eval $ac_try) 2>&5
5039 ac_status=$?
5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041 (exit $ac_status); }; }; then
5042 ac_cv_header_stdc=yes
5043else
5044 echo "$as_me: failed program was:" >&5
5045sed 's/^/| /' conftest.$ac_ext >&5
5046
5047ac_cv_header_stdc=no
5048fi
5049rm -f conftest.$ac_objext conftest.$ac_ext
5050
5051if test $ac_cv_header_stdc = yes; then
5052 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5053 cat >conftest.$ac_ext <<_ACEOF
5054#line $LINENO "configure"
5055/* confdefs.h. */
5056_ACEOF
5057cat confdefs.h >>conftest.$ac_ext
5058cat >>conftest.$ac_ext <<_ACEOF
5059/* end confdefs.h. */
5060#include <string.h>
4641 5061
4642_ACEOF 5062_ACEOF
5063if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5064 $EGREP "memchr" >/dev/null 2>&1; then
5065 :
5066else
5067 ac_cv_header_stdc=no
5068fi
5069rm -f conftest*
5070
5071fi
5072
5073if test $ac_cv_header_stdc = yes; then
5074 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5075 cat >conftest.$ac_ext <<_ACEOF
5076#line $LINENO "configure"
5077/* confdefs.h. */
5078_ACEOF
5079cat confdefs.h >>conftest.$ac_ext
5080cat >>conftest.$ac_ext <<_ACEOF
5081/* end confdefs.h. */
5082#include <stdlib.h>
5083
5084_ACEOF
5085if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5086 $EGREP "free" >/dev/null 2>&1; then
5087 :
5088else
5089 ac_cv_header_stdc=no
5090fi
5091rm -f conftest*
5092
5093fi
5094
5095if test $ac_cv_header_stdc = yes; then
5096 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5097 if test "$cross_compiling" = yes; then
5098 :
5099else
5100 cat >conftest.$ac_ext <<_ACEOF
5101#line $LINENO "configure"
5102/* confdefs.h. */
5103_ACEOF
5104cat confdefs.h >>conftest.$ac_ext
5105cat >>conftest.$ac_ext <<_ACEOF
5106/* end confdefs.h. */
5107#include <ctype.h>
5108#if ((' ' & 0x0FF) == 0x020)
5109# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5110# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5111#else
5112# define ISLOWER(c) \
5113 (('a' <= (c) && (c) <= 'i') \
5114 || ('j' <= (c) && (c) <= 'r') \
5115 || ('s' <= (c) && (c) <= 'z'))
5116# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5117#endif
5118
5119#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5120int
5121main ()
5122{
5123 int i;
5124 for (i = 0; i < 256; i++)
5125 if (XOR (islower (i), ISLOWER (i))
5126 || toupper (i) != TOUPPER (i))
5127 exit(2);
5128 exit (0);
5129}
5130_ACEOF
4643rm -f conftest$ac_exeext 5131rm -f conftest$ac_exeext
4644if { (eval echo "$as_me:4644: \"$ac_link\"") >&5 5132if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4645 (eval $ac_link) 2>&5 5133 (eval $ac_link) 2>&5
4646 ac_status=$? 5134 ac_status=$?
4647 echo "$as_me:4647: \$? = $ac_status" >&5 5135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4648 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5136 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4649 { (eval echo "$as_me:4649: \"$ac_try\"") >&5 5137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4650 (eval $ac_try) 2>&5 5138 (eval $ac_try) 2>&5
4651 ac_status=$? 5139 ac_status=$?
4652 echo "$as_me:4652: \$? = $ac_status" >&5 5140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653 (exit $ac_status); }; }; then 5141 (exit $ac_status); }; }; then
4654 echo "$as_me:4654: result: yes" >&5 5142 :
4655echo "${ECHO_T}yes" >&6
4656else 5143else
4657 echo "$as_me: program exited with status $ac_status" >&5 5144 echo "$as_me: program exited with status $ac_status" >&5
4658echo "$as_me: failed program was:" >&5 5145echo "$as_me: failed program was:" >&5
4659cat conftest.$ac_ext >&5 5146sed 's/^/| /' conftest.$ac_ext >&5
4660 5147
4661 echo "$as_me:4661: result: no" >&5 5148( exit $ac_status )
4662echo "${ECHO_T}no" >&6 5149ac_cv_header_stdc=no
4663 { { echo "$as_me:4663: error: *** compiler cannot create working executables, check config.log ***" >&5 5150fi
4664echo "$as_me: error: *** compiler cannot create working executables, check config.log ***" >&2;} 5151rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4665 { (exit 1); exit 1; }; } 5152fi
5153fi
5154fi
5155echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5156echo "${ECHO_T}$ac_cv_header_stdc" >&6
5157if test $ac_cv_header_stdc = yes; then
5158
5159cat >>confdefs.h <<\_ACEOF
5160#define STDC_HEADERS 1
5161_ACEOF
5162
5163fi
5164
5165# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5176 inttypes.h stdint.h unistd.h
5177do
5178as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5179echo "$as_me:$LINENO: checking for $ac_header" >&5
5180echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5181if eval "test \"\${$as_ac_Header+set}\" = set"; then
5182 echo $ECHO_N "(cached) $ECHO_C" >&6
5183else
5184 cat >conftest.$ac_ext <<_ACEOF
5185#line $LINENO "configure"
5186/* confdefs.h. */
5187_ACEOF
5188cat confdefs.h >>conftest.$ac_ext
5189cat >>conftest.$ac_ext <<_ACEOF
5190/* end confdefs.h. */
5191$ac_includes_default
5192
5193#include <$ac_header>
5194_ACEOF
5195rm -f conftest.$ac_objext
5196if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5197 (eval $ac_compile) 2>&5
5198 ac_status=$?
5199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5200 (exit $ac_status); } &&
5201 { ac_try='test -s conftest.$ac_objext'
5202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5203 (eval $ac_try) 2>&5
5204 ac_status=$?
5205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5206 (exit $ac_status); }; }; then
5207 eval "$as_ac_Header=yes"
5208else
5209 echo "$as_me: failed program was:" >&5
5210sed 's/^/| /' conftest.$ac_ext >&5
4666 5211
5212eval "$as_ac_Header=no"
4667fi 5213fi
4668rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5214rm -f conftest.$ac_objext conftest.$ac_ext
5215fi
5216echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5217echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5218if test `eval echo '${'$as_ac_Header'}'` = yes; then
5219 cat >>confdefs.h <<_ACEOF
5220#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5221_ACEOF
5222
4669fi 5223fi
4670 5224
4671# Checks for header files. 5225done
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
4672 5245
4673for ac_header in bstring.h crypt.h endian.h features.h floatingpoint.h \ 5246
4674 getopt.h glob.h ia.h lastlog.h limits.h login.h \ 5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273for ac_header in bstring.h crypt.h endian.h floatingpoint.h \
5274 getopt.h glob.h ia.h lastlog.h libgen.h limits.h login.h \
4675 login_cap.h maillock.h netdb.h netgroup.h \ 5275 login_cap.h maillock.h netdb.h netgroup.h \
4676 netinet/in_systm.h paths.h pty.h readpassphrase.h \ 5276 netinet/in_systm.h paths.h pty.h readpassphrase.h \
4677 rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \ 5277 rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \
4678 strings.h sys/strtio.h sys/audit.h sys/bitypes.h sys/bsdtty.h \ 5278 strings.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h \
4679 sys/cdefs.h sys/mman.h sys/pstat.h sys/select.h sys/stat.h \ 5279 sys/mman.h sys/pstat.h sys/select.h sys/stat.h \
4680 sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h \ 5280 sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h \
4681 sys/un.h time.h tmpdir.h ttyent.h usersec.h \ 5281 sys/un.h time.h tmpdir.h ttyent.h usersec.h \
4682 util.h utime.h utmp.h utmpx.h 5282 util.h utime.h utmp.h utmpx.h
4683do 5283do
4684as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5284as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4685echo "$as_me:4685: checking for $ac_header" >&5 5285if eval "test \"\${$as_ac_Header+set}\" = set"; then
5286 echo "$as_me:$LINENO: checking for $ac_header" >&5
4686echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5287echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4687if eval "test \"\${$as_ac_Header+set}\" = set"; then 5288if eval "test \"\${$as_ac_Header+set}\" = set"; then
4688 echo $ECHO_N "(cached) $ECHO_C" >&6 5289 echo $ECHO_N "(cached) $ECHO_C" >&6
5290fi
5291echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5292echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4689else 5293else
4690 cat >conftest.$ac_ext <<_ACEOF 5294 # Is the header compilable?
4691#line 4691 "configure" 5295echo "$as_me:$LINENO: checking $ac_header usability" >&5
4692#include "confdefs.h" 5296echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5297cat >conftest.$ac_ext <<_ACEOF
5298#line $LINENO "configure"
5299/* confdefs.h. */
5300_ACEOF
5301cat confdefs.h >>conftest.$ac_ext
5302cat >>conftest.$ac_ext <<_ACEOF
5303/* end confdefs.h. */
5304$ac_includes_default
5305#include <$ac_header>
5306_ACEOF
5307rm -f conftest.$ac_objext
5308if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5309 (eval $ac_compile) 2>&5
5310 ac_status=$?
5311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5312 (exit $ac_status); } &&
5313 { ac_try='test -s conftest.$ac_objext'
5314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5315 (eval $ac_try) 2>&5
5316 ac_status=$?
5317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5318 (exit $ac_status); }; }; then
5319 ac_header_compiler=yes
5320else
5321 echo "$as_me: failed program was:" >&5
5322sed 's/^/| /' conftest.$ac_ext >&5
5323
5324ac_header_compiler=no
5325fi
5326rm -f conftest.$ac_objext conftest.$ac_ext
5327echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5328echo "${ECHO_T}$ac_header_compiler" >&6
5329
5330# Is the header present?
5331echo "$as_me:$LINENO: checking $ac_header presence" >&5
5332echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5333cat >conftest.$ac_ext <<_ACEOF
5334#line $LINENO "configure"
5335/* confdefs.h. */
5336_ACEOF
5337cat confdefs.h >>conftest.$ac_ext
5338cat >>conftest.$ac_ext <<_ACEOF
5339/* end confdefs.h. */
4693#include <$ac_header> 5340#include <$ac_header>
4694_ACEOF 5341_ACEOF
4695if { (eval echo "$as_me:4695: \"$ac_cpp conftest.$ac_ext\"") >&5 5342if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4696 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5343 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4697 ac_status=$? 5344 ac_status=$?
4698 egrep -v '^ *\+' conftest.er1 >conftest.err 5345 grep -v '^ *+' conftest.er1 >conftest.err
4699 rm -f conftest.er1 5346 rm -f conftest.er1
4700 cat conftest.err >&5 5347 cat conftest.err >&5
4701 echo "$as_me:4701: \$? = $ac_status" >&5 5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4702 (exit $ac_status); } >/dev/null; then 5349 (exit $ac_status); } >/dev/null; then
4703 if test -s conftest.err; then 5350 if test -s conftest.err; then
4704 ac_cpp_err=$ac_c_preproc_warn_flag 5351 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -4709,88 +5356,149 @@ else
4709 ac_cpp_err=yes 5356 ac_cpp_err=yes
4710fi 5357fi
4711if test -z "$ac_cpp_err"; then 5358if test -z "$ac_cpp_err"; then
4712 eval "$as_ac_Header=yes" 5359 ac_header_preproc=yes
4713else 5360else
4714 echo "$as_me: failed program was:" >&5 5361 echo "$as_me: failed program was:" >&5
4715 cat conftest.$ac_ext >&5 5362sed 's/^/| /' conftest.$ac_ext >&5
4716 eval "$as_ac_Header=no" 5363
5364 ac_header_preproc=no
4717fi 5365fi
4718rm -f conftest.err conftest.$ac_ext 5366rm -f conftest.err conftest.$ac_ext
5367echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5368echo "${ECHO_T}$ac_header_preproc" >&6
5369
5370# So? What about this header?
5371case $ac_header_compiler:$ac_header_preproc in
5372 yes:no )
5373 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5374echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5375 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5376echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5377 (
5378 cat <<\_ASBOX
5379## ------------------------------------ ##
5380## Report this to bug-autoconf@gnu.org. ##
5381## ------------------------------------ ##
5382_ASBOX
5383 ) |
5384 sed "s/^/$as_me: WARNING: /" >&2
5385 ;;
5386 no:yes )
5387 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5388echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5389 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5390echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5392echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5393 (
5394 cat <<\_ASBOX
5395## ------------------------------------ ##
5396## Report this to bug-autoconf@gnu.org. ##
5397## ------------------------------------ ##
5398_ASBOX
5399 ) |
5400 sed "s/^/$as_me: WARNING: /" >&2
5401 ;;
5402esac
5403echo "$as_me:$LINENO: checking for $ac_header" >&5
5404echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5405if eval "test \"\${$as_ac_Header+set}\" = set"; then
5406 echo $ECHO_N "(cached) $ECHO_C" >&6
5407else
5408 eval "$as_ac_Header=$ac_header_preproc"
4719fi 5409fi
4720echo "$as_me:4720: result: `eval echo '${'$as_ac_Header'}'`" >&5 5410echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4721echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5411echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5412
5413fi
4722if test `eval echo '${'$as_ac_Header'}'` = yes; then 5414if test `eval echo '${'$as_ac_Header'}'` = yes; then
4723 cat >>confdefs.h <<EOF 5415 cat >>confdefs.h <<_ACEOF
4724#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5416#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4725EOF 5417_ACEOF
4726 5418
4727fi 5419fi
5420
4728done 5421done
4729 5422
5423
4730# Checks for libraries. 5424# Checks for libraries.
4731echo "$as_me:4731: checking for yp_match" >&5 5425echo "$as_me:$LINENO: checking for yp_match" >&5
4732echo $ECHO_N "checking for yp_match... $ECHO_C" >&6 5426echo $ECHO_N "checking for yp_match... $ECHO_C" >&6
4733if test "${ac_cv_func_yp_match+set}" = set; then 5427if test "${ac_cv_func_yp_match+set}" = set; then
4734 echo $ECHO_N "(cached) $ECHO_C" >&6 5428 echo $ECHO_N "(cached) $ECHO_C" >&6
4735else 5429else
4736 cat >conftest.$ac_ext <<_ACEOF 5430 cat >conftest.$ac_ext <<_ACEOF
4737#line 4737 "configure" 5431#line $LINENO "configure"
4738#include "confdefs.h" 5432/* confdefs.h. */
5433_ACEOF
5434cat confdefs.h >>conftest.$ac_ext
5435cat >>conftest.$ac_ext <<_ACEOF
5436/* end confdefs.h. */
4739/* System header to define __stub macros and hopefully few prototypes, 5437/* System header to define __stub macros and hopefully few prototypes,
4740 which can conflict with char yp_match (); below. */ 5438 which can conflict with char yp_match (); below.
4741#include <assert.h> 5439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5440 <limits.h> exists even on freestanding compilers. */
5441#ifdef __STDC__
5442# include <limits.h>
5443#else
5444# include <assert.h>
5445#endif
4742/* Override any gcc2 internal prototype to avoid an error. */ 5446/* Override any gcc2 internal prototype to avoid an error. */
4743#ifdef __cplusplus 5447#ifdef __cplusplus
4744extern "C" 5448extern "C"
5449{
4745#endif 5450#endif
4746/* We use char because int might match the return type of a gcc2 5451/* We use char because int might match the return type of a gcc2
4747 builtin and then its argument prototype would still apply. */ 5452 builtin and then its argument prototype would still apply. */
4748char yp_match (); 5453char yp_match ();
4749char (*f) ();
4750
4751int
4752main ()
4753{
4754/* The GNU C library defines this for functions which it implements 5454/* The GNU C library defines this for functions which it implements
4755 to always fail with ENOSYS. Some functions are actually named 5455 to always fail with ENOSYS. Some functions are actually named
4756 something starting with __ and the normal name is an alias. */ 5456 something starting with __ and the normal name is an alias. */
4757#if defined (__stub_yp_match) || defined (__stub___yp_match) 5457#if defined (__stub_yp_match) || defined (__stub___yp_match)
4758choke me 5458choke me
4759#else 5459#else
4760f = yp_match; 5460char (*f) () = yp_match;
5461#endif
5462#ifdef __cplusplus
5463}
4761#endif 5464#endif
4762 5465
5466int
5467main ()
5468{
5469return f != yp_match;
4763 ; 5470 ;
4764 return 0; 5471 return 0;
4765} 5472}
4766_ACEOF 5473_ACEOF
4767rm -f conftest.$ac_objext conftest$ac_exeext 5474rm -f conftest.$ac_objext conftest$ac_exeext
4768if { (eval echo "$as_me:4768: \"$ac_link\"") >&5 5475if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4769 (eval $ac_link) 2>&5 5476 (eval $ac_link) 2>&5
4770 ac_status=$? 5477 ac_status=$?
4771 echo "$as_me:4771: \$? = $ac_status" >&5 5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4772 (exit $ac_status); } && 5479 (exit $ac_status); } &&
4773 { ac_try='test -s conftest$ac_exeext' 5480 { ac_try='test -s conftest$ac_exeext'
4774 { (eval echo "$as_me:4774: \"$ac_try\"") >&5 5481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4775 (eval $ac_try) 2>&5 5482 (eval $ac_try) 2>&5
4776 ac_status=$? 5483 ac_status=$?
4777 echo "$as_me:4777: \$? = $ac_status" >&5 5484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4778 (exit $ac_status); }; }; then 5485 (exit $ac_status); }; }; then
4779 ac_cv_func_yp_match=yes 5486 ac_cv_func_yp_match=yes
4780else 5487else
4781 echo "$as_me: failed program was:" >&5 5488 echo "$as_me: failed program was:" >&5
4782cat conftest.$ac_ext >&5 5489sed 's/^/| /' conftest.$ac_ext >&5
5490
4783ac_cv_func_yp_match=no 5491ac_cv_func_yp_match=no
4784fi 5492fi
4785rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5493rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4786fi 5494fi
4787echo "$as_me:4787: result: $ac_cv_func_yp_match" >&5 5495echo "$as_me:$LINENO: result: $ac_cv_func_yp_match" >&5
4788echo "${ECHO_T}$ac_cv_func_yp_match" >&6 5496echo "${ECHO_T}$ac_cv_func_yp_match" >&6
4789if test $ac_cv_func_yp_match = yes; then 5497if test $ac_cv_func_yp_match = yes; then
4790 : 5498 :
4791else 5499else
4792 5500
4793echo "$as_me:4793: checking for yp_match in -lnsl" >&5 5501echo "$as_me:$LINENO: checking for yp_match in -lnsl" >&5
4794echo $ECHO_N "checking for yp_match in -lnsl... $ECHO_C" >&6 5502echo $ECHO_N "checking for yp_match in -lnsl... $ECHO_C" >&6
4795if test "${ac_cv_lib_nsl_yp_match+set}" = set; then 5503if test "${ac_cv_lib_nsl_yp_match+set}" = set; then
4796 echo $ECHO_N "(cached) $ECHO_C" >&6 5504 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -4798,8 +5506,12 @@ else
4798 ac_check_lib_save_LIBS=$LIBS 5506 ac_check_lib_save_LIBS=$LIBS
4799LIBS="-lnsl $LIBS" 5507LIBS="-lnsl $LIBS"
4800cat >conftest.$ac_ext <<_ACEOF 5508cat >conftest.$ac_ext <<_ACEOF
4801#line 4801 "configure" 5509#line $LINENO "configure"
4802#include "confdefs.h" 5510/* confdefs.h. */
5511_ACEOF
5512cat confdefs.h >>conftest.$ac_ext
5513cat >>conftest.$ac_ext <<_ACEOF
5514/* end confdefs.h. */
4803 5515
4804/* Override any gcc2 internal prototype to avoid an error. */ 5516/* Override any gcc2 internal prototype to avoid an error. */
4805#ifdef __cplusplus 5517#ifdef __cplusplus
@@ -4817,32 +5529,33 @@ yp_match ();
4817} 5529}
4818_ACEOF 5530_ACEOF
4819rm -f conftest.$ac_objext conftest$ac_exeext 5531rm -f conftest.$ac_objext conftest$ac_exeext
4820if { (eval echo "$as_me:4820: \"$ac_link\"") >&5 5532if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4821 (eval $ac_link) 2>&5 5533 (eval $ac_link) 2>&5
4822 ac_status=$? 5534 ac_status=$?
4823 echo "$as_me:4823: \$? = $ac_status" >&5 5535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824 (exit $ac_status); } && 5536 (exit $ac_status); } &&
4825 { ac_try='test -s conftest$ac_exeext' 5537 { ac_try='test -s conftest$ac_exeext'
4826 { (eval echo "$as_me:4826: \"$ac_try\"") >&5 5538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4827 (eval $ac_try) 2>&5 5539 (eval $ac_try) 2>&5
4828 ac_status=$? 5540 ac_status=$?
4829 echo "$as_me:4829: \$? = $ac_status" >&5 5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830 (exit $ac_status); }; }; then 5542 (exit $ac_status); }; }; then
4831 ac_cv_lib_nsl_yp_match=yes 5543 ac_cv_lib_nsl_yp_match=yes
4832else 5544else
4833 echo "$as_me: failed program was:" >&5 5545 echo "$as_me: failed program was:" >&5
4834cat conftest.$ac_ext >&5 5546sed 's/^/| /' conftest.$ac_ext >&5
5547
4835ac_cv_lib_nsl_yp_match=no 5548ac_cv_lib_nsl_yp_match=no
4836fi 5549fi
4837rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5550rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4838LIBS=$ac_check_lib_save_LIBS 5551LIBS=$ac_check_lib_save_LIBS
4839fi 5552fi
4840echo "$as_me:4840: result: $ac_cv_lib_nsl_yp_match" >&5 5553echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_match" >&5
4841echo "${ECHO_T}$ac_cv_lib_nsl_yp_match" >&6 5554echo "${ECHO_T}$ac_cv_lib_nsl_yp_match" >&6
4842if test $ac_cv_lib_nsl_yp_match = yes; then 5555if test $ac_cv_lib_nsl_yp_match = yes; then
4843 cat >>confdefs.h <<EOF 5556 cat >>confdefs.h <<_ACEOF
4844#define HAVE_LIBNSL 1 5557#define HAVE_LIBNSL 1
4845EOF 5558_ACEOF
4846 5559
4847 LIBS="-lnsl $LIBS" 5560 LIBS="-lnsl $LIBS"
4848 5561
@@ -4850,69 +5563,83 @@ fi
4850 5563
4851fi 5564fi
4852 5565
4853echo "$as_me:4853: checking for setsockopt" >&5 5566echo "$as_me:$LINENO: checking for setsockopt" >&5
4854echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6 5567echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
4855if test "${ac_cv_func_setsockopt+set}" = set; then 5568if test "${ac_cv_func_setsockopt+set}" = set; then
4856 echo $ECHO_N "(cached) $ECHO_C" >&6 5569 echo $ECHO_N "(cached) $ECHO_C" >&6
4857else 5570else
4858 cat >conftest.$ac_ext <<_ACEOF 5571 cat >conftest.$ac_ext <<_ACEOF
4859#line 4859 "configure" 5572#line $LINENO "configure"
4860#include "confdefs.h" 5573/* confdefs.h. */
5574_ACEOF
5575cat confdefs.h >>conftest.$ac_ext
5576cat >>conftest.$ac_ext <<_ACEOF
5577/* end confdefs.h. */
4861/* System header to define __stub macros and hopefully few prototypes, 5578/* System header to define __stub macros and hopefully few prototypes,
4862 which can conflict with char setsockopt (); below. */ 5579 which can conflict with char setsockopt (); below.
4863#include <assert.h> 5580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5581 <limits.h> exists even on freestanding compilers. */
5582#ifdef __STDC__
5583# include <limits.h>
5584#else
5585# include <assert.h>
5586#endif
4864/* Override any gcc2 internal prototype to avoid an error. */ 5587/* Override any gcc2 internal prototype to avoid an error. */
4865#ifdef __cplusplus 5588#ifdef __cplusplus
4866extern "C" 5589extern "C"
5590{
4867#endif 5591#endif
4868/* We use char because int might match the return type of a gcc2 5592/* We use char because int might match the return type of a gcc2
4869 builtin and then its argument prototype would still apply. */ 5593 builtin and then its argument prototype would still apply. */
4870char setsockopt (); 5594char setsockopt ();
4871char (*f) ();
4872
4873int
4874main ()
4875{
4876/* The GNU C library defines this for functions which it implements 5595/* The GNU C library defines this for functions which it implements
4877 to always fail with ENOSYS. Some functions are actually named 5596 to always fail with ENOSYS. Some functions are actually named
4878 something starting with __ and the normal name is an alias. */ 5597 something starting with __ and the normal name is an alias. */
4879#if defined (__stub_setsockopt) || defined (__stub___setsockopt) 5598#if defined (__stub_setsockopt) || defined (__stub___setsockopt)
4880choke me 5599choke me
4881#else 5600#else
4882f = setsockopt; 5601char (*f) () = setsockopt;
5602#endif
5603#ifdef __cplusplus
5604}
4883#endif 5605#endif
4884 5606
5607int
5608main ()
5609{
5610return f != setsockopt;
4885 ; 5611 ;
4886 return 0; 5612 return 0;
4887} 5613}
4888_ACEOF 5614_ACEOF
4889rm -f conftest.$ac_objext conftest$ac_exeext 5615rm -f conftest.$ac_objext conftest$ac_exeext
4890if { (eval echo "$as_me:4890: \"$ac_link\"") >&5 5616if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4891 (eval $ac_link) 2>&5 5617 (eval $ac_link) 2>&5
4892 ac_status=$? 5618 ac_status=$?
4893 echo "$as_me:4893: \$? = $ac_status" >&5 5619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4894 (exit $ac_status); } && 5620 (exit $ac_status); } &&
4895 { ac_try='test -s conftest$ac_exeext' 5621 { ac_try='test -s conftest$ac_exeext'
4896 { (eval echo "$as_me:4896: \"$ac_try\"") >&5 5622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4897 (eval $ac_try) 2>&5 5623 (eval $ac_try) 2>&5
4898 ac_status=$? 5624 ac_status=$?
4899 echo "$as_me:4899: \$? = $ac_status" >&5 5625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4900 (exit $ac_status); }; }; then 5626 (exit $ac_status); }; }; then
4901 ac_cv_func_setsockopt=yes 5627 ac_cv_func_setsockopt=yes
4902else 5628else
4903 echo "$as_me: failed program was:" >&5 5629 echo "$as_me: failed program was:" >&5
4904cat conftest.$ac_ext >&5 5630sed 's/^/| /' conftest.$ac_ext >&5
5631
4905ac_cv_func_setsockopt=no 5632ac_cv_func_setsockopt=no
4906fi 5633fi
4907rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5634rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4908fi 5635fi
4909echo "$as_me:4909: result: $ac_cv_func_setsockopt" >&5 5636echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
4910echo "${ECHO_T}$ac_cv_func_setsockopt" >&6 5637echo "${ECHO_T}$ac_cv_func_setsockopt" >&6
4911if test $ac_cv_func_setsockopt = yes; then 5638if test $ac_cv_func_setsockopt = yes; then
4912 : 5639 :
4913else 5640else
4914 5641
4915echo "$as_me:4915: checking for setsockopt in -lsocket" >&5 5642echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
4916echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6 5643echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6
4917if test "${ac_cv_lib_socket_setsockopt+set}" = set; then 5644if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
4918 echo $ECHO_N "(cached) $ECHO_C" >&6 5645 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -4920,8 +5647,12 @@ else
4920 ac_check_lib_save_LIBS=$LIBS 5647 ac_check_lib_save_LIBS=$LIBS
4921LIBS="-lsocket $LIBS" 5648LIBS="-lsocket $LIBS"
4922cat >conftest.$ac_ext <<_ACEOF 5649cat >conftest.$ac_ext <<_ACEOF
4923#line 4923 "configure" 5650#line $LINENO "configure"
4924#include "confdefs.h" 5651/* confdefs.h. */
5652_ACEOF
5653cat confdefs.h >>conftest.$ac_ext
5654cat >>conftest.$ac_ext <<_ACEOF
5655/* end confdefs.h. */
4925 5656
4926/* Override any gcc2 internal prototype to avoid an error. */ 5657/* Override any gcc2 internal prototype to avoid an error. */
4927#ifdef __cplusplus 5658#ifdef __cplusplus
@@ -4939,32 +5670,33 @@ setsockopt ();
4939} 5670}
4940_ACEOF 5671_ACEOF
4941rm -f conftest.$ac_objext conftest$ac_exeext 5672rm -f conftest.$ac_objext conftest$ac_exeext
4942if { (eval echo "$as_me:4942: \"$ac_link\"") >&5 5673if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4943 (eval $ac_link) 2>&5 5674 (eval $ac_link) 2>&5
4944 ac_status=$? 5675 ac_status=$?
4945 echo "$as_me:4945: \$? = $ac_status" >&5 5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946 (exit $ac_status); } && 5677 (exit $ac_status); } &&
4947 { ac_try='test -s conftest$ac_exeext' 5678 { ac_try='test -s conftest$ac_exeext'
4948 { (eval echo "$as_me:4948: \"$ac_try\"") >&5 5679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4949 (eval $ac_try) 2>&5 5680 (eval $ac_try) 2>&5
4950 ac_status=$? 5681 ac_status=$?
4951 echo "$as_me:4951: \$? = $ac_status" >&5 5682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952 (exit $ac_status); }; }; then 5683 (exit $ac_status); }; }; then
4953 ac_cv_lib_socket_setsockopt=yes 5684 ac_cv_lib_socket_setsockopt=yes
4954else 5685else
4955 echo "$as_me: failed program was:" >&5 5686 echo "$as_me: failed program was:" >&5
4956cat conftest.$ac_ext >&5 5687sed 's/^/| /' conftest.$ac_ext >&5
5688
4957ac_cv_lib_socket_setsockopt=no 5689ac_cv_lib_socket_setsockopt=no
4958fi 5690fi
4959rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5691rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4960LIBS=$ac_check_lib_save_LIBS 5692LIBS=$ac_check_lib_save_LIBS
4961fi 5693fi
4962echo "$as_me:4962: result: $ac_cv_lib_socket_setsockopt" >&5 5694echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
4963echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6 5695echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6
4964if test $ac_cv_lib_socket_setsockopt = yes; then 5696if test $ac_cv_lib_socket_setsockopt = yes; then
4965 cat >>confdefs.h <<EOF 5697 cat >>confdefs.h <<_ACEOF
4966#define HAVE_LIBSOCKET 1 5698#define HAVE_LIBSOCKET 1
4967EOF 5699_ACEOF
4968 5700
4969 LIBS="-lsocket $LIBS" 5701 LIBS="-lsocket $LIBS"
4970 5702
@@ -4972,9 +5704,10 @@ fi
4972 5704
4973fi 5705fi
4974 5706
5707
4975if test "x$with_tcp_wrappers" != "xno" ; then 5708if test "x$with_tcp_wrappers" != "xno" ; then
4976 if test "x$do_sco3_extra_lib_check" = "xyes" ; then 5709 if test "x$do_sco3_extra_lib_check" = "xyes" ; then
4977 echo "$as_me:4977: checking for innetgr in -lrpc" >&5 5710 echo "$as_me:$LINENO: checking for innetgr in -lrpc" >&5
4978echo $ECHO_N "checking for innetgr in -lrpc... $ECHO_C" >&6 5711echo $ECHO_N "checking for innetgr in -lrpc... $ECHO_C" >&6
4979if test "${ac_cv_lib_rpc_innetgr+set}" = set; then 5712if test "${ac_cv_lib_rpc_innetgr+set}" = set; then
4980 echo $ECHO_N "(cached) $ECHO_C" >&6 5713 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -4982,8 +5715,12 @@ else
4982 ac_check_lib_save_LIBS=$LIBS 5715 ac_check_lib_save_LIBS=$LIBS
4983LIBS="-lrpc -lyp -lrpc $LIBS" 5716LIBS="-lrpc -lyp -lrpc $LIBS"
4984cat >conftest.$ac_ext <<_ACEOF 5717cat >conftest.$ac_ext <<_ACEOF
4985#line 4985 "configure" 5718#line $LINENO "configure"
4986#include "confdefs.h" 5719/* confdefs.h. */
5720_ACEOF
5721cat confdefs.h >>conftest.$ac_ext
5722cat >>conftest.$ac_ext <<_ACEOF
5723/* end confdefs.h. */
4987 5724
4988/* Override any gcc2 internal prototype to avoid an error. */ 5725/* Override any gcc2 internal prototype to avoid an error. */
4989#ifdef __cplusplus 5726#ifdef __cplusplus
@@ -5001,27 +5738,28 @@ innetgr ();
5001} 5738}
5002_ACEOF 5739_ACEOF
5003rm -f conftest.$ac_objext conftest$ac_exeext 5740rm -f conftest.$ac_objext conftest$ac_exeext
5004if { (eval echo "$as_me:5004: \"$ac_link\"") >&5 5741if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5005 (eval $ac_link) 2>&5 5742 (eval $ac_link) 2>&5
5006 ac_status=$? 5743 ac_status=$?
5007 echo "$as_me:5007: \$? = $ac_status" >&5 5744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5008 (exit $ac_status); } && 5745 (exit $ac_status); } &&
5009 { ac_try='test -s conftest$ac_exeext' 5746 { ac_try='test -s conftest$ac_exeext'
5010 { (eval echo "$as_me:5010: \"$ac_try\"") >&5 5747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5011 (eval $ac_try) 2>&5 5748 (eval $ac_try) 2>&5
5012 ac_status=$? 5749 ac_status=$?
5013 echo "$as_me:5013: \$? = $ac_status" >&5 5750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014 (exit $ac_status); }; }; then 5751 (exit $ac_status); }; }; then
5015 ac_cv_lib_rpc_innetgr=yes 5752 ac_cv_lib_rpc_innetgr=yes
5016else 5753else
5017 echo "$as_me: failed program was:" >&5 5754 echo "$as_me: failed program was:" >&5
5018cat conftest.$ac_ext >&5 5755sed 's/^/| /' conftest.$ac_ext >&5
5756
5019ac_cv_lib_rpc_innetgr=no 5757ac_cv_lib_rpc_innetgr=no
5020fi 5758fi
5021rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5759rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5022LIBS=$ac_check_lib_save_LIBS 5760LIBS=$ac_check_lib_save_LIBS
5023fi 5761fi
5024echo "$as_me:5024: result: $ac_cv_lib_rpc_innetgr" >&5 5762echo "$as_me:$LINENO: result: $ac_cv_lib_rpc_innetgr" >&5
5025echo "${ECHO_T}$ac_cv_lib_rpc_innetgr" >&6 5763echo "${ECHO_T}$ac_cv_lib_rpc_innetgr" >&6
5026if test $ac_cv_lib_rpc_innetgr = yes; then 5764if test $ac_cv_lib_rpc_innetgr = yes; then
5027 LIBS="-lrpc -lyp -lrpc $LIBS" 5765 LIBS="-lrpc -lyp -lrpc $LIBS"
@@ -5030,355 +5768,82 @@ fi
5030 fi 5768 fi
5031fi 5769fi
5032 5770
5033for ac_func in dirname 5771echo "$as_me:$LINENO: checking for getspnam" >&5
5034do 5772echo $ECHO_N "checking for getspnam... $ECHO_C" >&6
5035as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5773if test "${ac_cv_func_getspnam+set}" = set; then
5036echo "$as_me:5036: checking for $ac_func" >&5
5037echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5038if eval "test \"\${$as_ac_var+set}\" = set"; then
5039 echo $ECHO_N "(cached) $ECHO_C" >&6 5774 echo $ECHO_N "(cached) $ECHO_C" >&6
5040else 5775else
5041 cat >conftest.$ac_ext <<_ACEOF 5776 cat >conftest.$ac_ext <<_ACEOF
5042#line 5042 "configure" 5777#line $LINENO "configure"
5043#include "confdefs.h" 5778/* confdefs.h. */
5779_ACEOF
5780cat confdefs.h >>conftest.$ac_ext
5781cat >>conftest.$ac_ext <<_ACEOF
5782/* end confdefs.h. */
5044/* System header to define __stub macros and hopefully few prototypes, 5783/* System header to define __stub macros and hopefully few prototypes,
5045 which can conflict with char $ac_func (); below. */ 5784 which can conflict with char getspnam (); below.
5046#include <assert.h> 5785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5786 <limits.h> exists even on freestanding compilers. */
5787#ifdef __STDC__
5788# include <limits.h>
5789#else
5790# include <assert.h>
5791#endif
5047/* Override any gcc2 internal prototype to avoid an error. */ 5792/* Override any gcc2 internal prototype to avoid an error. */
5048#ifdef __cplusplus 5793#ifdef __cplusplus
5049extern "C" 5794extern "C"
5795{
5050#endif 5796#endif
5051/* We use char because int might match the return type of a gcc2 5797/* We use char because int might match the return type of a gcc2
5052 builtin and then its argument prototype would still apply. */ 5798 builtin and then its argument prototype would still apply. */
5053char $ac_func (); 5799char getspnam ();
5054char (*f) ();
5055
5056int
5057main ()
5058{
5059/* The GNU C library defines this for functions which it implements 5800/* The GNU C library defines this for functions which it implements
5060 to always fail with ENOSYS. Some functions are actually named 5801 to always fail with ENOSYS. Some functions are actually named
5061 something starting with __ and the normal name is an alias. */ 5802 something starting with __ and the normal name is an alias. */
5062#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 5803#if defined (__stub_getspnam) || defined (__stub___getspnam)
5063choke me 5804choke me
5064#else 5805#else
5065f = $ac_func; 5806char (*f) () = getspnam;
5066#endif 5807#endif
5067
5068 ;
5069 return 0;
5070}
5071_ACEOF
5072rm -f conftest.$ac_objext conftest$ac_exeext
5073if { (eval echo "$as_me:5073: \"$ac_link\"") >&5
5074 (eval $ac_link) 2>&5
5075 ac_status=$?
5076 echo "$as_me:5076: \$? = $ac_status" >&5
5077 (exit $ac_status); } &&
5078 { ac_try='test -s conftest$ac_exeext'
5079 { (eval echo "$as_me:5079: \"$ac_try\"") >&5
5080 (eval $ac_try) 2>&5
5081 ac_status=$?
5082 echo "$as_me:5082: \$? = $ac_status" >&5
5083 (exit $ac_status); }; }; then
5084 eval "$as_ac_var=yes"
5085else
5086 echo "$as_me: failed program was:" >&5
5087cat conftest.$ac_ext >&5
5088eval "$as_ac_var=no"
5089fi
5090rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5091fi
5092echo "$as_me:5092: result: `eval echo '${'$as_ac_var'}'`" >&5
5093echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5094if test `eval echo '${'$as_ac_var'}'` = yes; then
5095 cat >>confdefs.h <<EOF
5096#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5097EOF
5098
5099for ac_header in libgen.h
5100do
5101as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5102echo "$as_me:5102: checking for $ac_header" >&5
5103echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5104if eval "test \"\${$as_ac_Header+set}\" = set"; then
5105 echo $ECHO_N "(cached) $ECHO_C" >&6
5106else
5107 cat >conftest.$ac_ext <<_ACEOF
5108#line 5108 "configure"
5109#include "confdefs.h"
5110#include <$ac_header>
5111_ACEOF
5112if { (eval echo "$as_me:5112: \"$ac_cpp conftest.$ac_ext\"") >&5
5113 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5114 ac_status=$?
5115 egrep -v '^ *\+' conftest.er1 >conftest.err
5116 rm -f conftest.er1
5117 cat conftest.err >&5
5118 echo "$as_me:5118: \$? = $ac_status" >&5
5119 (exit $ac_status); } >/dev/null; then
5120 if test -s conftest.err; then
5121 ac_cpp_err=$ac_c_preproc_warn_flag
5122 else
5123 ac_cpp_err=
5124 fi
5125else
5126 ac_cpp_err=yes
5127fi
5128if test -z "$ac_cpp_err"; then
5129 eval "$as_ac_Header=yes"
5130else
5131 echo "$as_me: failed program was:" >&5
5132 cat conftest.$ac_ext >&5
5133 eval "$as_ac_Header=no"
5134fi
5135rm -f conftest.err conftest.$ac_ext
5136fi
5137echo "$as_me:5137: result: `eval echo '${'$as_ac_Header'}'`" >&5
5138echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5139if test `eval echo '${'$as_ac_Header'}'` = yes; then
5140 cat >>confdefs.h <<EOF
5141#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5142EOF
5143
5144fi
5145done
5146
5147else
5148
5149 echo "$as_me:5149: checking for dirname in -lgen" >&5
5150echo $ECHO_N "checking for dirname in -lgen... $ECHO_C" >&6
5151if test "${ac_cv_lib_gen_dirname+set}" = set; then
5152 echo $ECHO_N "(cached) $ECHO_C" >&6
5153else
5154 ac_check_lib_save_LIBS=$LIBS
5155LIBS="-lgen $LIBS"
5156cat >conftest.$ac_ext <<_ACEOF
5157#line 5157 "configure"
5158#include "confdefs.h"
5159
5160/* Override any gcc2 internal prototype to avoid an error. */
5161#ifdef __cplusplus 5808#ifdef __cplusplus
5162extern "C"
5163#endif
5164/* We use char because int might match the return type of a gcc2
5165 builtin and then its argument prototype would still apply. */
5166char dirname ();
5167int
5168main ()
5169{
5170dirname ();
5171 ;
5172 return 0;
5173}
5174_ACEOF
5175rm -f conftest.$ac_objext conftest$ac_exeext
5176if { (eval echo "$as_me:5176: \"$ac_link\"") >&5
5177 (eval $ac_link) 2>&5
5178 ac_status=$?
5179 echo "$as_me:5179: \$? = $ac_status" >&5
5180 (exit $ac_status); } &&
5181 { ac_try='test -s conftest$ac_exeext'
5182 { (eval echo "$as_me:5182: \"$ac_try\"") >&5
5183 (eval $ac_try) 2>&5
5184 ac_status=$?
5185 echo "$as_me:5185: \$? = $ac_status" >&5
5186 (exit $ac_status); }; }; then
5187 ac_cv_lib_gen_dirname=yes
5188else
5189 echo "$as_me: failed program was:" >&5
5190cat conftest.$ac_ext >&5
5191ac_cv_lib_gen_dirname=no
5192fi
5193rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5194LIBS=$ac_check_lib_save_LIBS
5195fi
5196echo "$as_me:5196: result: $ac_cv_lib_gen_dirname" >&5
5197echo "${ECHO_T}$ac_cv_lib_gen_dirname" >&6
5198if test $ac_cv_lib_gen_dirname = yes; then
5199
5200 echo "$as_me:5200: checking for broken dirname" >&5
5201echo $ECHO_N "checking for broken dirname... $ECHO_C" >&6
5202if test "${ac_cv_have_broken_dirname+set}" = set; then
5203 echo $ECHO_N "(cached) $ECHO_C" >&6
5204else
5205
5206 save_LIBS="$LIBS"
5207 LIBS="$LIBS -lgen"
5208 if test "$cross_compiling" = yes; then
5209 { { echo "$as_me:5209: error: cannot run test program while cross compiling" >&5
5210echo "$as_me: error: cannot run test program while cross compiling" >&2;}
5211 { (exit 1); exit 1; }; }
5212else
5213 cat >conftest.$ac_ext <<_ACEOF
5214#line 5214 "configure"
5215#include "confdefs.h"
5216
5217#include <libgen.h>
5218#include <string.h>
5219
5220int main(int argc, char **argv) {
5221 char *s, buf[32];
5222
5223 strncpy(buf,"/etc", 32);
5224 s = dirname(buf);
5225 if (!s || strncmp(s, "/", 32) != 0) {
5226 exit(1);
5227 } else {
5228 exit(0);
5229 }
5230} 5809}
5231
5232_ACEOF
5233rm -f conftest$ac_exeext
5234if { (eval echo "$as_me:5234: \"$ac_link\"") >&5
5235 (eval $ac_link) 2>&5
5236 ac_status=$?
5237 echo "$as_me:5237: \$? = $ac_status" >&5
5238 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5239 { (eval echo "$as_me:5239: \"$ac_try\"") >&5
5240 (eval $ac_try) 2>&5
5241 ac_status=$?
5242 echo "$as_me:5242: \$? = $ac_status" >&5
5243 (exit $ac_status); }; }; then
5244 ac_cv_have_broken_dirname="no"
5245else
5246 echo "$as_me: program exited with status $ac_status" >&5
5247echo "$as_me: failed program was:" >&5
5248cat conftest.$ac_ext >&5
5249 ac_cv_have_broken_dirname="yes"
5250
5251fi
5252rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5253fi
5254 LIBS="$save_LIBS"
5255
5256fi
5257echo "$as_me:5257: result: $ac_cv_have_broken_dirname" >&5
5258echo "${ECHO_T}$ac_cv_have_broken_dirname" >&6
5259 if test "x$ac_cv_have_broken_dirname" = "xno" ; then
5260 LIBS="$LIBS -lgen"
5261 cat >>confdefs.h <<\EOF
5262#define HAVE_DIRNAME 1
5263EOF
5264
5265for ac_header in libgen.h
5266do
5267as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5268echo "$as_me:5268: checking for $ac_header" >&5
5269echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5270if eval "test \"\${$as_ac_Header+set}\" = set"; then
5271 echo $ECHO_N "(cached) $ECHO_C" >&6
5272else
5273 cat >conftest.$ac_ext <<_ACEOF
5274#line 5274 "configure"
5275#include "confdefs.h"
5276#include <$ac_header>
5277_ACEOF
5278if { (eval echo "$as_me:5278: \"$ac_cpp conftest.$ac_ext\"") >&5
5279 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5280 ac_status=$?
5281 egrep -v '^ *\+' conftest.er1 >conftest.err
5282 rm -f conftest.er1
5283 cat conftest.err >&5
5284 echo "$as_me:5284: \$? = $ac_status" >&5
5285 (exit $ac_status); } >/dev/null; then
5286 if test -s conftest.err; then
5287 ac_cpp_err=$ac_c_preproc_warn_flag
5288 else
5289 ac_cpp_err=
5290 fi
5291else
5292 ac_cpp_err=yes
5293fi
5294if test -z "$ac_cpp_err"; then
5295 eval "$as_ac_Header=yes"
5296else
5297 echo "$as_me: failed program was:" >&5
5298 cat conftest.$ac_ext >&5
5299 eval "$as_ac_Header=no"
5300fi
5301rm -f conftest.err conftest.$ac_ext
5302fi
5303echo "$as_me:5303: result: `eval echo '${'$as_ac_Header'}'`" >&5
5304echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5305if test `eval echo '${'$as_ac_Header'}'` = yes; then
5306 cat >>confdefs.h <<EOF
5307#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5308EOF
5309
5310fi
5311done
5312
5313 fi
5314
5315fi
5316
5317fi
5318done
5319
5320echo "$as_me:5320: checking for getspnam" >&5
5321echo $ECHO_N "checking for getspnam... $ECHO_C" >&6
5322if test "${ac_cv_func_getspnam+set}" = set; then
5323 echo $ECHO_N "(cached) $ECHO_C" >&6
5324else
5325 cat >conftest.$ac_ext <<_ACEOF
5326#line 5326 "configure"
5327#include "confdefs.h"
5328/* System header to define __stub macros and hopefully few prototypes,
5329 which can conflict with char getspnam (); below. */
5330#include <assert.h>
5331/* Override any gcc2 internal prototype to avoid an error. */
5332#ifdef __cplusplus
5333extern "C"
5334#endif 5810#endif
5335/* We use char because int might match the return type of a gcc2
5336 builtin and then its argument prototype would still apply. */
5337char getspnam ();
5338char (*f) ();
5339 5811
5340int 5812int
5341main () 5813main ()
5342{ 5814{
5343/* The GNU C library defines this for functions which it implements 5815return f != getspnam;
5344 to always fail with ENOSYS. Some functions are actually named
5345 something starting with __ and the normal name is an alias. */
5346#if defined (__stub_getspnam) || defined (__stub___getspnam)
5347choke me
5348#else
5349f = getspnam;
5350#endif
5351
5352 ; 5816 ;
5353 return 0; 5817 return 0;
5354} 5818}
5355_ACEOF 5819_ACEOF
5356rm -f conftest.$ac_objext conftest$ac_exeext 5820rm -f conftest.$ac_objext conftest$ac_exeext
5357if { (eval echo "$as_me:5357: \"$ac_link\"") >&5 5821if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5358 (eval $ac_link) 2>&5 5822 (eval $ac_link) 2>&5
5359 ac_status=$? 5823 ac_status=$?
5360 echo "$as_me:5360: \$? = $ac_status" >&5 5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5361 (exit $ac_status); } && 5825 (exit $ac_status); } &&
5362 { ac_try='test -s conftest$ac_exeext' 5826 { ac_try='test -s conftest$ac_exeext'
5363 { (eval echo "$as_me:5363: \"$ac_try\"") >&5 5827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5364 (eval $ac_try) 2>&5 5828 (eval $ac_try) 2>&5
5365 ac_status=$? 5829 ac_status=$?
5366 echo "$as_me:5366: \$? = $ac_status" >&5 5830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5367 (exit $ac_status); }; }; then 5831 (exit $ac_status); }; }; then
5368 ac_cv_func_getspnam=yes 5832 ac_cv_func_getspnam=yes
5369else 5833else
5370 echo "$as_me: failed program was:" >&5 5834 echo "$as_me: failed program was:" >&5
5371cat conftest.$ac_ext >&5 5835sed 's/^/| /' conftest.$ac_ext >&5
5836
5372ac_cv_func_getspnam=no 5837ac_cv_func_getspnam=no
5373fi 5838fi
5374rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5839rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5375fi 5840fi
5376echo "$as_me:5376: result: $ac_cv_func_getspnam" >&5 5841echo "$as_me:$LINENO: result: $ac_cv_func_getspnam" >&5
5377echo "${ECHO_T}$ac_cv_func_getspnam" >&6 5842echo "${ECHO_T}$ac_cv_func_getspnam" >&6
5378if test $ac_cv_func_getspnam = yes; then 5843if test $ac_cv_func_getspnam = yes; then
5379 : 5844 :
5380else 5845else
5381 echo "$as_me:5381: checking for getspnam in -lgen" >&5 5846 echo "$as_me:$LINENO: checking for getspnam in -lgen" >&5
5382echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6 5847echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6
5383if test "${ac_cv_lib_gen_getspnam+set}" = set; then 5848if test "${ac_cv_lib_gen_getspnam+set}" = set; then
5384 echo $ECHO_N "(cached) $ECHO_C" >&6 5849 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -5386,8 +5851,12 @@ else
5386 ac_check_lib_save_LIBS=$LIBS 5851 ac_check_lib_save_LIBS=$LIBS
5387LIBS="-lgen $LIBS" 5852LIBS="-lgen $LIBS"
5388cat >conftest.$ac_ext <<_ACEOF 5853cat >conftest.$ac_ext <<_ACEOF
5389#line 5389 "configure" 5854#line $LINENO "configure"
5390#include "confdefs.h" 5855/* confdefs.h. */
5856_ACEOF
5857cat confdefs.h >>conftest.$ac_ext
5858cat >>conftest.$ac_ext <<_ACEOF
5859/* end confdefs.h. */
5391 5860
5392/* Override any gcc2 internal prototype to avoid an error. */ 5861/* Override any gcc2 internal prototype to avoid an error. */
5393#ifdef __cplusplus 5862#ifdef __cplusplus
@@ -5405,27 +5874,28 @@ getspnam ();
5405} 5874}
5406_ACEOF 5875_ACEOF
5407rm -f conftest.$ac_objext conftest$ac_exeext 5876rm -f conftest.$ac_objext conftest$ac_exeext
5408if { (eval echo "$as_me:5408: \"$ac_link\"") >&5 5877if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5409 (eval $ac_link) 2>&5 5878 (eval $ac_link) 2>&5
5410 ac_status=$? 5879 ac_status=$?
5411 echo "$as_me:5411: \$? = $ac_status" >&5 5880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5412 (exit $ac_status); } && 5881 (exit $ac_status); } &&
5413 { ac_try='test -s conftest$ac_exeext' 5882 { ac_try='test -s conftest$ac_exeext'
5414 { (eval echo "$as_me:5414: \"$ac_try\"") >&5 5883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5415 (eval $ac_try) 2>&5 5884 (eval $ac_try) 2>&5
5416 ac_status=$? 5885 ac_status=$?
5417 echo "$as_me:5417: \$? = $ac_status" >&5 5886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5418 (exit $ac_status); }; }; then 5887 (exit $ac_status); }; }; then
5419 ac_cv_lib_gen_getspnam=yes 5888 ac_cv_lib_gen_getspnam=yes
5420else 5889else
5421 echo "$as_me: failed program was:" >&5 5890 echo "$as_me: failed program was:" >&5
5422cat conftest.$ac_ext >&5 5891sed 's/^/| /' conftest.$ac_ext >&5
5892
5423ac_cv_lib_gen_getspnam=no 5893ac_cv_lib_gen_getspnam=no
5424fi 5894fi
5425rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5895rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5426LIBS=$ac_check_lib_save_LIBS 5896LIBS=$ac_check_lib_save_LIBS
5427fi 5897fi
5428echo "$as_me:5428: result: $ac_cv_lib_gen_getspnam" >&5 5898echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getspnam" >&5
5429echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6 5899echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6
5430if test $ac_cv_lib_gen_getspnam = yes; then 5900if test $ac_cv_lib_gen_getspnam = yes; then
5431 LIBS="$LIBS -lgen" 5901 LIBS="$LIBS -lgen"
@@ -5433,104 +5903,7 @@ fi
5433 5903
5434fi 5904fi
5435 5905
5436echo "$as_me:5436: checking for library containing basename" >&5
5437echo $ECHO_N "checking for library containing basename... $ECHO_C" >&6
5438if test "${ac_cv_search_basename+set}" = set; then
5439 echo $ECHO_N "(cached) $ECHO_C" >&6
5440else
5441 ac_func_search_save_LIBS=$LIBS
5442ac_cv_search_basename=no
5443cat >conftest.$ac_ext <<_ACEOF
5444#line 5444 "configure"
5445#include "confdefs.h"
5446
5447/* Override any gcc2 internal prototype to avoid an error. */
5448#ifdef __cplusplus
5449extern "C"
5450#endif
5451/* We use char because int might match the return type of a gcc2
5452 builtin and then its argument prototype would still apply. */
5453char basename ();
5454int
5455main ()
5456{
5457basename ();
5458 ;
5459 return 0;
5460}
5461_ACEOF
5462rm -f conftest.$ac_objext conftest$ac_exeext
5463if { (eval echo "$as_me:5463: \"$ac_link\"") >&5
5464 (eval $ac_link) 2>&5
5465 ac_status=$?
5466 echo "$as_me:5466: \$? = $ac_status" >&5
5467 (exit $ac_status); } &&
5468 { ac_try='test -s conftest$ac_exeext'
5469 { (eval echo "$as_me:5469: \"$ac_try\"") >&5
5470 (eval $ac_try) 2>&5
5471 ac_status=$?
5472 echo "$as_me:5472: \$? = $ac_status" >&5
5473 (exit $ac_status); }; }; then
5474 ac_cv_search_basename="none required"
5475else
5476 echo "$as_me: failed program was:" >&5
5477cat conftest.$ac_ext >&5
5478fi
5479rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5480if test "$ac_cv_search_basename" = no; then
5481 for ac_lib in gen; do
5482 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5483 cat >conftest.$ac_ext <<_ACEOF
5484#line 5484 "configure"
5485#include "confdefs.h"
5486
5487/* Override any gcc2 internal prototype to avoid an error. */
5488#ifdef __cplusplus
5489extern "C"
5490#endif
5491/* We use char because int might match the return type of a gcc2
5492 builtin and then its argument prototype would still apply. */
5493char basename ();
5494int
5495main ()
5496{
5497basename ();
5498 ;
5499 return 0;
5500}
5501_ACEOF
5502rm -f conftest.$ac_objext conftest$ac_exeext
5503if { (eval echo "$as_me:5503: \"$ac_link\"") >&5
5504 (eval $ac_link) 2>&5
5505 ac_status=$?
5506 echo "$as_me:5506: \$? = $ac_status" >&5
5507 (exit $ac_status); } &&
5508 { ac_try='test -s conftest$ac_exeext'
5509 { (eval echo "$as_me:5509: \"$ac_try\"") >&5
5510 (eval $ac_try) 2>&5
5511 ac_status=$?
5512 echo "$as_me:5512: \$? = $ac_status" >&5
5513 (exit $ac_status); }; }; then
5514 ac_cv_search_basename="-l$ac_lib"
5515break
5516else
5517 echo "$as_me: failed program was:" >&5
5518cat conftest.$ac_ext >&5
5519fi
5520rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5521 done
5522fi
5523LIBS=$ac_func_search_save_LIBS
5524fi
5525echo "$as_me:5525: result: $ac_cv_search_basename" >&5
5526echo "${ECHO_T}$ac_cv_search_basename" >&6
5527if test "$ac_cv_search_basename" != no; then
5528 test "$ac_cv_search_basename" = "none required" || LIBS="$ac_cv_search_basename $LIBS"
5529 cat >>confdefs.h <<\EOF
5530#define HAVE_BASENAME 1
5531EOF
5532 5906
5533fi
5534 5907
5535# Check whether --with-rpath or --without-rpath was given. 5908# Check whether --with-rpath or --without-rpath was given.
5536if test "${with_rpath+set}" = set; then 5909if test "${with_rpath+set}" = set; then
@@ -5543,14 +5916,16 @@ if test "${with_rpath+set}" = set; then
5543 need_dash_r=1 5916 need_dash_r=1
5544 fi 5917 fi
5545 5918
5919
5546fi; 5920fi;
5547 5921
5922
5548# Check whether --with-zlib or --without-zlib was given. 5923# Check whether --with-zlib or --without-zlib was given.
5549if test "${with_zlib+set}" = set; then 5924if test "${with_zlib+set}" = set; then
5550 withval="$with_zlib" 5925 withval="$with_zlib"
5551 5926
5552 if test "x$withval" = "xno" ; then 5927 if test "x$withval" = "xno" ; then
5553 { { echo "$as_me:5553: error: *** zlib is required ***" >&5 5928 { { echo "$as_me:$LINENO: error: *** zlib is required ***" >&5
5554echo "$as_me: error: *** zlib is required ***" >&2;} 5929echo "$as_me: error: *** zlib is required ***" >&2;}
5555 { (exit 1); exit 1; }; } 5930 { (exit 1); exit 1; }; }
5556 fi 5931 fi
@@ -5573,9 +5948,11 @@ echo "$as_me: error: *** zlib is required ***" >&2;}
5573 CPPFLAGS="-I${withval} ${CPPFLAGS}" 5948 CPPFLAGS="-I${withval} ${CPPFLAGS}"
5574 fi 5949 fi
5575 5950
5951
5576fi; 5952fi;
5577 5953
5578echo "$as_me:5578: checking for deflate in -lz" >&5 5954
5955echo "$as_me:$LINENO: checking for deflate in -lz" >&5
5579echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6 5956echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
5580if test "${ac_cv_lib_z_deflate+set}" = set; then 5957if test "${ac_cv_lib_z_deflate+set}" = set; then
5581 echo $ECHO_N "(cached) $ECHO_C" >&6 5958 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -5583,8 +5960,12 @@ else
5583 ac_check_lib_save_LIBS=$LIBS 5960 ac_check_lib_save_LIBS=$LIBS
5584LIBS="-lz $LIBS" 5961LIBS="-lz $LIBS"
5585cat >conftest.$ac_ext <<_ACEOF 5962cat >conftest.$ac_ext <<_ACEOF
5586#line 5586 "configure" 5963#line $LINENO "configure"
5587#include "confdefs.h" 5964/* confdefs.h. */
5965_ACEOF
5966cat confdefs.h >>conftest.$ac_ext
5967cat >>conftest.$ac_ext <<_ACEOF
5968/* end confdefs.h. */
5588 5969
5589/* Override any gcc2 internal prototype to avoid an error. */ 5970/* Override any gcc2 internal prototype to avoid an error. */
5590#ifdef __cplusplus 5971#ifdef __cplusplus
@@ -5602,103 +5983,119 @@ deflate ();
5602} 5983}
5603_ACEOF 5984_ACEOF
5604rm -f conftest.$ac_objext conftest$ac_exeext 5985rm -f conftest.$ac_objext conftest$ac_exeext
5605if { (eval echo "$as_me:5605: \"$ac_link\"") >&5 5986if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5606 (eval $ac_link) 2>&5 5987 (eval $ac_link) 2>&5
5607 ac_status=$? 5988 ac_status=$?
5608 echo "$as_me:5608: \$? = $ac_status" >&5 5989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5609 (exit $ac_status); } && 5990 (exit $ac_status); } &&
5610 { ac_try='test -s conftest$ac_exeext' 5991 { ac_try='test -s conftest$ac_exeext'
5611 { (eval echo "$as_me:5611: \"$ac_try\"") >&5 5992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5612 (eval $ac_try) 2>&5 5993 (eval $ac_try) 2>&5
5613 ac_status=$? 5994 ac_status=$?
5614 echo "$as_me:5614: \$? = $ac_status" >&5 5995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615 (exit $ac_status); }; }; then 5996 (exit $ac_status); }; }; then
5616 ac_cv_lib_z_deflate=yes 5997 ac_cv_lib_z_deflate=yes
5617else 5998else
5618 echo "$as_me: failed program was:" >&5 5999 echo "$as_me: failed program was:" >&5
5619cat conftest.$ac_ext >&5 6000sed 's/^/| /' conftest.$ac_ext >&5
6001
5620ac_cv_lib_z_deflate=no 6002ac_cv_lib_z_deflate=no
5621fi 6003fi
5622rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6004rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5623LIBS=$ac_check_lib_save_LIBS 6005LIBS=$ac_check_lib_save_LIBS
5624fi 6006fi
5625echo "$as_me:5625: result: $ac_cv_lib_z_deflate" >&5 6007echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
5626echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6 6008echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
5627if test $ac_cv_lib_z_deflate = yes; then 6009if test $ac_cv_lib_z_deflate = yes; then
5628 cat >>confdefs.h <<EOF 6010 cat >>confdefs.h <<_ACEOF
5629#define HAVE_LIBZ 1 6011#define HAVE_LIBZ 1
5630EOF 6012_ACEOF
5631 6013
5632 LIBS="-lz $LIBS" 6014 LIBS="-lz $LIBS"
5633 6015
5634else 6016else
5635 { { echo "$as_me:5635: error: *** zlib missing - please install first or check config.log ***" >&5 6017 { { echo "$as_me:$LINENO: error: *** zlib missing - please install first or check config.log ***" >&5
5636echo "$as_me: error: *** zlib missing - please install first or check config.log ***" >&2;} 6018echo "$as_me: error: *** zlib missing - please install first or check config.log ***" >&2;}
5637 { (exit 1); exit 1; }; } 6019 { (exit 1); exit 1; }; }
5638fi 6020fi
5639 6021
5640echo "$as_me:5640: checking for strcasecmp" >&5 6022
6023echo "$as_me:$LINENO: checking for strcasecmp" >&5
5641echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6 6024echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6
5642if test "${ac_cv_func_strcasecmp+set}" = set; then 6025if test "${ac_cv_func_strcasecmp+set}" = set; then
5643 echo $ECHO_N "(cached) $ECHO_C" >&6 6026 echo $ECHO_N "(cached) $ECHO_C" >&6
5644else 6027else
5645 cat >conftest.$ac_ext <<_ACEOF 6028 cat >conftest.$ac_ext <<_ACEOF
5646#line 5646 "configure" 6029#line $LINENO "configure"
5647#include "confdefs.h" 6030/* confdefs.h. */
6031_ACEOF
6032cat confdefs.h >>conftest.$ac_ext
6033cat >>conftest.$ac_ext <<_ACEOF
6034/* end confdefs.h. */
5648/* System header to define __stub macros and hopefully few prototypes, 6035/* System header to define __stub macros and hopefully few prototypes,
5649 which can conflict with char strcasecmp (); below. */ 6036 which can conflict with char strcasecmp (); below.
5650#include <assert.h> 6037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6038 <limits.h> exists even on freestanding compilers. */
6039#ifdef __STDC__
6040# include <limits.h>
6041#else
6042# include <assert.h>
6043#endif
5651/* Override any gcc2 internal prototype to avoid an error. */ 6044/* Override any gcc2 internal prototype to avoid an error. */
5652#ifdef __cplusplus 6045#ifdef __cplusplus
5653extern "C" 6046extern "C"
6047{
5654#endif 6048#endif
5655/* We use char because int might match the return type of a gcc2 6049/* We use char because int might match the return type of a gcc2
5656 builtin and then its argument prototype would still apply. */ 6050 builtin and then its argument prototype would still apply. */
5657char strcasecmp (); 6051char strcasecmp ();
5658char (*f) ();
5659
5660int
5661main ()
5662{
5663/* The GNU C library defines this for functions which it implements 6052/* The GNU C library defines this for functions which it implements
5664 to always fail with ENOSYS. Some functions are actually named 6053 to always fail with ENOSYS. Some functions are actually named
5665 something starting with __ and the normal name is an alias. */ 6054 something starting with __ and the normal name is an alias. */
5666#if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) 6055#if defined (__stub_strcasecmp) || defined (__stub___strcasecmp)
5667choke me 6056choke me
5668#else 6057#else
5669f = strcasecmp; 6058char (*f) () = strcasecmp;
6059#endif
6060#ifdef __cplusplus
6061}
5670#endif 6062#endif
5671 6063
6064int
6065main ()
6066{
6067return f != strcasecmp;
5672 ; 6068 ;
5673 return 0; 6069 return 0;
5674} 6070}
5675_ACEOF 6071_ACEOF
5676rm -f conftest.$ac_objext conftest$ac_exeext 6072rm -f conftest.$ac_objext conftest$ac_exeext
5677if { (eval echo "$as_me:5677: \"$ac_link\"") >&5 6073if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5678 (eval $ac_link) 2>&5 6074 (eval $ac_link) 2>&5
5679 ac_status=$? 6075 ac_status=$?
5680 echo "$as_me:5680: \$? = $ac_status" >&5 6076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5681 (exit $ac_status); } && 6077 (exit $ac_status); } &&
5682 { ac_try='test -s conftest$ac_exeext' 6078 { ac_try='test -s conftest$ac_exeext'
5683 { (eval echo "$as_me:5683: \"$ac_try\"") >&5 6079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5684 (eval $ac_try) 2>&5 6080 (eval $ac_try) 2>&5
5685 ac_status=$? 6081 ac_status=$?
5686 echo "$as_me:5686: \$? = $ac_status" >&5 6082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5687 (exit $ac_status); }; }; then 6083 (exit $ac_status); }; }; then
5688 ac_cv_func_strcasecmp=yes 6084 ac_cv_func_strcasecmp=yes
5689else 6085else
5690 echo "$as_me: failed program was:" >&5 6086 echo "$as_me: failed program was:" >&5
5691cat conftest.$ac_ext >&5 6087sed 's/^/| /' conftest.$ac_ext >&5
6088
5692ac_cv_func_strcasecmp=no 6089ac_cv_func_strcasecmp=no
5693fi 6090fi
5694rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6091rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5695fi 6092fi
5696echo "$as_me:5696: result: $ac_cv_func_strcasecmp" >&5 6093echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5
5697echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6 6094echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6
5698if test $ac_cv_func_strcasecmp = yes; then 6095if test $ac_cv_func_strcasecmp = yes; then
5699 : 6096 :
5700else 6097else
5701 echo "$as_me:5701: checking for strcasecmp in -lresolv" >&5 6098 echo "$as_me:$LINENO: checking for strcasecmp in -lresolv" >&5
5702echo $ECHO_N "checking for strcasecmp in -lresolv... $ECHO_C" >&6 6099echo $ECHO_N "checking for strcasecmp in -lresolv... $ECHO_C" >&6
5703if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then 6100if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then
5704 echo $ECHO_N "(cached) $ECHO_C" >&6 6101 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -5706,8 +6103,12 @@ else
5706 ac_check_lib_save_LIBS=$LIBS 6103 ac_check_lib_save_LIBS=$LIBS
5707LIBS="-lresolv $LIBS" 6104LIBS="-lresolv $LIBS"
5708cat >conftest.$ac_ext <<_ACEOF 6105cat >conftest.$ac_ext <<_ACEOF
5709#line 5709 "configure" 6106#line $LINENO "configure"
5710#include "confdefs.h" 6107/* confdefs.h. */
6108_ACEOF
6109cat confdefs.h >>conftest.$ac_ext
6110cat >>conftest.$ac_ext <<_ACEOF
6111/* end confdefs.h. */
5711 6112
5712/* Override any gcc2 internal prototype to avoid an error. */ 6113/* Override any gcc2 internal prototype to avoid an error. */
5713#ifdef __cplusplus 6114#ifdef __cplusplus
@@ -5725,96 +6126,112 @@ strcasecmp ();
5725} 6126}
5726_ACEOF 6127_ACEOF
5727rm -f conftest.$ac_objext conftest$ac_exeext 6128rm -f conftest.$ac_objext conftest$ac_exeext
5728if { (eval echo "$as_me:5728: \"$ac_link\"") >&5 6129if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5729 (eval $ac_link) 2>&5 6130 (eval $ac_link) 2>&5
5730 ac_status=$? 6131 ac_status=$?
5731 echo "$as_me:5731: \$? = $ac_status" >&5 6132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5732 (exit $ac_status); } && 6133 (exit $ac_status); } &&
5733 { ac_try='test -s conftest$ac_exeext' 6134 { ac_try='test -s conftest$ac_exeext'
5734 { (eval echo "$as_me:5734: \"$ac_try\"") >&5 6135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5735 (eval $ac_try) 2>&5 6136 (eval $ac_try) 2>&5
5736 ac_status=$? 6137 ac_status=$?
5737 echo "$as_me:5737: \$? = $ac_status" >&5 6138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5738 (exit $ac_status); }; }; then 6139 (exit $ac_status); }; }; then
5739 ac_cv_lib_resolv_strcasecmp=yes 6140 ac_cv_lib_resolv_strcasecmp=yes
5740else 6141else
5741 echo "$as_me: failed program was:" >&5 6142 echo "$as_me: failed program was:" >&5
5742cat conftest.$ac_ext >&5 6143sed 's/^/| /' conftest.$ac_ext >&5
6144
5743ac_cv_lib_resolv_strcasecmp=no 6145ac_cv_lib_resolv_strcasecmp=no
5744fi 6146fi
5745rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6147rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5746LIBS=$ac_check_lib_save_LIBS 6148LIBS=$ac_check_lib_save_LIBS
5747fi 6149fi
5748echo "$as_me:5748: result: $ac_cv_lib_resolv_strcasecmp" >&5 6150echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_strcasecmp" >&5
5749echo "${ECHO_T}$ac_cv_lib_resolv_strcasecmp" >&6 6151echo "${ECHO_T}$ac_cv_lib_resolv_strcasecmp" >&6
5750if test $ac_cv_lib_resolv_strcasecmp = yes; then 6152if test $ac_cv_lib_resolv_strcasecmp = yes; then
5751 LIBS="$LIBS -lresolv" 6153 LIBS="$LIBS -lresolv"
5752fi 6154fi
5753 6155
6156
5754fi 6157fi
5755 6158
5756echo "$as_me:5756: checking for utimes" >&5 6159echo "$as_me:$LINENO: checking for utimes" >&5
5757echo $ECHO_N "checking for utimes... $ECHO_C" >&6 6160echo $ECHO_N "checking for utimes... $ECHO_C" >&6
5758if test "${ac_cv_func_utimes+set}" = set; then 6161if test "${ac_cv_func_utimes+set}" = set; then
5759 echo $ECHO_N "(cached) $ECHO_C" >&6 6162 echo $ECHO_N "(cached) $ECHO_C" >&6
5760else 6163else
5761 cat >conftest.$ac_ext <<_ACEOF 6164 cat >conftest.$ac_ext <<_ACEOF
5762#line 5762 "configure" 6165#line $LINENO "configure"
5763#include "confdefs.h" 6166/* confdefs.h. */
6167_ACEOF
6168cat confdefs.h >>conftest.$ac_ext
6169cat >>conftest.$ac_ext <<_ACEOF
6170/* end confdefs.h. */
5764/* System header to define __stub macros and hopefully few prototypes, 6171/* System header to define __stub macros and hopefully few prototypes,
5765 which can conflict with char utimes (); below. */ 6172 which can conflict with char utimes (); below.
5766#include <assert.h> 6173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6174 <limits.h> exists even on freestanding compilers. */
6175#ifdef __STDC__
6176# include <limits.h>
6177#else
6178# include <assert.h>
6179#endif
5767/* Override any gcc2 internal prototype to avoid an error. */ 6180/* Override any gcc2 internal prototype to avoid an error. */
5768#ifdef __cplusplus 6181#ifdef __cplusplus
5769extern "C" 6182extern "C"
6183{
5770#endif 6184#endif
5771/* We use char because int might match the return type of a gcc2 6185/* We use char because int might match the return type of a gcc2
5772 builtin and then its argument prototype would still apply. */ 6186 builtin and then its argument prototype would still apply. */
5773char utimes (); 6187char utimes ();
5774char (*f) ();
5775
5776int
5777main ()
5778{
5779/* The GNU C library defines this for functions which it implements 6188/* The GNU C library defines this for functions which it implements
5780 to always fail with ENOSYS. Some functions are actually named 6189 to always fail with ENOSYS. Some functions are actually named
5781 something starting with __ and the normal name is an alias. */ 6190 something starting with __ and the normal name is an alias. */
5782#if defined (__stub_utimes) || defined (__stub___utimes) 6191#if defined (__stub_utimes) || defined (__stub___utimes)
5783choke me 6192choke me
5784#else 6193#else
5785f = utimes; 6194char (*f) () = utimes;
6195#endif
6196#ifdef __cplusplus
6197}
5786#endif 6198#endif
5787 6199
6200int
6201main ()
6202{
6203return f != utimes;
5788 ; 6204 ;
5789 return 0; 6205 return 0;
5790} 6206}
5791_ACEOF 6207_ACEOF
5792rm -f conftest.$ac_objext conftest$ac_exeext 6208rm -f conftest.$ac_objext conftest$ac_exeext
5793if { (eval echo "$as_me:5793: \"$ac_link\"") >&5 6209if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5794 (eval $ac_link) 2>&5 6210 (eval $ac_link) 2>&5
5795 ac_status=$? 6211 ac_status=$?
5796 echo "$as_me:5796: \$? = $ac_status" >&5 6212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5797 (exit $ac_status); } && 6213 (exit $ac_status); } &&
5798 { ac_try='test -s conftest$ac_exeext' 6214 { ac_try='test -s conftest$ac_exeext'
5799 { (eval echo "$as_me:5799: \"$ac_try\"") >&5 6215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5800 (eval $ac_try) 2>&5 6216 (eval $ac_try) 2>&5
5801 ac_status=$? 6217 ac_status=$?
5802 echo "$as_me:5802: \$? = $ac_status" >&5 6218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5803 (exit $ac_status); }; }; then 6219 (exit $ac_status); }; }; then
5804 ac_cv_func_utimes=yes 6220 ac_cv_func_utimes=yes
5805else 6221else
5806 echo "$as_me: failed program was:" >&5 6222 echo "$as_me: failed program was:" >&5
5807cat conftest.$ac_ext >&5 6223sed 's/^/| /' conftest.$ac_ext >&5
6224
5808ac_cv_func_utimes=no 6225ac_cv_func_utimes=no
5809fi 6226fi
5810rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6227rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5811fi 6228fi
5812echo "$as_me:5812: result: $ac_cv_func_utimes" >&5 6229echo "$as_me:$LINENO: result: $ac_cv_func_utimes" >&5
5813echo "${ECHO_T}$ac_cv_func_utimes" >&6 6230echo "${ECHO_T}$ac_cv_func_utimes" >&6
5814if test $ac_cv_func_utimes = yes; then 6231if test $ac_cv_func_utimes = yes; then
5815 : 6232 :
5816else 6233else
5817 echo "$as_me:5817: checking for utimes in -lc89" >&5 6234 echo "$as_me:$LINENO: checking for utimes in -lc89" >&5
5818echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6 6235echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6
5819if test "${ac_cv_lib_c89_utimes+set}" = set; then 6236if test "${ac_cv_lib_c89_utimes+set}" = set; then
5820 echo $ECHO_N "(cached) $ECHO_C" >&6 6237 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -5822,8 +6239,12 @@ else
5822 ac_check_lib_save_LIBS=$LIBS 6239 ac_check_lib_save_LIBS=$LIBS
5823LIBS="-lc89 $LIBS" 6240LIBS="-lc89 $LIBS"
5824cat >conftest.$ac_ext <<_ACEOF 6241cat >conftest.$ac_ext <<_ACEOF
5825#line 5825 "configure" 6242#line $LINENO "configure"
5826#include "confdefs.h" 6243/* confdefs.h. */
6244_ACEOF
6245cat confdefs.h >>conftest.$ac_ext
6246cat >>conftest.$ac_ext <<_ACEOF
6247/* end confdefs.h. */
5827 6248
5828/* Override any gcc2 internal prototype to avoid an error. */ 6249/* Override any gcc2 internal prototype to avoid an error. */
5829#ifdef __cplusplus 6250#ifdef __cplusplus
@@ -5841,58 +6262,109 @@ utimes ();
5841} 6262}
5842_ACEOF 6263_ACEOF
5843rm -f conftest.$ac_objext conftest$ac_exeext 6264rm -f conftest.$ac_objext conftest$ac_exeext
5844if { (eval echo "$as_me:5844: \"$ac_link\"") >&5 6265if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5845 (eval $ac_link) 2>&5 6266 (eval $ac_link) 2>&5
5846 ac_status=$? 6267 ac_status=$?
5847 echo "$as_me:5847: \$? = $ac_status" >&5 6268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5848 (exit $ac_status); } && 6269 (exit $ac_status); } &&
5849 { ac_try='test -s conftest$ac_exeext' 6270 { ac_try='test -s conftest$ac_exeext'
5850 { (eval echo "$as_me:5850: \"$ac_try\"") >&5 6271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5851 (eval $ac_try) 2>&5 6272 (eval $ac_try) 2>&5
5852 ac_status=$? 6273 ac_status=$?
5853 echo "$as_me:5853: \$? = $ac_status" >&5 6274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5854 (exit $ac_status); }; }; then 6275 (exit $ac_status); }; }; then
5855 ac_cv_lib_c89_utimes=yes 6276 ac_cv_lib_c89_utimes=yes
5856else 6277else
5857 echo "$as_me: failed program was:" >&5 6278 echo "$as_me: failed program was:" >&5
5858cat conftest.$ac_ext >&5 6279sed 's/^/| /' conftest.$ac_ext >&5
6280
5859ac_cv_lib_c89_utimes=no 6281ac_cv_lib_c89_utimes=no
5860fi 6282fi
5861rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6283rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5862LIBS=$ac_check_lib_save_LIBS 6284LIBS=$ac_check_lib_save_LIBS
5863fi 6285fi
5864echo "$as_me:5864: result: $ac_cv_lib_c89_utimes" >&5 6286echo "$as_me:$LINENO: result: $ac_cv_lib_c89_utimes" >&5
5865echo "${ECHO_T}$ac_cv_lib_c89_utimes" >&6 6287echo "${ECHO_T}$ac_cv_lib_c89_utimes" >&6
5866if test $ac_cv_lib_c89_utimes = yes; then 6288if test $ac_cv_lib_c89_utimes = yes; then
5867 cat >>confdefs.h <<\EOF 6289 cat >>confdefs.h <<\_ACEOF
5868#define HAVE_UTIMES 1 6290#define HAVE_UTIMES 1
5869EOF 6291_ACEOF
5870 6292
5871 LIBS="$LIBS -lc89" 6293 LIBS="$LIBS -lc89"
5872fi 6294fi
5873 6295
6296
5874fi 6297fi
5875 6298
6299
6300
5876for ac_header in libutil.h 6301for ac_header in libutil.h
5877do 6302do
5878as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6303as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5879echo "$as_me:5879: checking for $ac_header" >&5 6304if eval "test \"\${$as_ac_Header+set}\" = set"; then
6305 echo "$as_me:$LINENO: checking for $ac_header" >&5
5880echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6306echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5881if eval "test \"\${$as_ac_Header+set}\" = set"; then 6307if eval "test \"\${$as_ac_Header+set}\" = set"; then
5882 echo $ECHO_N "(cached) $ECHO_C" >&6 6308 echo $ECHO_N "(cached) $ECHO_C" >&6
6309fi
6310echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6311echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5883else 6312else
5884 cat >conftest.$ac_ext <<_ACEOF 6313 # Is the header compilable?
5885#line 5885 "configure" 6314echo "$as_me:$LINENO: checking $ac_header usability" >&5
5886#include "confdefs.h" 6315echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6316cat >conftest.$ac_ext <<_ACEOF
6317#line $LINENO "configure"
6318/* confdefs.h. */
6319_ACEOF
6320cat confdefs.h >>conftest.$ac_ext
6321cat >>conftest.$ac_ext <<_ACEOF
6322/* end confdefs.h. */
6323$ac_includes_default
6324#include <$ac_header>
6325_ACEOF
6326rm -f conftest.$ac_objext
6327if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6328 (eval $ac_compile) 2>&5
6329 ac_status=$?
6330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6331 (exit $ac_status); } &&
6332 { ac_try='test -s conftest.$ac_objext'
6333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6334 (eval $ac_try) 2>&5
6335 ac_status=$?
6336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337 (exit $ac_status); }; }; then
6338 ac_header_compiler=yes
6339else
6340 echo "$as_me: failed program was:" >&5
6341sed 's/^/| /' conftest.$ac_ext >&5
6342
6343ac_header_compiler=no
6344fi
6345rm -f conftest.$ac_objext conftest.$ac_ext
6346echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6347echo "${ECHO_T}$ac_header_compiler" >&6
6348
6349# Is the header present?
6350echo "$as_me:$LINENO: checking $ac_header presence" >&5
6351echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6352cat >conftest.$ac_ext <<_ACEOF
6353#line $LINENO "configure"
6354/* confdefs.h. */
6355_ACEOF
6356cat confdefs.h >>conftest.$ac_ext
6357cat >>conftest.$ac_ext <<_ACEOF
6358/* end confdefs.h. */
5887#include <$ac_header> 6359#include <$ac_header>
5888_ACEOF 6360_ACEOF
5889if { (eval echo "$as_me:5889: \"$ac_cpp conftest.$ac_ext\"") >&5 6361if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5890 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6362 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5891 ac_status=$? 6363 ac_status=$?
5892 egrep -v '^ *\+' conftest.er1 >conftest.err 6364 grep -v '^ *+' conftest.er1 >conftest.err
5893 rm -f conftest.er1 6365 rm -f conftest.er1
5894 cat conftest.err >&5 6366 cat conftest.err >&5
5895 echo "$as_me:5895: \$? = $ac_status" >&5 6367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5896 (exit $ac_status); } >/dev/null; then 6368 (exit $ac_status); } >/dev/null; then
5897 if test -s conftest.err; then 6369 if test -s conftest.err; then
5898 ac_cpp_err=$ac_c_preproc_warn_flag 6370 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -5903,25 +6375,71 @@ else
5903 ac_cpp_err=yes 6375 ac_cpp_err=yes
5904fi 6376fi
5905if test -z "$ac_cpp_err"; then 6377if test -z "$ac_cpp_err"; then
5906 eval "$as_ac_Header=yes" 6378 ac_header_preproc=yes
5907else 6379else
5908 echo "$as_me: failed program was:" >&5 6380 echo "$as_me: failed program was:" >&5
5909 cat conftest.$ac_ext >&5 6381sed 's/^/| /' conftest.$ac_ext >&5
5910 eval "$as_ac_Header=no" 6382
6383 ac_header_preproc=no
5911fi 6384fi
5912rm -f conftest.err conftest.$ac_ext 6385rm -f conftest.err conftest.$ac_ext
6386echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6387echo "${ECHO_T}$ac_header_preproc" >&6
6388
6389# So? What about this header?
6390case $ac_header_compiler:$ac_header_preproc in
6391 yes:no )
6392 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6393echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6395echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6396 (
6397 cat <<\_ASBOX
6398## ------------------------------------ ##
6399## Report this to bug-autoconf@gnu.org. ##
6400## ------------------------------------ ##
6401_ASBOX
6402 ) |
6403 sed "s/^/$as_me: WARNING: /" >&2
6404 ;;
6405 no:yes )
6406 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6407echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6408 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6409echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6410 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6411echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6412 (
6413 cat <<\_ASBOX
6414## ------------------------------------ ##
6415## Report this to bug-autoconf@gnu.org. ##
6416## ------------------------------------ ##
6417_ASBOX
6418 ) |
6419 sed "s/^/$as_me: WARNING: /" >&2
6420 ;;
6421esac
6422echo "$as_me:$LINENO: checking for $ac_header" >&5
6423echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6424if eval "test \"\${$as_ac_Header+set}\" = set"; then
6425 echo $ECHO_N "(cached) $ECHO_C" >&6
6426else
6427 eval "$as_ac_Header=$ac_header_preproc"
5913fi 6428fi
5914echo "$as_me:5914: result: `eval echo '${'$as_ac_Header'}'`" >&5 6429echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5915echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6430echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6431
6432fi
5916if test `eval echo '${'$as_ac_Header'}'` = yes; then 6433if test `eval echo '${'$as_ac_Header'}'` = yes; then
5917 cat >>confdefs.h <<EOF 6434 cat >>confdefs.h <<_ACEOF
5918#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6435#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5919EOF 6436_ACEOF
5920 6437
5921fi 6438fi
6439
5922done 6440done
5923 6441
5924echo "$as_me:5924: checking for library containing login" >&5 6442echo "$as_me:$LINENO: checking for library containing login" >&5
5925echo $ECHO_N "checking for library containing login... $ECHO_C" >&6 6443echo $ECHO_N "checking for library containing login... $ECHO_C" >&6
5926if test "${ac_cv_search_login+set}" = set; then 6444if test "${ac_cv_search_login+set}" = set; then
5927 echo $ECHO_N "(cached) $ECHO_C" >&6 6445 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -5929,8 +6447,12 @@ else
5929 ac_func_search_save_LIBS=$LIBS 6447 ac_func_search_save_LIBS=$LIBS
5930ac_cv_search_login=no 6448ac_cv_search_login=no
5931cat >conftest.$ac_ext <<_ACEOF 6449cat >conftest.$ac_ext <<_ACEOF
5932#line 5932 "configure" 6450#line $LINENO "configure"
5933#include "confdefs.h" 6451/* confdefs.h. */
6452_ACEOF
6453cat confdefs.h >>conftest.$ac_ext
6454cat >>conftest.$ac_ext <<_ACEOF
6455/* end confdefs.h. */
5934 6456
5935/* Override any gcc2 internal prototype to avoid an error. */ 6457/* Override any gcc2 internal prototype to avoid an error. */
5936#ifdef __cplusplus 6458#ifdef __cplusplus
@@ -5948,29 +6470,34 @@ login ();
5948} 6470}
5949_ACEOF 6471_ACEOF
5950rm -f conftest.$ac_objext conftest$ac_exeext 6472rm -f conftest.$ac_objext conftest$ac_exeext
5951if { (eval echo "$as_me:5951: \"$ac_link\"") >&5 6473if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5952 (eval $ac_link) 2>&5 6474 (eval $ac_link) 2>&5
5953 ac_status=$? 6475 ac_status=$?
5954 echo "$as_me:5954: \$? = $ac_status" >&5 6476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5955 (exit $ac_status); } && 6477 (exit $ac_status); } &&
5956 { ac_try='test -s conftest$ac_exeext' 6478 { ac_try='test -s conftest$ac_exeext'
5957 { (eval echo "$as_me:5957: \"$ac_try\"") >&5 6479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5958 (eval $ac_try) 2>&5 6480 (eval $ac_try) 2>&5
5959 ac_status=$? 6481 ac_status=$?
5960 echo "$as_me:5960: \$? = $ac_status" >&5 6482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961 (exit $ac_status); }; }; then 6483 (exit $ac_status); }; }; then
5962 ac_cv_search_login="none required" 6484 ac_cv_search_login="none required"
5963else 6485else
5964 echo "$as_me: failed program was:" >&5 6486 echo "$as_me: failed program was:" >&5
5965cat conftest.$ac_ext >&5 6487sed 's/^/| /' conftest.$ac_ext >&5
6488
5966fi 6489fi
5967rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6490rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5968if test "$ac_cv_search_login" = no; then 6491if test "$ac_cv_search_login" = no; then
5969 for ac_lib in util bsd; do 6492 for ac_lib in util bsd; do
5970 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6493 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5971 cat >conftest.$ac_ext <<_ACEOF 6494 cat >conftest.$ac_ext <<_ACEOF
5972#line 5972 "configure" 6495#line $LINENO "configure"
5973#include "confdefs.h" 6496/* confdefs.h. */
6497_ACEOF
6498cat confdefs.h >>conftest.$ac_ext
6499cat >>conftest.$ac_ext <<_ACEOF
6500/* end confdefs.h. */
5974 6501
5975/* Override any gcc2 internal prototype to avoid an error. */ 6502/* Override any gcc2 internal prototype to avoid an error. */
5976#ifdef __cplusplus 6503#ifdef __cplusplus
@@ -5988,176 +6515,210 @@ login ();
5988} 6515}
5989_ACEOF 6516_ACEOF
5990rm -f conftest.$ac_objext conftest$ac_exeext 6517rm -f conftest.$ac_objext conftest$ac_exeext
5991if { (eval echo "$as_me:5991: \"$ac_link\"") >&5 6518if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5992 (eval $ac_link) 2>&5 6519 (eval $ac_link) 2>&5
5993 ac_status=$? 6520 ac_status=$?
5994 echo "$as_me:5994: \$? = $ac_status" >&5 6521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995 (exit $ac_status); } && 6522 (exit $ac_status); } &&
5996 { ac_try='test -s conftest$ac_exeext' 6523 { ac_try='test -s conftest$ac_exeext'
5997 { (eval echo "$as_me:5997: \"$ac_try\"") >&5 6524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5998 (eval $ac_try) 2>&5 6525 (eval $ac_try) 2>&5
5999 ac_status=$? 6526 ac_status=$?
6000 echo "$as_me:6000: \$? = $ac_status" >&5 6527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6001 (exit $ac_status); }; }; then 6528 (exit $ac_status); }; }; then
6002 ac_cv_search_login="-l$ac_lib" 6529 ac_cv_search_login="-l$ac_lib"
6003break 6530break
6004else 6531else
6005 echo "$as_me: failed program was:" >&5 6532 echo "$as_me: failed program was:" >&5
6006cat conftest.$ac_ext >&5 6533sed 's/^/| /' conftest.$ac_ext >&5
6534
6007fi 6535fi
6008rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6536rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6009 done 6537 done
6010fi 6538fi
6011LIBS=$ac_func_search_save_LIBS 6539LIBS=$ac_func_search_save_LIBS
6012fi 6540fi
6013echo "$as_me:6013: result: $ac_cv_search_login" >&5 6541echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5
6014echo "${ECHO_T}$ac_cv_search_login" >&6 6542echo "${ECHO_T}$ac_cv_search_login" >&6
6015if test "$ac_cv_search_login" != no; then 6543if test "$ac_cv_search_login" != no; then
6016 test "$ac_cv_search_login" = "none required" || LIBS="$ac_cv_search_login $LIBS" 6544 test "$ac_cv_search_login" = "none required" || LIBS="$ac_cv_search_login $LIBS"
6017 cat >>confdefs.h <<\EOF 6545 cat >>confdefs.h <<\_ACEOF
6018#define HAVE_LOGIN 1 6546#define HAVE_LOGIN 1
6019EOF 6547_ACEOF
6020 6548
6021fi 6549fi
6022 6550
6551
6552
6553
6023for ac_func in logout updwtmp logwtmp 6554for ac_func in logout updwtmp logwtmp
6024do 6555do
6025as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6556as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6026echo "$as_me:6026: checking for $ac_func" >&5 6557echo "$as_me:$LINENO: checking for $ac_func" >&5
6027echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6558echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6028if eval "test \"\${$as_ac_var+set}\" = set"; then 6559if eval "test \"\${$as_ac_var+set}\" = set"; then
6029 echo $ECHO_N "(cached) $ECHO_C" >&6 6560 echo $ECHO_N "(cached) $ECHO_C" >&6
6030else 6561else
6031 cat >conftest.$ac_ext <<_ACEOF 6562 cat >conftest.$ac_ext <<_ACEOF
6032#line 6032 "configure" 6563#line $LINENO "configure"
6033#include "confdefs.h" 6564/* confdefs.h. */
6565_ACEOF
6566cat confdefs.h >>conftest.$ac_ext
6567cat >>conftest.$ac_ext <<_ACEOF
6568/* end confdefs.h. */
6034/* System header to define __stub macros and hopefully few prototypes, 6569/* System header to define __stub macros and hopefully few prototypes,
6035 which can conflict with char $ac_func (); below. */ 6570 which can conflict with char $ac_func (); below.
6036#include <assert.h> 6571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6572 <limits.h> exists even on freestanding compilers. */
6573#ifdef __STDC__
6574# include <limits.h>
6575#else
6576# include <assert.h>
6577#endif
6037/* Override any gcc2 internal prototype to avoid an error. */ 6578/* Override any gcc2 internal prototype to avoid an error. */
6038#ifdef __cplusplus 6579#ifdef __cplusplus
6039extern "C" 6580extern "C"
6581{
6040#endif 6582#endif
6041/* We use char because int might match the return type of a gcc2 6583/* We use char because int might match the return type of a gcc2
6042 builtin and then its argument prototype would still apply. */ 6584 builtin and then its argument prototype would still apply. */
6043char $ac_func (); 6585char $ac_func ();
6044char (*f) ();
6045
6046int
6047main ()
6048{
6049/* The GNU C library defines this for functions which it implements 6586/* The GNU C library defines this for functions which it implements
6050 to always fail with ENOSYS. Some functions are actually named 6587 to always fail with ENOSYS. Some functions are actually named
6051 something starting with __ and the normal name is an alias. */ 6588 something starting with __ and the normal name is an alias. */
6052#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 6589#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6053choke me 6590choke me
6054#else 6591#else
6055f = $ac_func; 6592char (*f) () = $ac_func;
6593#endif
6594#ifdef __cplusplus
6595}
6056#endif 6596#endif
6057 6597
6598int
6599main ()
6600{
6601return f != $ac_func;
6058 ; 6602 ;
6059 return 0; 6603 return 0;
6060} 6604}
6061_ACEOF 6605_ACEOF
6062rm -f conftest.$ac_objext conftest$ac_exeext 6606rm -f conftest.$ac_objext conftest$ac_exeext
6063if { (eval echo "$as_me:6063: \"$ac_link\"") >&5 6607if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6064 (eval $ac_link) 2>&5 6608 (eval $ac_link) 2>&5
6065 ac_status=$? 6609 ac_status=$?
6066 echo "$as_me:6066: \$? = $ac_status" >&5 6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067 (exit $ac_status); } && 6611 (exit $ac_status); } &&
6068 { ac_try='test -s conftest$ac_exeext' 6612 { ac_try='test -s conftest$ac_exeext'
6069 { (eval echo "$as_me:6069: \"$ac_try\"") >&5 6613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6070 (eval $ac_try) 2>&5 6614 (eval $ac_try) 2>&5
6071 ac_status=$? 6615 ac_status=$?
6072 echo "$as_me:6072: \$? = $ac_status" >&5 6616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6073 (exit $ac_status); }; }; then 6617 (exit $ac_status); }; }; then
6074 eval "$as_ac_var=yes" 6618 eval "$as_ac_var=yes"
6075else 6619else
6076 echo "$as_me: failed program was:" >&5 6620 echo "$as_me: failed program was:" >&5
6077cat conftest.$ac_ext >&5 6621sed 's/^/| /' conftest.$ac_ext >&5
6622
6078eval "$as_ac_var=no" 6623eval "$as_ac_var=no"
6079fi 6624fi
6080rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6625rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6081fi 6626fi
6082echo "$as_me:6082: result: `eval echo '${'$as_ac_var'}'`" >&5 6627echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6083echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6628echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6084if test `eval echo '${'$as_ac_var'}'` = yes; then 6629if test `eval echo '${'$as_ac_var'}'` = yes; then
6085 cat >>confdefs.h <<EOF 6630 cat >>confdefs.h <<_ACEOF
6086#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6631#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6087EOF 6632_ACEOF
6088 6633
6089fi 6634fi
6090done 6635done
6091 6636
6637
6638
6092for ac_func in strftime 6639for ac_func in strftime
6093do 6640do
6094as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6641as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6095echo "$as_me:6095: checking for $ac_func" >&5 6642echo "$as_me:$LINENO: checking for $ac_func" >&5
6096echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6643echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6097if eval "test \"\${$as_ac_var+set}\" = set"; then 6644if eval "test \"\${$as_ac_var+set}\" = set"; then
6098 echo $ECHO_N "(cached) $ECHO_C" >&6 6645 echo $ECHO_N "(cached) $ECHO_C" >&6
6099else 6646else
6100 cat >conftest.$ac_ext <<_ACEOF 6647 cat >conftest.$ac_ext <<_ACEOF
6101#line 6101 "configure" 6648#line $LINENO "configure"
6102#include "confdefs.h" 6649/* confdefs.h. */
6650_ACEOF
6651cat confdefs.h >>conftest.$ac_ext
6652cat >>conftest.$ac_ext <<_ACEOF
6653/* end confdefs.h. */
6103/* System header to define __stub macros and hopefully few prototypes, 6654/* System header to define __stub macros and hopefully few prototypes,
6104 which can conflict with char $ac_func (); below. */ 6655 which can conflict with char $ac_func (); below.
6105#include <assert.h> 6656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6657 <limits.h> exists even on freestanding compilers. */
6658#ifdef __STDC__
6659# include <limits.h>
6660#else
6661# include <assert.h>
6662#endif
6106/* Override any gcc2 internal prototype to avoid an error. */ 6663/* Override any gcc2 internal prototype to avoid an error. */
6107#ifdef __cplusplus 6664#ifdef __cplusplus
6108extern "C" 6665extern "C"
6666{
6109#endif 6667#endif
6110/* We use char because int might match the return type of a gcc2 6668/* We use char because int might match the return type of a gcc2
6111 builtin and then its argument prototype would still apply. */ 6669 builtin and then its argument prototype would still apply. */
6112char $ac_func (); 6670char $ac_func ();
6113char (*f) ();
6114
6115int
6116main ()
6117{
6118/* The GNU C library defines this for functions which it implements 6671/* The GNU C library defines this for functions which it implements
6119 to always fail with ENOSYS. Some functions are actually named 6672 to always fail with ENOSYS. Some functions are actually named
6120 something starting with __ and the normal name is an alias. */ 6673 something starting with __ and the normal name is an alias. */
6121#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 6674#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6122choke me 6675choke me
6123#else 6676#else
6124f = $ac_func; 6677char (*f) () = $ac_func;
6678#endif
6679#ifdef __cplusplus
6680}
6125#endif 6681#endif
6126 6682
6683int
6684main ()
6685{
6686return f != $ac_func;
6127 ; 6687 ;
6128 return 0; 6688 return 0;
6129} 6689}
6130_ACEOF 6690_ACEOF
6131rm -f conftest.$ac_objext conftest$ac_exeext 6691rm -f conftest.$ac_objext conftest$ac_exeext
6132if { (eval echo "$as_me:6132: \"$ac_link\"") >&5 6692if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6133 (eval $ac_link) 2>&5 6693 (eval $ac_link) 2>&5
6134 ac_status=$? 6694 ac_status=$?
6135 echo "$as_me:6135: \$? = $ac_status" >&5 6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6136 (exit $ac_status); } && 6696 (exit $ac_status); } &&
6137 { ac_try='test -s conftest$ac_exeext' 6697 { ac_try='test -s conftest$ac_exeext'
6138 { (eval echo "$as_me:6138: \"$ac_try\"") >&5 6698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6139 (eval $ac_try) 2>&5 6699 (eval $ac_try) 2>&5
6140 ac_status=$? 6700 ac_status=$?
6141 echo "$as_me:6141: \$? = $ac_status" >&5 6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6142 (exit $ac_status); }; }; then 6702 (exit $ac_status); }; }; then
6143 eval "$as_ac_var=yes" 6703 eval "$as_ac_var=yes"
6144else 6704else
6145 echo "$as_me: failed program was:" >&5 6705 echo "$as_me: failed program was:" >&5
6146cat conftest.$ac_ext >&5 6706sed 's/^/| /' conftest.$ac_ext >&5
6707
6147eval "$as_ac_var=no" 6708eval "$as_ac_var=no"
6148fi 6709fi
6149rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6710rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6150fi 6711fi
6151echo "$as_me:6151: result: `eval echo '${'$as_ac_var'}'`" >&5 6712echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6152echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6713echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6153if test `eval echo '${'$as_ac_var'}'` = yes; then 6714if test `eval echo '${'$as_ac_var'}'` = yes; then
6154 cat >>confdefs.h <<EOF 6715 cat >>confdefs.h <<_ACEOF
6155#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 6716#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6156EOF 6717_ACEOF
6157 6718
6158else 6719else
6159 # strftime is in -lintl on SCO UNIX. 6720 # strftime is in -lintl on SCO UNIX.
6160echo "$as_me:6160: checking for strftime in -lintl" >&5 6721echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
6161echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6 6722echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
6162if test "${ac_cv_lib_intl_strftime+set}" = set; then 6723if test "${ac_cv_lib_intl_strftime+set}" = set; then
6163 echo $ECHO_N "(cached) $ECHO_C" >&6 6724 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -6165,8 +6726,12 @@ else
6165 ac_check_lib_save_LIBS=$LIBS 6726 ac_check_lib_save_LIBS=$LIBS
6166LIBS="-lintl $LIBS" 6727LIBS="-lintl $LIBS"
6167cat >conftest.$ac_ext <<_ACEOF 6728cat >conftest.$ac_ext <<_ACEOF
6168#line 6168 "configure" 6729#line $LINENO "configure"
6169#include "confdefs.h" 6730/* confdefs.h. */
6731_ACEOF
6732cat confdefs.h >>conftest.$ac_ext
6733cat >>conftest.$ac_ext <<_ACEOF
6734/* end confdefs.h. */
6170 6735
6171/* Override any gcc2 internal prototype to avoid an error. */ 6736/* Override any gcc2 internal prototype to avoid an error. */
6172#ifdef __cplusplus 6737#ifdef __cplusplus
@@ -6184,32 +6749,33 @@ strftime ();
6184} 6749}
6185_ACEOF 6750_ACEOF
6186rm -f conftest.$ac_objext conftest$ac_exeext 6751rm -f conftest.$ac_objext conftest$ac_exeext
6187if { (eval echo "$as_me:6187: \"$ac_link\"") >&5 6752if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6188 (eval $ac_link) 2>&5 6753 (eval $ac_link) 2>&5
6189 ac_status=$? 6754 ac_status=$?
6190 echo "$as_me:6190: \$? = $ac_status" >&5 6755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6191 (exit $ac_status); } && 6756 (exit $ac_status); } &&
6192 { ac_try='test -s conftest$ac_exeext' 6757 { ac_try='test -s conftest$ac_exeext'
6193 { (eval echo "$as_me:6193: \"$ac_try\"") >&5 6758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6194 (eval $ac_try) 2>&5 6759 (eval $ac_try) 2>&5
6195 ac_status=$? 6760 ac_status=$?
6196 echo "$as_me:6196: \$? = $ac_status" >&5 6761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6197 (exit $ac_status); }; }; then 6762 (exit $ac_status); }; }; then
6198 ac_cv_lib_intl_strftime=yes 6763 ac_cv_lib_intl_strftime=yes
6199else 6764else
6200 echo "$as_me: failed program was:" >&5 6765 echo "$as_me: failed program was:" >&5
6201cat conftest.$ac_ext >&5 6766sed 's/^/| /' conftest.$ac_ext >&5
6767
6202ac_cv_lib_intl_strftime=no 6768ac_cv_lib_intl_strftime=no
6203fi 6769fi
6204rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6770rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6205LIBS=$ac_check_lib_save_LIBS 6771LIBS=$ac_check_lib_save_LIBS
6206fi 6772fi
6207echo "$as_me:6207: result: $ac_cv_lib_intl_strftime" >&5 6773echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
6208echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6 6774echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
6209if test $ac_cv_lib_intl_strftime = yes; then 6775if test $ac_cv_lib_intl_strftime = yes; then
6210 cat >>confdefs.h <<\EOF 6776 cat >>confdefs.h <<\_ACEOF
6211#define HAVE_STRFTIME 1 6777#define HAVE_STRFTIME 1
6212EOF 6778_ACEOF
6213 6779
6214LIBS="-lintl $LIBS" 6780LIBS="-lintl $LIBS"
6215fi 6781fi
@@ -6217,12 +6783,17 @@ fi
6217fi 6783fi
6218done 6784done
6219 6785
6786
6220# Check for ALTDIRFUNC glob() extension 6787# Check for ALTDIRFUNC glob() extension
6221echo "$as_me:6221: checking for GLOB_ALTDIRFUNC support" >&5 6788echo "$as_me:$LINENO: checking for GLOB_ALTDIRFUNC support" >&5
6222echo $ECHO_N "checking for GLOB_ALTDIRFUNC support... $ECHO_C" >&6 6789echo $ECHO_N "checking for GLOB_ALTDIRFUNC support... $ECHO_C" >&6
6223cat >conftest.$ac_ext <<_ACEOF 6790cat >conftest.$ac_ext <<_ACEOF
6224#line 6224 "configure" 6791#line $LINENO "configure"
6225#include "confdefs.h" 6792/* confdefs.h. */
6793_ACEOF
6794cat confdefs.h >>conftest.$ac_ext
6795cat >>conftest.$ac_ext <<_ACEOF
6796/* end confdefs.h. */
6226 6797
6227 #include <glob.h> 6798 #include <glob.h>
6228 #ifdef GLOB_ALTDIRFUNC 6799 #ifdef GLOB_ALTDIRFUNC
@@ -6231,62 +6802,76 @@ cat >conftest.$ac_ext <<_ACEOF
6231 6802
6232_ACEOF 6803_ACEOF
6233if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6804if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6234 egrep "FOUNDIT" >/dev/null 2>&1; then 6805 $EGREP "FOUNDIT" >/dev/null 2>&1; then
6235 6806
6236 cat >>confdefs.h <<\EOF 6807 cat >>confdefs.h <<\_ACEOF
6237#define GLOB_HAS_ALTDIRFUNC 1 6808#define GLOB_HAS_ALTDIRFUNC 1
6238EOF 6809_ACEOF
6239 6810
6240 echo "$as_me:6240: result: yes" >&5 6811 echo "$as_me:$LINENO: result: yes" >&5
6241echo "${ECHO_T}yes" >&6 6812echo "${ECHO_T}yes" >&6
6242 6813
6243else 6814else
6244 6815
6245 echo "$as_me:6245: result: no" >&5 6816 echo "$as_me:$LINENO: result: no" >&5
6246echo "${ECHO_T}no" >&6 6817echo "${ECHO_T}no" >&6
6247 6818
6819
6248fi 6820fi
6249rm -f conftest* 6821rm -f conftest*
6250 6822
6823
6251# Check for g.gl_matchc glob() extension 6824# Check for g.gl_matchc glob() extension
6252echo "$as_me:6252: checking for gl_matchc field in glob_t" >&5 6825echo "$as_me:$LINENO: checking for gl_matchc field in glob_t" >&5
6253echo $ECHO_N "checking for gl_matchc field in glob_t... $ECHO_C" >&6 6826echo $ECHO_N "checking for gl_matchc field in glob_t... $ECHO_C" >&6
6254cat >conftest.$ac_ext <<_ACEOF 6827cat >conftest.$ac_ext <<_ACEOF
6255#line 6255 "configure" 6828#line $LINENO "configure"
6256#include "confdefs.h" 6829/* confdefs.h. */
6830_ACEOF
6831cat confdefs.h >>conftest.$ac_ext
6832cat >>conftest.$ac_ext <<_ACEOF
6833/* end confdefs.h. */
6257 6834
6258 #include <glob.h> 6835 #include <glob.h>
6259 int main(void){glob_t g; g.gl_matchc = 1;} 6836 int main(void){glob_t g; g.gl_matchc = 1;}
6260 6837
6261_ACEOF 6838_ACEOF
6262if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6839if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6263 egrep "FOUNDIT" >/dev/null 2>&1; then 6840 $EGREP "FOUNDIT" >/dev/null 2>&1; then
6264 6841
6265 cat >>confdefs.h <<\EOF 6842 cat >>confdefs.h <<\_ACEOF
6266#define GLOB_HAS_GL_MATCHC 1 6843#define GLOB_HAS_GL_MATCHC 1
6267EOF 6844_ACEOF
6268 6845
6269 echo "$as_me:6269: result: yes" >&5 6846 echo "$as_me:$LINENO: result: yes" >&5
6270echo "${ECHO_T}yes" >&6 6847echo "${ECHO_T}yes" >&6
6271 6848
6272else 6849else
6273 6850
6274 echo "$as_me:6274: result: no" >&5 6851 echo "$as_me:$LINENO: result: no" >&5
6275echo "${ECHO_T}no" >&6 6852echo "${ECHO_T}no" >&6
6276 6853
6854
6277fi 6855fi
6278rm -f conftest* 6856rm -f conftest*
6279 6857
6280echo "$as_me:6280: checking whether struct dirent allocates space for d_name" >&5 6858
6859echo "$as_me:$LINENO: checking whether struct dirent allocates space for d_name" >&5
6281echo $ECHO_N "checking whether struct dirent allocates space for d_name... $ECHO_C" >&6 6860echo $ECHO_N "checking whether struct dirent allocates space for d_name... $ECHO_C" >&6
6282if test "$cross_compiling" = yes; then 6861if test "$cross_compiling" = yes; then
6283 { { echo "$as_me:6283: error: cannot run test program while cross compiling" >&5 6862 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6284echo "$as_me: error: cannot run test program while cross compiling" >&2;} 6863See \`config.log' for more details." >&5
6864echo "$as_me: error: cannot run test program while cross compiling
6865See \`config.log' for more details." >&2;}
6285 { (exit 1); exit 1; }; } 6866 { (exit 1); exit 1; }; }
6286else 6867else
6287 cat >conftest.$ac_ext <<_ACEOF 6868 cat >conftest.$ac_ext <<_ACEOF
6288#line 6288 "configure" 6869#line $LINENO "configure"
6289#include "confdefs.h" 6870/* confdefs.h. */
6871_ACEOF
6872cat confdefs.h >>conftest.$ac_ext
6873cat >>conftest.$ac_ext <<_ACEOF
6874/* end confdefs.h. */
6290 6875
6291#include <sys/types.h> 6876#include <sys/types.h>
6292#include <dirent.h> 6877#include <dirent.h>
@@ -6294,31 +6879,35 @@ int main(void){struct dirent d;exit(sizeof(d.d_name)<=sizeof(char));}
6294 6879
6295_ACEOF 6880_ACEOF
6296rm -f conftest$ac_exeext 6881rm -f conftest$ac_exeext
6297if { (eval echo "$as_me:6297: \"$ac_link\"") >&5 6882if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6298 (eval $ac_link) 2>&5 6883 (eval $ac_link) 2>&5
6299 ac_status=$? 6884 ac_status=$?
6300 echo "$as_me:6300: \$? = $ac_status" >&5 6885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6301 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6886 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6302 { (eval echo "$as_me:6302: \"$ac_try\"") >&5 6887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6303 (eval $ac_try) 2>&5 6888 (eval $ac_try) 2>&5
6304 ac_status=$? 6889 ac_status=$?
6305 echo "$as_me:6305: \$? = $ac_status" >&5 6890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6306 (exit $ac_status); }; }; then 6891 (exit $ac_status); }; }; then
6307 echo "$as_me:6307: result: yes" >&5 6892 echo "$as_me:$LINENO: result: yes" >&5
6308echo "${ECHO_T}yes" >&6 6893echo "${ECHO_T}yes" >&6
6309else 6894else
6310 echo "$as_me: program exited with status $ac_status" >&5 6895 echo "$as_me: program exited with status $ac_status" >&5
6311echo "$as_me: failed program was:" >&5 6896echo "$as_me: failed program was:" >&5
6312cat conftest.$ac_ext >&5 6897sed 's/^/| /' conftest.$ac_ext >&5
6313 6898
6314 echo "$as_me:6314: result: no" >&5 6899( exit $ac_status )
6900
6901 echo "$as_me:$LINENO: result: no" >&5
6315echo "${ECHO_T}no" >&6 6902echo "${ECHO_T}no" >&6
6316 cat >>confdefs.h <<\EOF 6903 cat >>confdefs.h <<\_ACEOF
6317#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1 6904#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1
6318EOF 6905_ACEOF
6906
6907
6319 6908
6320fi 6909fi
6321rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6910rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6322fi 6911fi
6323 6912
6324# Check whether user wants S/Key support 6913# Check whether user wants S/Key support
@@ -6335,23 +6924,29 @@ if test "${with_skey+set}" = set; then
6335 LDFLAGS="$LDFLAGS -L${withval}/lib" 6924 LDFLAGS="$LDFLAGS -L${withval}/lib"
6336 fi 6925 fi
6337 6926
6338 cat >>confdefs.h <<\EOF 6927 cat >>confdefs.h <<\_ACEOF
6339#define SKEY 1 6928#define SKEY 1
6340EOF 6929_ACEOF
6341 6930
6342 LIBS="-lskey $LIBS" 6931 LIBS="-lskey $LIBS"
6343 SKEY_MSG="yes" 6932 SKEY_MSG="yes"
6344 6933
6345 echo "$as_me:6345: checking for s/key support" >&5 6934 echo "$as_me:$LINENO: checking for s/key support" >&5
6346echo $ECHO_N "checking for s/key support... $ECHO_C" >&6 6935echo $ECHO_N "checking for s/key support... $ECHO_C" >&6
6347 if test "$cross_compiling" = yes; then 6936 if test "$cross_compiling" = yes; then
6348 { { echo "$as_me:6348: error: cannot run test program while cross compiling" >&5 6937 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6349echo "$as_me: error: cannot run test program while cross compiling" >&2;} 6938See \`config.log' for more details." >&5
6939echo "$as_me: error: cannot run test program while cross compiling
6940See \`config.log' for more details." >&2;}
6350 { (exit 1); exit 1; }; } 6941 { (exit 1); exit 1; }; }
6351else 6942else
6352 cat >conftest.$ac_ext <<_ACEOF 6943 cat >conftest.$ac_ext <<_ACEOF
6353#line 6353 "configure" 6944#line $LINENO "configure"
6354#include "confdefs.h" 6945/* confdefs.h. */
6946_ACEOF
6947cat confdefs.h >>conftest.$ac_ext
6948cat >>conftest.$ac_ext <<_ACEOF
6949/* end confdefs.h. */
6355 6950
6356#include <stdio.h> 6951#include <stdio.h>
6357#include <skey.h> 6952#include <skey.h>
@@ -6359,34 +6954,37 @@ int main() { char *ff = skey_keyinfo(""); ff=""; exit(0); }
6359 6954
6360_ACEOF 6955_ACEOF
6361rm -f conftest$ac_exeext 6956rm -f conftest$ac_exeext
6362if { (eval echo "$as_me:6362: \"$ac_link\"") >&5 6957if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6363 (eval $ac_link) 2>&5 6958 (eval $ac_link) 2>&5
6364 ac_status=$? 6959 ac_status=$?
6365 echo "$as_me:6365: \$? = $ac_status" >&5 6960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6366 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6961 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6367 { (eval echo "$as_me:6367: \"$ac_try\"") >&5 6962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6368 (eval $ac_try) 2>&5 6963 (eval $ac_try) 2>&5
6369 ac_status=$? 6964 ac_status=$?
6370 echo "$as_me:6370: \$? = $ac_status" >&5 6965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6371 (exit $ac_status); }; }; then 6966 (exit $ac_status); }; }; then
6372 echo "$as_me:6372: result: yes" >&5 6967 echo "$as_me:$LINENO: result: yes" >&5
6373echo "${ECHO_T}yes" >&6 6968echo "${ECHO_T}yes" >&6
6374else 6969else
6375 echo "$as_me: program exited with status $ac_status" >&5 6970 echo "$as_me: program exited with status $ac_status" >&5
6376echo "$as_me: failed program was:" >&5 6971echo "$as_me: failed program was:" >&5
6377cat conftest.$ac_ext >&5 6972sed 's/^/| /' conftest.$ac_ext >&5
6378 6973
6379 echo "$as_me:6379: result: no" >&5 6974( exit $ac_status )
6975
6976 echo "$as_me:$LINENO: result: no" >&5
6380echo "${ECHO_T}no" >&6 6977echo "${ECHO_T}no" >&6
6381 { { echo "$as_me:6381: error: ** Incomplete or missing s/key libraries." >&5 6978 { { echo "$as_me:$LINENO: error: ** Incomplete or missing s/key libraries." >&5
6382echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;} 6979echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;}
6383 { (exit 1); exit 1; }; } 6980 { (exit 1); exit 1; }; }
6384 6981
6385fi 6982fi
6386rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6983rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6387fi 6984fi
6388 fi 6985 fi
6389 6986
6987
6390fi; 6988fi;
6391 6989
6392# Check whether user wants TCP wrappers support 6990# Check whether user wants TCP wrappers support
@@ -6422,11 +7020,15 @@ if test "${with_tcp_wrappers+set}" = set; then
6422 fi 7020 fi
6423 LIBWRAP="-lwrap" 7021 LIBWRAP="-lwrap"
6424 LIBS="$LIBWRAP $LIBS" 7022 LIBS="$LIBWRAP $LIBS"
6425 echo "$as_me:6425: checking for libwrap" >&5 7023 echo "$as_me:$LINENO: checking for libwrap" >&5
6426echo $ECHO_N "checking for libwrap... $ECHO_C" >&6 7024echo $ECHO_N "checking for libwrap... $ECHO_C" >&6
6427 cat >conftest.$ac_ext <<_ACEOF 7025 cat >conftest.$ac_ext <<_ACEOF
6428#line 6428 "configure" 7026#line $LINENO "configure"
6429#include "confdefs.h" 7027/* confdefs.h. */
7028_ACEOF
7029cat confdefs.h >>conftest.$ac_ext
7030cat >>conftest.$ac_ext <<_ACEOF
7031/* end confdefs.h. */
6430 7032
6431#include <tcpd.h> 7033#include <tcpd.h>
6432 int deny_severity = 0, allow_severity = 0; 7034 int deny_severity = 0, allow_severity = 0;
@@ -6440,124 +7042,215 @@ hosts_access(0);
6440} 7042}
6441_ACEOF 7043_ACEOF
6442rm -f conftest.$ac_objext conftest$ac_exeext 7044rm -f conftest.$ac_objext conftest$ac_exeext
6443if { (eval echo "$as_me:6443: \"$ac_link\"") >&5 7045if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6444 (eval $ac_link) 2>&5 7046 (eval $ac_link) 2>&5
6445 ac_status=$? 7047 ac_status=$?
6446 echo "$as_me:6446: \$? = $ac_status" >&5 7048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6447 (exit $ac_status); } && 7049 (exit $ac_status); } &&
6448 { ac_try='test -s conftest$ac_exeext' 7050 { ac_try='test -s conftest$ac_exeext'
6449 { (eval echo "$as_me:6449: \"$ac_try\"") >&5 7051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6450 (eval $ac_try) 2>&5 7052 (eval $ac_try) 2>&5
6451 ac_status=$? 7053 ac_status=$?
6452 echo "$as_me:6452: \$? = $ac_status" >&5 7054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453 (exit $ac_status); }; }; then 7055 (exit $ac_status); }; }; then
6454 7056
6455 echo "$as_me:6455: result: yes" >&5 7057 echo "$as_me:$LINENO: result: yes" >&5
6456echo "${ECHO_T}yes" >&6 7058echo "${ECHO_T}yes" >&6
6457 cat >>confdefs.h <<\EOF 7059 cat >>confdefs.h <<\_ACEOF
6458#define LIBWRAP 1 7060#define LIBWRAP 1
6459EOF 7061_ACEOF
7062
6460 7063
6461 TCPW_MSG="yes" 7064 TCPW_MSG="yes"
6462 7065
6463else 7066else
6464 echo "$as_me: failed program was:" >&5 7067 echo "$as_me: failed program was:" >&5
6465cat conftest.$ac_ext >&5 7068sed 's/^/| /' conftest.$ac_ext >&5
7069
6466 7070
6467 { { echo "$as_me:6467: error: *** libwrap missing" >&5 7071 { { echo "$as_me:$LINENO: error: *** libwrap missing" >&5
6468echo "$as_me: error: *** libwrap missing" >&2;} 7072echo "$as_me: error: *** libwrap missing" >&2;}
6469 { (exit 1); exit 1; }; } 7073 { (exit 1); exit 1; }; }
6470 7074
7075
6471fi 7076fi
6472rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7077rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6473 LIBS="$saved_LIBS" 7078 LIBS="$saved_LIBS"
6474 fi 7079 fi
6475 7080
7081
6476fi; 7082fi;
6477 7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
6478for ac_func in \ 7157for ac_func in \
6479 arc4random __b64_ntop b64_ntop __b64_pton b64_pton basename \ 7158 arc4random __b64_ntop b64_ntop __b64_pton b64_pton basename bcopy \
6480 bcopy bindresvport_sa clock fchmod fchown freeaddrinfo futimes \ 7159 bindresvport_sa clock fchmod fchown freeaddrinfo futimes \
6481 gai_strerror getaddrinfo getcwd getgrouplist getnameinfo getopt \ 7160 gai_strerror getaddrinfo getcwd getgrouplist getnameinfo getopt \
6482 getpeereid _getpty getrlimit getttyent glob inet_aton \ 7161 getpeereid _getpty getrlimit getrusage getttyent glob inet_aton \
6483 inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \ 7162 inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \
6484 mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openlog_r openpty \ 7163 mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openpty pstat \
6485 pstat readpassphrase realpath recvmsg rresvport_af sendmsg \ 7164 readpassphrase realpath recvmsg rresvport_af sendmsg setdtablesize \
6486 setdtablesize setegid setenv seteuid setgroups setlogin setpcred \ 7165 setegid setenv seteuid setgroups setlogin setpcred setproctitle \
6487 setproctitle setregid setresgid setresuid setreuid setrlimit \ 7166 setresgid setreuid setrlimit setsid setvbuf sigaction sigvec \
6488 setsid setvbuf sigaction sigvec snprintf socketpair strerror \ 7167 snprintf socketpair strerror strlcat strlcpy strmode strnvis \
6489 strlcat strlcpy strmode strnvis sysconf tcgetpgrp \ 7168 sysconf tcgetpgrp truncate utimes vhangup vsnprintf waitpid \
6490 truncate utimes vhangup vsnprintf waitpid \
6491 7169
6492do 7170do
6493as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7171as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6494echo "$as_me:6494: checking for $ac_func" >&5 7172echo "$as_me:$LINENO: checking for $ac_func" >&5
6495echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7173echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6496if eval "test \"\${$as_ac_var+set}\" = set"; then 7174if eval "test \"\${$as_ac_var+set}\" = set"; then
6497 echo $ECHO_N "(cached) $ECHO_C" >&6 7175 echo $ECHO_N "(cached) $ECHO_C" >&6
6498else 7176else
6499 cat >conftest.$ac_ext <<_ACEOF 7177 cat >conftest.$ac_ext <<_ACEOF
6500#line 6500 "configure" 7178#line $LINENO "configure"
6501#include "confdefs.h" 7179/* confdefs.h. */
7180_ACEOF
7181cat confdefs.h >>conftest.$ac_ext
7182cat >>conftest.$ac_ext <<_ACEOF
7183/* end confdefs.h. */
6502/* System header to define __stub macros and hopefully few prototypes, 7184/* System header to define __stub macros and hopefully few prototypes,
6503 which can conflict with char $ac_func (); below. */ 7185 which can conflict with char $ac_func (); below.
6504#include <assert.h> 7186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7187 <limits.h> exists even on freestanding compilers. */
7188#ifdef __STDC__
7189# include <limits.h>
7190#else
7191# include <assert.h>
7192#endif
6505/* Override any gcc2 internal prototype to avoid an error. */ 7193/* Override any gcc2 internal prototype to avoid an error. */
6506#ifdef __cplusplus 7194#ifdef __cplusplus
6507extern "C" 7195extern "C"
7196{
6508#endif 7197#endif
6509/* We use char because int might match the return type of a gcc2 7198/* We use char because int might match the return type of a gcc2
6510 builtin and then its argument prototype would still apply. */ 7199 builtin and then its argument prototype would still apply. */
6511char $ac_func (); 7200char $ac_func ();
6512char (*f) ();
6513
6514int
6515main ()
6516{
6517/* The GNU C library defines this for functions which it implements 7201/* The GNU C library defines this for functions which it implements
6518 to always fail with ENOSYS. Some functions are actually named 7202 to always fail with ENOSYS. Some functions are actually named
6519 something starting with __ and the normal name is an alias. */ 7203 something starting with __ and the normal name is an alias. */
6520#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 7204#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6521choke me 7205choke me
6522#else 7206#else
6523f = $ac_func; 7207char (*f) () = $ac_func;
7208#endif
7209#ifdef __cplusplus
7210}
6524#endif 7211#endif
6525 7212
7213int
7214main ()
7215{
7216return f != $ac_func;
6526 ; 7217 ;
6527 return 0; 7218 return 0;
6528} 7219}
6529_ACEOF 7220_ACEOF
6530rm -f conftest.$ac_objext conftest$ac_exeext 7221rm -f conftest.$ac_objext conftest$ac_exeext
6531if { (eval echo "$as_me:6531: \"$ac_link\"") >&5 7222if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6532 (eval $ac_link) 2>&5 7223 (eval $ac_link) 2>&5
6533 ac_status=$? 7224 ac_status=$?
6534 echo "$as_me:6534: \$? = $ac_status" >&5 7225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6535 (exit $ac_status); } && 7226 (exit $ac_status); } &&
6536 { ac_try='test -s conftest$ac_exeext' 7227 { ac_try='test -s conftest$ac_exeext'
6537 { (eval echo "$as_me:6537: \"$ac_try\"") >&5 7228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6538 (eval $ac_try) 2>&5 7229 (eval $ac_try) 2>&5
6539 ac_status=$? 7230 ac_status=$?
6540 echo "$as_me:6540: \$? = $ac_status" >&5 7231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541 (exit $ac_status); }; }; then 7232 (exit $ac_status); }; }; then
6542 eval "$as_ac_var=yes" 7233 eval "$as_ac_var=yes"
6543else 7234else
6544 echo "$as_me: failed program was:" >&5 7235 echo "$as_me: failed program was:" >&5
6545cat conftest.$ac_ext >&5 7236sed 's/^/| /' conftest.$ac_ext >&5
7237
6546eval "$as_ac_var=no" 7238eval "$as_ac_var=no"
6547fi 7239fi
6548rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7240rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6549fi 7241fi
6550echo "$as_me:6550: result: `eval echo '${'$as_ac_var'}'`" >&5 7242echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6551echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7243echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6552if test `eval echo '${'$as_ac_var'}'` = yes; then 7244if test `eval echo '${'$as_ac_var'}'` = yes; then
6553 cat >>confdefs.h <<EOF 7245 cat >>confdefs.h <<_ACEOF
6554#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 7246#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6555EOF 7247_ACEOF
6556 7248
6557fi 7249fi
6558done 7250done
6559 7251
6560echo "$as_me:6560: checking for library containing nanosleep" >&5 7252
7253echo "$as_me:$LINENO: checking for library containing nanosleep" >&5
6561echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6 7254echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6
6562if test "${ac_cv_search_nanosleep+set}" = set; then 7255if test "${ac_cv_search_nanosleep+set}" = set; then
6563 echo $ECHO_N "(cached) $ECHO_C" >&6 7256 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -6565,8 +7258,12 @@ else
6565 ac_func_search_save_LIBS=$LIBS 7258 ac_func_search_save_LIBS=$LIBS
6566ac_cv_search_nanosleep=no 7259ac_cv_search_nanosleep=no
6567cat >conftest.$ac_ext <<_ACEOF 7260cat >conftest.$ac_ext <<_ACEOF
6568#line 6568 "configure" 7261#line $LINENO "configure"
6569#include "confdefs.h" 7262/* confdefs.h. */
7263_ACEOF
7264cat confdefs.h >>conftest.$ac_ext
7265cat >>conftest.$ac_ext <<_ACEOF
7266/* end confdefs.h. */
6570 7267
6571/* Override any gcc2 internal prototype to avoid an error. */ 7268/* Override any gcc2 internal prototype to avoid an error. */
6572#ifdef __cplusplus 7269#ifdef __cplusplus
@@ -6584,29 +7281,34 @@ nanosleep ();
6584} 7281}
6585_ACEOF 7282_ACEOF
6586rm -f conftest.$ac_objext conftest$ac_exeext 7283rm -f conftest.$ac_objext conftest$ac_exeext
6587if { (eval echo "$as_me:6587: \"$ac_link\"") >&5 7284if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6588 (eval $ac_link) 2>&5 7285 (eval $ac_link) 2>&5
6589 ac_status=$? 7286 ac_status=$?
6590 echo "$as_me:6590: \$? = $ac_status" >&5 7287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6591 (exit $ac_status); } && 7288 (exit $ac_status); } &&
6592 { ac_try='test -s conftest$ac_exeext' 7289 { ac_try='test -s conftest$ac_exeext'
6593 { (eval echo "$as_me:6593: \"$ac_try\"") >&5 7290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6594 (eval $ac_try) 2>&5 7291 (eval $ac_try) 2>&5
6595 ac_status=$? 7292 ac_status=$?
6596 echo "$as_me:6596: \$? = $ac_status" >&5 7293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6597 (exit $ac_status); }; }; then 7294 (exit $ac_status); }; }; then
6598 ac_cv_search_nanosleep="none required" 7295 ac_cv_search_nanosleep="none required"
6599else 7296else
6600 echo "$as_me: failed program was:" >&5 7297 echo "$as_me: failed program was:" >&5
6601cat conftest.$ac_ext >&5 7298sed 's/^/| /' conftest.$ac_ext >&5
7299
6602fi 7300fi
6603rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7301rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6604if test "$ac_cv_search_nanosleep" = no; then 7302if test "$ac_cv_search_nanosleep" = no; then
6605 for ac_lib in rt posix4; do 7303 for ac_lib in rt posix4; do
6606 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 7304 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6607 cat >conftest.$ac_ext <<_ACEOF 7305 cat >conftest.$ac_ext <<_ACEOF
6608#line 6608 "configure" 7306#line $LINENO "configure"
6609#include "confdefs.h" 7307/* confdefs.h. */
7308_ACEOF
7309cat confdefs.h >>conftest.$ac_ext
7310cat >>conftest.$ac_ext <<_ACEOF
7311/* end confdefs.h. */
6610 7312
6611/* Override any gcc2 internal prototype to avoid an error. */ 7313/* Override any gcc2 internal prototype to avoid an error. */
6612#ifdef __cplusplus 7314#ifdef __cplusplus
@@ -6624,231 +7326,161 @@ nanosleep ();
6624} 7326}
6625_ACEOF 7327_ACEOF
6626rm -f conftest.$ac_objext conftest$ac_exeext 7328rm -f conftest.$ac_objext conftest$ac_exeext
6627if { (eval echo "$as_me:6627: \"$ac_link\"") >&5 7329if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6628 (eval $ac_link) 2>&5 7330 (eval $ac_link) 2>&5
6629 ac_status=$? 7331 ac_status=$?
6630 echo "$as_me:6630: \$? = $ac_status" >&5 7332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631 (exit $ac_status); } && 7333 (exit $ac_status); } &&
6632 { ac_try='test -s conftest$ac_exeext' 7334 { ac_try='test -s conftest$ac_exeext'
6633 { (eval echo "$as_me:6633: \"$ac_try\"") >&5 7335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6634 (eval $ac_try) 2>&5 7336 (eval $ac_try) 2>&5
6635 ac_status=$? 7337 ac_status=$?
6636 echo "$as_me:6636: \$? = $ac_status" >&5 7338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6637 (exit $ac_status); }; }; then 7339 (exit $ac_status); }; }; then
6638 ac_cv_search_nanosleep="-l$ac_lib" 7340 ac_cv_search_nanosleep="-l$ac_lib"
6639break 7341break
6640else 7342else
6641 echo "$as_me: failed program was:" >&5 7343 echo "$as_me: failed program was:" >&5
6642cat conftest.$ac_ext >&5 7344sed 's/^/| /' conftest.$ac_ext >&5
7345
6643fi 7346fi
6644rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7347rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6645 done 7348 done
6646fi 7349fi
6647LIBS=$ac_func_search_save_LIBS 7350LIBS=$ac_func_search_save_LIBS
6648fi 7351fi
6649echo "$as_me:6649: result: $ac_cv_search_nanosleep" >&5 7352echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5
6650echo "${ECHO_T}$ac_cv_search_nanosleep" >&6 7353echo "${ECHO_T}$ac_cv_search_nanosleep" >&6
6651if test "$ac_cv_search_nanosleep" != no; then 7354if test "$ac_cv_search_nanosleep" != no; then
6652 test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS" 7355 test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS"
6653 cat >>confdefs.h <<\EOF 7356 cat >>confdefs.h <<\_ACEOF
6654#define HAVE_NANOSLEEP 1 7357#define HAVE_NANOSLEEP 1
6655EOF 7358_ACEOF
6656 7359
6657fi 7360fi
6658 7361
6659echo "$as_me:6659: checking for ANSI C header files" >&5 7362echo "$as_me:$LINENO: checking for library containing basename" >&5
6660echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 7363echo $ECHO_N "checking for library containing basename... $ECHO_C" >&6
6661if test "${ac_cv_header_stdc+set}" = set; then 7364if test "${ac_cv_search_basename+set}" = set; then
6662 echo $ECHO_N "(cached) $ECHO_C" >&6 7365 echo $ECHO_N "(cached) $ECHO_C" >&6
6663else 7366else
6664 cat >conftest.$ac_ext <<_ACEOF 7367 ac_func_search_save_LIBS=$LIBS
6665#line 6665 "configure" 7368ac_cv_search_basename=no
6666#include "confdefs.h" 7369cat >conftest.$ac_ext <<_ACEOF
6667#include <stdlib.h> 7370#line $LINENO "configure"
6668#include <stdarg.h> 7371/* confdefs.h. */
6669#include <string.h>
6670#include <float.h>
6671
6672_ACEOF
6673if { (eval echo "$as_me:6673: \"$ac_cpp conftest.$ac_ext\"") >&5
6674 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6675 ac_status=$?
6676 egrep -v '^ *\+' conftest.er1 >conftest.err
6677 rm -f conftest.er1
6678 cat conftest.err >&5
6679 echo "$as_me:6679: \$? = $ac_status" >&5
6680 (exit $ac_status); } >/dev/null; then
6681 if test -s conftest.err; then
6682 ac_cpp_err=$ac_c_preproc_warn_flag
6683 else
6684 ac_cpp_err=
6685 fi
6686else
6687 ac_cpp_err=yes
6688fi
6689if test -z "$ac_cpp_err"; then
6690 ac_cv_header_stdc=yes
6691else
6692 echo "$as_me: failed program was:" >&5
6693 cat conftest.$ac_ext >&5
6694 ac_cv_header_stdc=no
6695fi
6696rm -f conftest.err conftest.$ac_ext
6697
6698if test $ac_cv_header_stdc = yes; then
6699 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6700 cat >conftest.$ac_ext <<_ACEOF
6701#line 6701 "configure"
6702#include "confdefs.h"
6703#include <string.h>
6704
6705_ACEOF
6706if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6707 egrep "memchr" >/dev/null 2>&1; then
6708 :
6709else
6710 ac_cv_header_stdc=no
6711fi
6712rm -f conftest*
6713
6714fi
6715
6716if test $ac_cv_header_stdc = yes; then
6717 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6718 cat >conftest.$ac_ext <<_ACEOF
6719#line 6719 "configure"
6720#include "confdefs.h"
6721#include <stdlib.h>
6722
6723_ACEOF 7372_ACEOF
6724if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7373cat confdefs.h >>conftest.$ac_ext
6725 egrep "free" >/dev/null 2>&1; then 7374cat >>conftest.$ac_ext <<_ACEOF
6726 : 7375/* end confdefs.h. */
6727else
6728 ac_cv_header_stdc=no
6729fi
6730rm -f conftest*
6731
6732fi
6733 7376
6734if test $ac_cv_header_stdc = yes; then 7377/* Override any gcc2 internal prototype to avoid an error. */
6735 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7378#ifdef __cplusplus
6736 if test "$cross_compiling" = yes; then 7379extern "C"
6737 :
6738else
6739 cat >conftest.$ac_ext <<_ACEOF
6740#line 6740 "configure"
6741#include "confdefs.h"
6742#include <ctype.h>
6743#if ((' ' & 0x0FF) == 0x020)
6744# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6745# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6746#else
6747# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
6748 || ('j' <= (c) && (c) <= 'r') \
6749 || ('s' <= (c) && (c) <= 'z'))
6750# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6751#endif 7380#endif
6752 7381/* We use char because int might match the return type of a gcc2
6753#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7382 builtin and then its argument prototype would still apply. */
7383char basename ();
6754int 7384int
6755main () 7385main ()
6756{ 7386{
6757 int i; 7387basename ();
6758 for (i = 0; i < 256; i++) 7388 ;
6759 if (XOR (islower (i), ISLOWER (i)) 7389 return 0;
6760 || toupper (i) != TOUPPER (i))
6761 exit(2);
6762 exit (0);
6763} 7390}
6764_ACEOF 7391_ACEOF
6765rm -f conftest$ac_exeext 7392rm -f conftest.$ac_objext conftest$ac_exeext
6766if { (eval echo "$as_me:6766: \"$ac_link\"") >&5 7393if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6767 (eval $ac_link) 2>&5 7394 (eval $ac_link) 2>&5
6768 ac_status=$? 7395 ac_status=$?
6769 echo "$as_me:6769: \$? = $ac_status" >&5 7396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6770 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7397 (exit $ac_status); } &&
6771 { (eval echo "$as_me:6771: \"$ac_try\"") >&5 7398 { ac_try='test -s conftest$ac_exeext'
7399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6772 (eval $ac_try) 2>&5 7400 (eval $ac_try) 2>&5
6773 ac_status=$? 7401 ac_status=$?
6774 echo "$as_me:6774: \$? = $ac_status" >&5 7402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6775 (exit $ac_status); }; }; then 7403 (exit $ac_status); }; }; then
6776 : 7404 ac_cv_search_basename="none required"
6777else 7405else
6778 echo "$as_me: program exited with status $ac_status" >&5 7406 echo "$as_me: failed program was:" >&5
6779echo "$as_me: failed program was:" >&5 7407sed 's/^/| /' conftest.$ac_ext >&5
6780cat conftest.$ac_ext >&5
6781ac_cv_header_stdc=no
6782fi
6783rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6784fi
6785fi
6786fi
6787echo "$as_me:6787: result: $ac_cv_header_stdc" >&5
6788echo "${ECHO_T}$ac_cv_header_stdc" >&6
6789if test $ac_cv_header_stdc = yes; then
6790
6791cat >>confdefs.h <<\EOF
6792#define STDC_HEADERS 1
6793EOF
6794 7408
6795fi 7409fi
7410rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7411if test "$ac_cv_search_basename" = no; then
7412 for ac_lib in gen; do
7413 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7414 cat >conftest.$ac_ext <<_ACEOF
7415#line $LINENO "configure"
7416/* confdefs.h. */
7417_ACEOF
7418cat confdefs.h >>conftest.$ac_ext
7419cat >>conftest.$ac_ext <<_ACEOF
7420/* end confdefs.h. */
6796 7421
6797# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7422/* Override any gcc2 internal prototype to avoid an error. */
6798 7423#ifdef __cplusplus
6799for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7424extern "C"
6800 inttypes.h stdint.h unistd.h 7425#endif
6801do 7426/* We use char because int might match the return type of a gcc2
6802as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7427 builtin and then its argument prototype would still apply. */
6803echo "$as_me:6803: checking for $ac_header" >&5 7428char basename ();
6804echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7429int
6805if eval "test \"\${$as_ac_Header+set}\" = set"; then 7430main ()
6806 echo $ECHO_N "(cached) $ECHO_C" >&6 7431{
6807else 7432basename ();
6808 cat >conftest.$ac_ext <<_ACEOF 7433 ;
6809#line 6809 "configure" 7434 return 0;
6810#include "confdefs.h" 7435}
6811$ac_includes_default
6812#include <$ac_header>
6813_ACEOF 7436_ACEOF
6814rm -f conftest.$ac_objext 7437rm -f conftest.$ac_objext conftest$ac_exeext
6815if { (eval echo "$as_me:6815: \"$ac_compile\"") >&5 7438if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6816 (eval $ac_compile) 2>&5 7439 (eval $ac_link) 2>&5
6817 ac_status=$? 7440 ac_status=$?
6818 echo "$as_me:6818: \$? = $ac_status" >&5 7441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6819 (exit $ac_status); } && 7442 (exit $ac_status); } &&
6820 { ac_try='test -s conftest.$ac_objext' 7443 { ac_try='test -s conftest$ac_exeext'
6821 { (eval echo "$as_me:6821: \"$ac_try\"") >&5 7444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6822 (eval $ac_try) 2>&5 7445 (eval $ac_try) 2>&5
6823 ac_status=$? 7446 ac_status=$?
6824 echo "$as_me:6824: \$? = $ac_status" >&5 7447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825 (exit $ac_status); }; }; then 7448 (exit $ac_status); }; }; then
6826 eval "$as_ac_Header=yes" 7449 ac_cv_search_basename="-l$ac_lib"
7450break
6827else 7451else
6828 echo "$as_me: failed program was:" >&5 7452 echo "$as_me: failed program was:" >&5
6829cat conftest.$ac_ext >&5 7453sed 's/^/| /' conftest.$ac_ext >&5
6830eval "$as_ac_Header=no" 7454
6831fi 7455fi
6832rm -f conftest.$ac_objext conftest.$ac_ext 7456rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7457 done
6833fi 7458fi
6834echo "$as_me:6834: result: `eval echo '${'$as_ac_Header'}'`" >&5 7459LIBS=$ac_func_search_save_LIBS
6835echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7460fi
6836if test `eval echo '${'$as_ac_Header'}'` = yes; then 7461echo "$as_me:$LINENO: result: $ac_cv_search_basename" >&5
6837 cat >>confdefs.h <<EOF 7462echo "${ECHO_T}$ac_cv_search_basename" >&6
6838#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7463if test "$ac_cv_search_basename" != no; then
6839EOF 7464 test "$ac_cv_search_basename" = "none required" || LIBS="$ac_cv_search_basename $LIBS"
7465 cat >>confdefs.h <<\_ACEOF
7466#define HAVE_BASENAME 1
7467_ACEOF
6840 7468
6841fi 7469fi
6842done
6843 7470
6844echo "$as_me:6844: checking whether strsep is declared" >&5 7471
7472echo "$as_me:$LINENO: checking whether strsep is declared" >&5
6845echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6 7473echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6
6846if test "${ac_cv_have_decl_strsep+set}" = set; then 7474if test "${ac_cv_have_decl_strsep+set}" = set; then
6847 echo $ECHO_N "(cached) $ECHO_C" >&6 7475 echo $ECHO_N "(cached) $ECHO_C" >&6
6848else 7476else
6849 cat >conftest.$ac_ext <<_ACEOF 7477 cat >conftest.$ac_ext <<_ACEOF
6850#line 6850 "configure" 7478#line $LINENO "configure"
6851#include "confdefs.h" 7479/* confdefs.h. */
7480_ACEOF
7481cat confdefs.h >>conftest.$ac_ext
7482cat >>conftest.$ac_ext <<_ACEOF
7483/* end confdefs.h. */
6852$ac_includes_default 7484$ac_includes_default
6853int 7485int
6854main () 7486main ()
@@ -6862,746 +7494,1131 @@ main ()
6862} 7494}
6863_ACEOF 7495_ACEOF
6864rm -f conftest.$ac_objext 7496rm -f conftest.$ac_objext
6865if { (eval echo "$as_me:6865: \"$ac_compile\"") >&5 7497if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6866 (eval $ac_compile) 2>&5 7498 (eval $ac_compile) 2>&5
6867 ac_status=$? 7499 ac_status=$?
6868 echo "$as_me:6868: \$? = $ac_status" >&5 7500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6869 (exit $ac_status); } && 7501 (exit $ac_status); } &&
6870 { ac_try='test -s conftest.$ac_objext' 7502 { ac_try='test -s conftest.$ac_objext'
6871 { (eval echo "$as_me:6871: \"$ac_try\"") >&5 7503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6872 (eval $ac_try) 2>&5 7504 (eval $ac_try) 2>&5
6873 ac_status=$? 7505 ac_status=$?
6874 echo "$as_me:6874: \$? = $ac_status" >&5 7506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6875 (exit $ac_status); }; }; then 7507 (exit $ac_status); }; }; then
6876 ac_cv_have_decl_strsep=yes 7508 ac_cv_have_decl_strsep=yes
6877else 7509else
6878 echo "$as_me: failed program was:" >&5 7510 echo "$as_me: failed program was:" >&5
6879cat conftest.$ac_ext >&5 7511sed 's/^/| /' conftest.$ac_ext >&5
7512
6880ac_cv_have_decl_strsep=no 7513ac_cv_have_decl_strsep=no
6881fi 7514fi
6882rm -f conftest.$ac_objext conftest.$ac_ext 7515rm -f conftest.$ac_objext conftest.$ac_ext
6883fi 7516fi
6884echo "$as_me:6884: result: $ac_cv_have_decl_strsep" >&5 7517echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsep" >&5
6885echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6 7518echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6
6886if test $ac_cv_have_decl_strsep = yes; then 7519if test $ac_cv_have_decl_strsep = yes; then
6887 7520
6888for ac_func in strsep 7521for ac_func in strsep
6889do 7522do
6890as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7523as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6891echo "$as_me:6891: checking for $ac_func" >&5 7524echo "$as_me:$LINENO: checking for $ac_func" >&5
6892echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7525echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6893if eval "test \"\${$as_ac_var+set}\" = set"; then 7526if eval "test \"\${$as_ac_var+set}\" = set"; then
6894 echo $ECHO_N "(cached) $ECHO_C" >&6 7527 echo $ECHO_N "(cached) $ECHO_C" >&6
6895else 7528else
6896 cat >conftest.$ac_ext <<_ACEOF 7529 cat >conftest.$ac_ext <<_ACEOF
6897#line 6897 "configure" 7530#line $LINENO "configure"
6898#include "confdefs.h" 7531/* confdefs.h. */
7532_ACEOF
7533cat confdefs.h >>conftest.$ac_ext
7534cat >>conftest.$ac_ext <<_ACEOF
7535/* end confdefs.h. */
6899/* System header to define __stub macros and hopefully few prototypes, 7536/* System header to define __stub macros and hopefully few prototypes,
6900 which can conflict with char $ac_func (); below. */ 7537 which can conflict with char $ac_func (); below.
6901#include <assert.h> 7538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7539 <limits.h> exists even on freestanding compilers. */
7540#ifdef __STDC__
7541# include <limits.h>
7542#else
7543# include <assert.h>
7544#endif
6902/* Override any gcc2 internal prototype to avoid an error. */ 7545/* Override any gcc2 internal prototype to avoid an error. */
6903#ifdef __cplusplus 7546#ifdef __cplusplus
6904extern "C" 7547extern "C"
7548{
6905#endif 7549#endif
6906/* We use char because int might match the return type of a gcc2 7550/* We use char because int might match the return type of a gcc2
6907 builtin and then its argument prototype would still apply. */ 7551 builtin and then its argument prototype would still apply. */
6908char $ac_func (); 7552char $ac_func ();
6909char (*f) ();
6910
6911int
6912main ()
6913{
6914/* The GNU C library defines this for functions which it implements 7553/* The GNU C library defines this for functions which it implements
6915 to always fail with ENOSYS. Some functions are actually named 7554 to always fail with ENOSYS. Some functions are actually named
6916 something starting with __ and the normal name is an alias. */ 7555 something starting with __ and the normal name is an alias. */
6917#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 7556#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6918choke me 7557choke me
6919#else 7558#else
6920f = $ac_func; 7559char (*f) () = $ac_func;
7560#endif
7561#ifdef __cplusplus
7562}
6921#endif 7563#endif
6922 7564
7565int
7566main ()
7567{
7568return f != $ac_func;
6923 ; 7569 ;
6924 return 0; 7570 return 0;
6925} 7571}
6926_ACEOF 7572_ACEOF
6927rm -f conftest.$ac_objext conftest$ac_exeext 7573rm -f conftest.$ac_objext conftest$ac_exeext
6928if { (eval echo "$as_me:6928: \"$ac_link\"") >&5 7574if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6929 (eval $ac_link) 2>&5 7575 (eval $ac_link) 2>&5
6930 ac_status=$? 7576 ac_status=$?
6931 echo "$as_me:6931: \$? = $ac_status" >&5 7577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6932 (exit $ac_status); } && 7578 (exit $ac_status); } &&
6933 { ac_try='test -s conftest$ac_exeext' 7579 { ac_try='test -s conftest$ac_exeext'
6934 { (eval echo "$as_me:6934: \"$ac_try\"") >&5 7580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6935 (eval $ac_try) 2>&5 7581 (eval $ac_try) 2>&5
6936 ac_status=$? 7582 ac_status=$?
6937 echo "$as_me:6937: \$? = $ac_status" >&5 7583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6938 (exit $ac_status); }; }; then 7584 (exit $ac_status); }; }; then
6939 eval "$as_ac_var=yes" 7585 eval "$as_ac_var=yes"
6940else 7586else
6941 echo "$as_me: failed program was:" >&5 7587 echo "$as_me: failed program was:" >&5
6942cat conftest.$ac_ext >&5 7588sed 's/^/| /' conftest.$ac_ext >&5
7589
6943eval "$as_ac_var=no" 7590eval "$as_ac_var=no"
6944fi 7591fi
6945rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7592rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6946fi 7593fi
6947echo "$as_me:6947: result: `eval echo '${'$as_ac_var'}'`" >&5 7594echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6948echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7595echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6949if test `eval echo '${'$as_ac_var'}'` = yes; then 7596if test `eval echo '${'$as_ac_var'}'` = yes; then
6950 cat >>confdefs.h <<EOF 7597 cat >>confdefs.h <<_ACEOF
6951#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 7598#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6952EOF 7599_ACEOF
6953 7600
6954fi 7601fi
6955done 7602done
6956 7603
6957fi 7604fi
6958 7605
6959echo "$as_me:6959: checking whether getrusage is declared" >&5
6960echo $ECHO_N "checking whether getrusage is declared... $ECHO_C" >&6
6961if test "${ac_cv_have_decl_getrusage+set}" = set; then
6962 echo $ECHO_N "(cached) $ECHO_C" >&6
6963else
6964 cat >conftest.$ac_ext <<_ACEOF
6965#line 6965 "configure"
6966#include "confdefs.h"
6967$ac_includes_default
6968int
6969main ()
6970{
6971#ifndef getrusage
6972 char *p = (char *) getrusage;
6973#endif
6974 7606
6975 ;
6976 return 0;
6977}
6978_ACEOF
6979rm -f conftest.$ac_objext
6980if { (eval echo "$as_me:6980: \"$ac_compile\"") >&5
6981 (eval $ac_compile) 2>&5
6982 ac_status=$?
6983 echo "$as_me:6983: \$? = $ac_status" >&5
6984 (exit $ac_status); } &&
6985 { ac_try='test -s conftest.$ac_objext'
6986 { (eval echo "$as_me:6986: \"$ac_try\"") >&5
6987 (eval $ac_try) 2>&5
6988 ac_status=$?
6989 echo "$as_me:6989: \$? = $ac_status" >&5
6990 (exit $ac_status); }; }; then
6991 ac_cv_have_decl_getrusage=yes
6992else
6993 echo "$as_me: failed program was:" >&5
6994cat conftest.$ac_ext >&5
6995ac_cv_have_decl_getrusage=no
6996fi
6997rm -f conftest.$ac_objext conftest.$ac_ext
6998fi
6999echo "$as_me:6999: result: $ac_cv_have_decl_getrusage" >&5
7000echo "${ECHO_T}$ac_cv_have_decl_getrusage" >&6
7001if test $ac_cv_have_decl_getrusage = yes; then
7002 7607
7003for ac_func in getrusage 7608for ac_func in dirname
7004do 7609do
7005as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7610as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7006echo "$as_me:7006: checking for $ac_func" >&5 7611echo "$as_me:$LINENO: checking for $ac_func" >&5
7007echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7612echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7008if eval "test \"\${$as_ac_var+set}\" = set"; then 7613if eval "test \"\${$as_ac_var+set}\" = set"; then
7009 echo $ECHO_N "(cached) $ECHO_C" >&6 7614 echo $ECHO_N "(cached) $ECHO_C" >&6
7010else 7615else
7011 cat >conftest.$ac_ext <<_ACEOF 7616 cat >conftest.$ac_ext <<_ACEOF
7012#line 7012 "configure" 7617#line $LINENO "configure"
7013#include "confdefs.h" 7618/* confdefs.h. */
7619_ACEOF
7620cat confdefs.h >>conftest.$ac_ext
7621cat >>conftest.$ac_ext <<_ACEOF
7622/* end confdefs.h. */
7014/* System header to define __stub macros and hopefully few prototypes, 7623/* System header to define __stub macros and hopefully few prototypes,
7015 which can conflict with char $ac_func (); below. */ 7624 which can conflict with char $ac_func (); below.
7016#include <assert.h> 7625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7626 <limits.h> exists even on freestanding compilers. */
7627#ifdef __STDC__
7628# include <limits.h>
7629#else
7630# include <assert.h>
7631#endif
7017/* Override any gcc2 internal prototype to avoid an error. */ 7632/* Override any gcc2 internal prototype to avoid an error. */
7018#ifdef __cplusplus 7633#ifdef __cplusplus
7019extern "C" 7634extern "C"
7635{
7020#endif 7636#endif
7021/* We use char because int might match the return type of a gcc2 7637/* We use char because int might match the return type of a gcc2
7022 builtin and then its argument prototype would still apply. */ 7638 builtin and then its argument prototype would still apply. */
7023char $ac_func (); 7639char $ac_func ();
7024char (*f) ();
7025
7026int
7027main ()
7028{
7029/* The GNU C library defines this for functions which it implements 7640/* The GNU C library defines this for functions which it implements
7030 to always fail with ENOSYS. Some functions are actually named 7641 to always fail with ENOSYS. Some functions are actually named
7031 something starting with __ and the normal name is an alias. */ 7642 something starting with __ and the normal name is an alias. */
7032#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 7643#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7033choke me 7644choke me
7034#else 7645#else
7035f = $ac_func; 7646char (*f) () = $ac_func;
7647#endif
7648#ifdef __cplusplus
7649}
7036#endif 7650#endif
7037 7651
7652int
7653main ()
7654{
7655return f != $ac_func;
7038 ; 7656 ;
7039 return 0; 7657 return 0;
7040} 7658}
7041_ACEOF 7659_ACEOF
7042rm -f conftest.$ac_objext conftest$ac_exeext 7660rm -f conftest.$ac_objext conftest$ac_exeext
7043if { (eval echo "$as_me:7043: \"$ac_link\"") >&5 7661if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7044 (eval $ac_link) 2>&5 7662 (eval $ac_link) 2>&5
7045 ac_status=$? 7663 ac_status=$?
7046 echo "$as_me:7046: \$? = $ac_status" >&5 7664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7047 (exit $ac_status); } && 7665 (exit $ac_status); } &&
7048 { ac_try='test -s conftest$ac_exeext' 7666 { ac_try='test -s conftest$ac_exeext'
7049 { (eval echo "$as_me:7049: \"$ac_try\"") >&5 7667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7050 (eval $ac_try) 2>&5 7668 (eval $ac_try) 2>&5
7051 ac_status=$? 7669 ac_status=$?
7052 echo "$as_me:7052: \$? = $ac_status" >&5 7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7053 (exit $ac_status); }; }; then 7671 (exit $ac_status); }; }; then
7054 eval "$as_ac_var=yes" 7672 eval "$as_ac_var=yes"
7055else 7673else
7056 echo "$as_me: failed program was:" >&5 7674 echo "$as_me: failed program was:" >&5
7057cat conftest.$ac_ext >&5 7675sed 's/^/| /' conftest.$ac_ext >&5
7676
7058eval "$as_ac_var=no" 7677eval "$as_ac_var=no"
7059fi 7678fi
7060rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7679rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7061fi 7680fi
7062echo "$as_me:7062: result: `eval echo '${'$as_ac_var'}'`" >&5 7681echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7063echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7682echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7064if test `eval echo '${'$as_ac_var'}'` = yes; then 7683if test `eval echo '${'$as_ac_var'}'` = yes; then
7065 cat >>confdefs.h <<EOF 7684 cat >>confdefs.h <<_ACEOF
7066#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 7685#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7067EOF 7686_ACEOF
7068
7069fi
7070done
7071
7072fi
7073 7687
7074echo "$as_me:7074: checking whether tcsendbreak is declared" >&5 7688for ac_header in libgen.h
7075echo $ECHO_N "checking whether tcsendbreak is declared... $ECHO_C" >&6 7689do
7076if test "${ac_cv_have_decl_tcsendbreak+set}" = set; then 7690as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7691if eval "test \"\${$as_ac_Header+set}\" = set"; then
7692 echo "$as_me:$LINENO: checking for $ac_header" >&5
7693echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7694if eval "test \"\${$as_ac_Header+set}\" = set"; then
7077 echo $ECHO_N "(cached) $ECHO_C" >&6 7695 echo $ECHO_N "(cached) $ECHO_C" >&6
7696fi
7697echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7698echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7078else 7699else
7079 cat >conftest.$ac_ext <<_ACEOF 7700 # Is the header compilable?
7080#line 7080 "configure" 7701echo "$as_me:$LINENO: checking $ac_header usability" >&5
7081#include "confdefs.h" 7702echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7082#include <termios.h> 7703cat >conftest.$ac_ext <<_ACEOF
7083 7704#line $LINENO "configure"
7084int 7705/* confdefs.h. */
7085main () 7706_ACEOF
7086{ 7707cat confdefs.h >>conftest.$ac_ext
7087#ifndef tcsendbreak 7708cat >>conftest.$ac_ext <<_ACEOF
7088 char *p = (char *) tcsendbreak; 7709/* end confdefs.h. */
7089#endif 7710$ac_includes_default
7090 7711#include <$ac_header>
7091 ;
7092 return 0;
7093}
7094_ACEOF 7712_ACEOF
7095rm -f conftest.$ac_objext 7713rm -f conftest.$ac_objext
7096if { (eval echo "$as_me:7096: \"$ac_compile\"") >&5 7714if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7097 (eval $ac_compile) 2>&5 7715 (eval $ac_compile) 2>&5
7098 ac_status=$? 7716 ac_status=$?
7099 echo "$as_me:7099: \$? = $ac_status" >&5 7717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100 (exit $ac_status); } && 7718 (exit $ac_status); } &&
7101 { ac_try='test -s conftest.$ac_objext' 7719 { ac_try='test -s conftest.$ac_objext'
7102 { (eval echo "$as_me:7102: \"$ac_try\"") >&5 7720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7103 (eval $ac_try) 2>&5 7721 (eval $ac_try) 2>&5
7104 ac_status=$? 7722 ac_status=$?
7105 echo "$as_me:7105: \$? = $ac_status" >&5 7723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7106 (exit $ac_status); }; }; then 7724 (exit $ac_status); }; }; then
7107 ac_cv_have_decl_tcsendbreak=yes 7725 ac_header_compiler=yes
7108else 7726else
7109 echo "$as_me: failed program was:" >&5 7727 echo "$as_me: failed program was:" >&5
7110cat conftest.$ac_ext >&5 7728sed 's/^/| /' conftest.$ac_ext >&5
7111ac_cv_have_decl_tcsendbreak=no 7729
7730ac_header_compiler=no
7112fi 7731fi
7113rm -f conftest.$ac_objext conftest.$ac_ext 7732rm -f conftest.$ac_objext conftest.$ac_ext
7733echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7734echo "${ECHO_T}$ac_header_compiler" >&6
7735
7736# Is the header present?
7737echo "$as_me:$LINENO: checking $ac_header presence" >&5
7738echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7739cat >conftest.$ac_ext <<_ACEOF
7740#line $LINENO "configure"
7741/* confdefs.h. */
7742_ACEOF
7743cat confdefs.h >>conftest.$ac_ext
7744cat >>conftest.$ac_ext <<_ACEOF
7745/* end confdefs.h. */
7746#include <$ac_header>
7747_ACEOF
7748if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7749 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7750 ac_status=$?
7751 grep -v '^ *+' conftest.er1 >conftest.err
7752 rm -f conftest.er1
7753 cat conftest.err >&5
7754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7755 (exit $ac_status); } >/dev/null; then
7756 if test -s conftest.err; then
7757 ac_cpp_err=$ac_c_preproc_warn_flag
7758 else
7759 ac_cpp_err=
7760 fi
7761else
7762 ac_cpp_err=yes
7114fi 7763fi
7115echo "$as_me:7115: result: $ac_cv_have_decl_tcsendbreak" >&5 7764if test -z "$ac_cpp_err"; then
7116echo "${ECHO_T}$ac_cv_have_decl_tcsendbreak" >&6 7765 ac_header_preproc=yes
7117if test $ac_cv_have_decl_tcsendbreak = yes; then 7766else
7118 cat >>confdefs.h <<\EOF 7767 echo "$as_me: failed program was:" >&5
7119#define HAVE_TCSENDBREAK 1 7768sed 's/^/| /' conftest.$ac_ext >&5
7120EOF
7121 7769
7770 ac_header_preproc=no
7771fi
7772rm -f conftest.err conftest.$ac_ext
7773echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7774echo "${ECHO_T}$ac_header_preproc" >&6
7775
7776# So? What about this header?
7777case $ac_header_compiler:$ac_header_preproc in
7778 yes:no )
7779 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7780echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7781 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7782echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7783 (
7784 cat <<\_ASBOX
7785## ------------------------------------ ##
7786## Report this to bug-autoconf@gnu.org. ##
7787## ------------------------------------ ##
7788_ASBOX
7789 ) |
7790 sed "s/^/$as_me: WARNING: /" >&2
7791 ;;
7792 no:yes )
7793 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7794echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7795 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7796echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7797 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7798echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7799 (
7800 cat <<\_ASBOX
7801## ------------------------------------ ##
7802## Report this to bug-autoconf@gnu.org. ##
7803## ------------------------------------ ##
7804_ASBOX
7805 ) |
7806 sed "s/^/$as_me: WARNING: /" >&2
7807 ;;
7808esac
7809echo "$as_me:$LINENO: checking for $ac_header" >&5
7810echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7811if eval "test \"\${$as_ac_Header+set}\" = set"; then
7812 echo $ECHO_N "(cached) $ECHO_C" >&6
7122else 7813else
7814 eval "$as_ac_Header=$ac_header_preproc"
7815fi
7816echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7817echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7123 7818
7124for ac_func in tcsendbreak 7819fi
7125do 7820if test `eval echo '${'$as_ac_Header'}'` = yes; then
7126as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7821 cat >>confdefs.h <<_ACEOF
7127echo "$as_me:7127: checking for $ac_func" >&5 7822#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7128echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7823_ACEOF
7129if eval "test \"\${$as_ac_var+set}\" = set"; then 7824
7825fi
7826
7827done
7828
7829else
7830
7831 echo "$as_me:$LINENO: checking for dirname in -lgen" >&5
7832echo $ECHO_N "checking for dirname in -lgen... $ECHO_C" >&6
7833if test "${ac_cv_lib_gen_dirname+set}" = set; then
7130 echo $ECHO_N "(cached) $ECHO_C" >&6 7834 echo $ECHO_N "(cached) $ECHO_C" >&6
7131else 7835else
7132 cat >conftest.$ac_ext <<_ACEOF 7836 ac_check_lib_save_LIBS=$LIBS
7133#line 7133 "configure" 7837LIBS="-lgen $LIBS"
7134#include "confdefs.h" 7838cat >conftest.$ac_ext <<_ACEOF
7135/* System header to define __stub macros and hopefully few prototypes, 7839#line $LINENO "configure"
7136 which can conflict with char $ac_func (); below. */ 7840/* confdefs.h. */
7137#include <assert.h> 7841_ACEOF
7842cat confdefs.h >>conftest.$ac_ext
7843cat >>conftest.$ac_ext <<_ACEOF
7844/* end confdefs.h. */
7845
7138/* Override any gcc2 internal prototype to avoid an error. */ 7846/* Override any gcc2 internal prototype to avoid an error. */
7139#ifdef __cplusplus 7847#ifdef __cplusplus
7140extern "C" 7848extern "C"
7141#endif 7849#endif
7142/* We use char because int might match the return type of a gcc2 7850/* We use char because int might match the return type of a gcc2
7143 builtin and then its argument prototype would still apply. */ 7851 builtin and then its argument prototype would still apply. */
7144char $ac_func (); 7852char dirname ();
7145char (*f) ();
7146
7147int 7853int
7148main () 7854main ()
7149{ 7855{
7150/* The GNU C library defines this for functions which it implements 7856dirname ();
7151 to always fail with ENOSYS. Some functions are actually named
7152 something starting with __ and the normal name is an alias. */
7153#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7154choke me
7155#else
7156f = $ac_func;
7157#endif
7158
7159 ; 7857 ;
7160 return 0; 7858 return 0;
7161} 7859}
7162_ACEOF 7860_ACEOF
7163rm -f conftest.$ac_objext conftest$ac_exeext 7861rm -f conftest.$ac_objext conftest$ac_exeext
7164if { (eval echo "$as_me:7164: \"$ac_link\"") >&5 7862if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7165 (eval $ac_link) 2>&5 7863 (eval $ac_link) 2>&5
7166 ac_status=$? 7864 ac_status=$?
7167 echo "$as_me:7167: \$? = $ac_status" >&5 7865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7168 (exit $ac_status); } && 7866 (exit $ac_status); } &&
7169 { ac_try='test -s conftest$ac_exeext' 7867 { ac_try='test -s conftest$ac_exeext'
7170 { (eval echo "$as_me:7170: \"$ac_try\"") >&5 7868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7171 (eval $ac_try) 2>&5 7869 (eval $ac_try) 2>&5
7172 ac_status=$? 7870 ac_status=$?
7173 echo "$as_me:7173: \$? = $ac_status" >&5 7871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7174 (exit $ac_status); }; }; then 7872 (exit $ac_status); }; }; then
7175 eval "$as_ac_var=yes" 7873 ac_cv_lib_gen_dirname=yes
7176else 7874else
7177 echo "$as_me: failed program was:" >&5 7875 echo "$as_me: failed program was:" >&5
7178cat conftest.$ac_ext >&5 7876sed 's/^/| /' conftest.$ac_ext >&5
7179eval "$as_ac_var=no" 7877
7878ac_cv_lib_gen_dirname=no
7180fi 7879fi
7181rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7880rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7881LIBS=$ac_check_lib_save_LIBS
7182fi 7882fi
7183echo "$as_me:7183: result: `eval echo '${'$as_ac_var'}'`" >&5 7883echo "$as_me:$LINENO: result: $ac_cv_lib_gen_dirname" >&5
7184echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7884echo "${ECHO_T}$ac_cv_lib_gen_dirname" >&6
7185if test `eval echo '${'$as_ac_var'}'` = yes; then 7885if test $ac_cv_lib_gen_dirname = yes; then
7186 cat >>confdefs.h <<EOF 7886
7187#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 7887 echo "$as_me:$LINENO: checking for broken dirname" >&5
7188EOF 7888echo $ECHO_N "checking for broken dirname... $ECHO_C" >&6
7889if test "${ac_cv_have_broken_dirname+set}" = set; then
7890 echo $ECHO_N "(cached) $ECHO_C" >&6
7891else
7892
7893 save_LIBS="$LIBS"
7894 LIBS="$LIBS -lgen"
7895 if test "$cross_compiling" = yes; then
7896 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7897See \`config.log' for more details." >&5
7898echo "$as_me: error: cannot run test program while cross compiling
7899See \`config.log' for more details." >&2;}
7900 { (exit 1); exit 1; }; }
7901else
7902 cat >conftest.$ac_ext <<_ACEOF
7903#line $LINENO "configure"
7904/* confdefs.h. */
7905_ACEOF
7906cat confdefs.h >>conftest.$ac_ext
7907cat >>conftest.$ac_ext <<_ACEOF
7908/* end confdefs.h. */
7909
7910#include <libgen.h>
7911#include <string.h>
7912
7913int main(int argc, char **argv) {
7914 char *s, buf[32];
7915
7916 strncpy(buf,"/etc", 32);
7917 s = dirname(buf);
7918 if (!s || strncmp(s, "/", 32) != 0) {
7919 exit(1);
7920 } else {
7921 exit(0);
7922 }
7923}
7924
7925_ACEOF
7926rm -f conftest$ac_exeext
7927if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7928 (eval $ac_link) 2>&5
7929 ac_status=$?
7930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7931 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7933 (eval $ac_try) 2>&5
7934 ac_status=$?
7935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7936 (exit $ac_status); }; }; then
7937 ac_cv_have_broken_dirname="no"
7938else
7939 echo "$as_me: program exited with status $ac_status" >&5
7940echo "$as_me: failed program was:" >&5
7941sed 's/^/| /' conftest.$ac_ext >&5
7942
7943( exit $ac_status )
7944 ac_cv_have_broken_dirname="yes"
7945
7946fi
7947rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7948fi
7949 LIBS="$save_LIBS"
7950
7951fi
7952echo "$as_me:$LINENO: result: $ac_cv_have_broken_dirname" >&5
7953echo "${ECHO_T}$ac_cv_have_broken_dirname" >&6
7954 if test "x$ac_cv_have_broken_dirname" = "xno" ; then
7955 LIBS="$LIBS -lgen"
7956 cat >>confdefs.h <<\_ACEOF
7957#define HAVE_DIRNAME 1
7958_ACEOF
7959
7960
7961for ac_header in libgen.h
7962do
7963as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7964if eval "test \"\${$as_ac_Header+set}\" = set"; then
7965 echo "$as_me:$LINENO: checking for $ac_header" >&5
7966echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7967if eval "test \"\${$as_ac_Header+set}\" = set"; then
7968 echo $ECHO_N "(cached) $ECHO_C" >&6
7969fi
7970echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7971echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7972else
7973 # Is the header compilable?
7974echo "$as_me:$LINENO: checking $ac_header usability" >&5
7975echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7976cat >conftest.$ac_ext <<_ACEOF
7977#line $LINENO "configure"
7978/* confdefs.h. */
7979_ACEOF
7980cat confdefs.h >>conftest.$ac_ext
7981cat >>conftest.$ac_ext <<_ACEOF
7982/* end confdefs.h. */
7983$ac_includes_default
7984#include <$ac_header>
7985_ACEOF
7986rm -f conftest.$ac_objext
7987if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7988 (eval $ac_compile) 2>&5
7989 ac_status=$?
7990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7991 (exit $ac_status); } &&
7992 { ac_try='test -s conftest.$ac_objext'
7993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7994 (eval $ac_try) 2>&5
7995 ac_status=$?
7996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7997 (exit $ac_status); }; }; then
7998 ac_header_compiler=yes
7999else
8000 echo "$as_me: failed program was:" >&5
8001sed 's/^/| /' conftest.$ac_ext >&5
8002
8003ac_header_compiler=no
8004fi
8005rm -f conftest.$ac_objext conftest.$ac_ext
8006echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8007echo "${ECHO_T}$ac_header_compiler" >&6
8008
8009# Is the header present?
8010echo "$as_me:$LINENO: checking $ac_header presence" >&5
8011echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8012cat >conftest.$ac_ext <<_ACEOF
8013#line $LINENO "configure"
8014/* confdefs.h. */
8015_ACEOF
8016cat confdefs.h >>conftest.$ac_ext
8017cat >>conftest.$ac_ext <<_ACEOF
8018/* end confdefs.h. */
8019#include <$ac_header>
8020_ACEOF
8021if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8022 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8023 ac_status=$?
8024 grep -v '^ *+' conftest.er1 >conftest.err
8025 rm -f conftest.er1
8026 cat conftest.err >&5
8027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8028 (exit $ac_status); } >/dev/null; then
8029 if test -s conftest.err; then
8030 ac_cpp_err=$ac_c_preproc_warn_flag
8031 else
8032 ac_cpp_err=
8033 fi
8034else
8035 ac_cpp_err=yes
8036fi
8037if test -z "$ac_cpp_err"; then
8038 ac_header_preproc=yes
8039else
8040 echo "$as_me: failed program was:" >&5
8041sed 's/^/| /' conftest.$ac_ext >&5
8042
8043 ac_header_preproc=no
8044fi
8045rm -f conftest.err conftest.$ac_ext
8046echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8047echo "${ECHO_T}$ac_header_preproc" >&6
8048
8049# So? What about this header?
8050case $ac_header_compiler:$ac_header_preproc in
8051 yes:no )
8052 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8053echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8054 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8055echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8056 (
8057 cat <<\_ASBOX
8058## ------------------------------------ ##
8059## Report this to bug-autoconf@gnu.org. ##
8060## ------------------------------------ ##
8061_ASBOX
8062 ) |
8063 sed "s/^/$as_me: WARNING: /" >&2
8064 ;;
8065 no:yes )
8066 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8067echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8068 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8069echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8071echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8072 (
8073 cat <<\_ASBOX
8074## ------------------------------------ ##
8075## Report this to bug-autoconf@gnu.org. ##
8076## ------------------------------------ ##
8077_ASBOX
8078 ) |
8079 sed "s/^/$as_me: WARNING: /" >&2
8080 ;;
8081esac
8082echo "$as_me:$LINENO: checking for $ac_header" >&5
8083echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8084if eval "test \"\${$as_ac_Header+set}\" = set"; then
8085 echo $ECHO_N "(cached) $ECHO_C" >&6
8086else
8087 eval "$as_ac_Header=$ac_header_preproc"
8088fi
8089echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8090echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7189 8091
7190fi 8092fi
8093if test `eval echo '${'$as_ac_Header'}'` = yes; then
8094 cat >>confdefs.h <<_ACEOF
8095#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8096_ACEOF
8097
8098fi
8099
7191done 8100done
7192 8101
8102 fi
8103
7193fi 8104fi
7194 8105
8106
8107fi
8108done
8109
8110
8111
8112
7195for ac_func in gettimeofday time 8113for ac_func in gettimeofday time
7196do 8114do
7197as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8115as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7198echo "$as_me:7198: checking for $ac_func" >&5 8116echo "$as_me:$LINENO: checking for $ac_func" >&5
7199echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8117echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7200if eval "test \"\${$as_ac_var+set}\" = set"; then 8118if eval "test \"\${$as_ac_var+set}\" = set"; then
7201 echo $ECHO_N "(cached) $ECHO_C" >&6 8119 echo $ECHO_N "(cached) $ECHO_C" >&6
7202else 8120else
7203 cat >conftest.$ac_ext <<_ACEOF 8121 cat >conftest.$ac_ext <<_ACEOF
7204#line 7204 "configure" 8122#line $LINENO "configure"
7205#include "confdefs.h" 8123/* confdefs.h. */
8124_ACEOF
8125cat confdefs.h >>conftest.$ac_ext
8126cat >>conftest.$ac_ext <<_ACEOF
8127/* end confdefs.h. */
7206/* System header to define __stub macros and hopefully few prototypes, 8128/* System header to define __stub macros and hopefully few prototypes,
7207 which can conflict with char $ac_func (); below. */ 8129 which can conflict with char $ac_func (); below.
7208#include <assert.h> 8130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8131 <limits.h> exists even on freestanding compilers. */
8132#ifdef __STDC__
8133# include <limits.h>
8134#else
8135# include <assert.h>
8136#endif
7209/* Override any gcc2 internal prototype to avoid an error. */ 8137/* Override any gcc2 internal prototype to avoid an error. */
7210#ifdef __cplusplus 8138#ifdef __cplusplus
7211extern "C" 8139extern "C"
8140{
7212#endif 8141#endif
7213/* We use char because int might match the return type of a gcc2 8142/* We use char because int might match the return type of a gcc2
7214 builtin and then its argument prototype would still apply. */ 8143 builtin and then its argument prototype would still apply. */
7215char $ac_func (); 8144char $ac_func ();
7216char (*f) ();
7217
7218int
7219main ()
7220{
7221/* The GNU C library defines this for functions which it implements 8145/* The GNU C library defines this for functions which it implements
7222 to always fail with ENOSYS. Some functions are actually named 8146 to always fail with ENOSYS. Some functions are actually named
7223 something starting with __ and the normal name is an alias. */ 8147 something starting with __ and the normal name is an alias. */
7224#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 8148#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7225choke me 8149choke me
7226#else 8150#else
7227f = $ac_func; 8151char (*f) () = $ac_func;
8152#endif
8153#ifdef __cplusplus
8154}
7228#endif 8155#endif
7229 8156
8157int
8158main ()
8159{
8160return f != $ac_func;
7230 ; 8161 ;
7231 return 0; 8162 return 0;
7232} 8163}
7233_ACEOF 8164_ACEOF
7234rm -f conftest.$ac_objext conftest$ac_exeext 8165rm -f conftest.$ac_objext conftest$ac_exeext
7235if { (eval echo "$as_me:7235: \"$ac_link\"") >&5 8166if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7236 (eval $ac_link) 2>&5 8167 (eval $ac_link) 2>&5
7237 ac_status=$? 8168 ac_status=$?
7238 echo "$as_me:7238: \$? = $ac_status" >&5 8169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7239 (exit $ac_status); } && 8170 (exit $ac_status); } &&
7240 { ac_try='test -s conftest$ac_exeext' 8171 { ac_try='test -s conftest$ac_exeext'
7241 { (eval echo "$as_me:7241: \"$ac_try\"") >&5 8172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7242 (eval $ac_try) 2>&5 8173 (eval $ac_try) 2>&5
7243 ac_status=$? 8174 ac_status=$?
7244 echo "$as_me:7244: \$? = $ac_status" >&5 8175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7245 (exit $ac_status); }; }; then 8176 (exit $ac_status); }; }; then
7246 eval "$as_ac_var=yes" 8177 eval "$as_ac_var=yes"
7247else 8178else
7248 echo "$as_me: failed program was:" >&5 8179 echo "$as_me: failed program was:" >&5
7249cat conftest.$ac_ext >&5 8180sed 's/^/| /' conftest.$ac_ext >&5
8181
7250eval "$as_ac_var=no" 8182eval "$as_ac_var=no"
7251fi 8183fi
7252rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8184rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7253fi 8185fi
7254echo "$as_me:7254: result: `eval echo '${'$as_ac_var'}'`" >&5 8186echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7255echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8187echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7256if test `eval echo '${'$as_ac_var'}'` = yes; then 8188if test `eval echo '${'$as_ac_var'}'` = yes; then
7257 cat >>confdefs.h <<EOF 8189 cat >>confdefs.h <<_ACEOF
7258#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8190#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7259EOF 8191_ACEOF
7260 8192
7261fi 8193fi
7262done 8194done
7263 8195
8196
8197
8198
8199
8200
8201
7264for ac_func in endutent getutent getutid getutline pututline setutent 8202for ac_func in endutent getutent getutid getutline pututline setutent
7265do 8203do
7266as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8204as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7267echo "$as_me:7267: checking for $ac_func" >&5 8205echo "$as_me:$LINENO: checking for $ac_func" >&5
7268echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8206echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7269if eval "test \"\${$as_ac_var+set}\" = set"; then 8207if eval "test \"\${$as_ac_var+set}\" = set"; then
7270 echo $ECHO_N "(cached) $ECHO_C" >&6 8208 echo $ECHO_N "(cached) $ECHO_C" >&6
7271else 8209else
7272 cat >conftest.$ac_ext <<_ACEOF 8210 cat >conftest.$ac_ext <<_ACEOF
7273#line 7273 "configure" 8211#line $LINENO "configure"
7274#include "confdefs.h" 8212/* confdefs.h. */
8213_ACEOF
8214cat confdefs.h >>conftest.$ac_ext
8215cat >>conftest.$ac_ext <<_ACEOF
8216/* end confdefs.h. */
7275/* System header to define __stub macros and hopefully few prototypes, 8217/* System header to define __stub macros and hopefully few prototypes,
7276 which can conflict with char $ac_func (); below. */ 8218 which can conflict with char $ac_func (); below.
7277#include <assert.h> 8219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8220 <limits.h> exists even on freestanding compilers. */
8221#ifdef __STDC__
8222# include <limits.h>
8223#else
8224# include <assert.h>
8225#endif
7278/* Override any gcc2 internal prototype to avoid an error. */ 8226/* Override any gcc2 internal prototype to avoid an error. */
7279#ifdef __cplusplus 8227#ifdef __cplusplus
7280extern "C" 8228extern "C"
8229{
7281#endif 8230#endif
7282/* We use char because int might match the return type of a gcc2 8231/* We use char because int might match the return type of a gcc2
7283 builtin and then its argument prototype would still apply. */ 8232 builtin and then its argument prototype would still apply. */
7284char $ac_func (); 8233char $ac_func ();
7285char (*f) ();
7286
7287int
7288main ()
7289{
7290/* The GNU C library defines this for functions which it implements 8234/* The GNU C library defines this for functions which it implements
7291 to always fail with ENOSYS. Some functions are actually named 8235 to always fail with ENOSYS. Some functions are actually named
7292 something starting with __ and the normal name is an alias. */ 8236 something starting with __ and the normal name is an alias. */
7293#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 8237#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7294choke me 8238choke me
7295#else 8239#else
7296f = $ac_func; 8240char (*f) () = $ac_func;
8241#endif
8242#ifdef __cplusplus
8243}
7297#endif 8244#endif
7298 8245
8246int
8247main ()
8248{
8249return f != $ac_func;
7299 ; 8250 ;
7300 return 0; 8251 return 0;
7301} 8252}
7302_ACEOF 8253_ACEOF
7303rm -f conftest.$ac_objext conftest$ac_exeext 8254rm -f conftest.$ac_objext conftest$ac_exeext
7304if { (eval echo "$as_me:7304: \"$ac_link\"") >&5 8255if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7305 (eval $ac_link) 2>&5 8256 (eval $ac_link) 2>&5
7306 ac_status=$? 8257 ac_status=$?
7307 echo "$as_me:7307: \$? = $ac_status" >&5 8258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7308 (exit $ac_status); } && 8259 (exit $ac_status); } &&
7309 { ac_try='test -s conftest$ac_exeext' 8260 { ac_try='test -s conftest$ac_exeext'
7310 { (eval echo "$as_me:7310: \"$ac_try\"") >&5 8261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7311 (eval $ac_try) 2>&5 8262 (eval $ac_try) 2>&5
7312 ac_status=$? 8263 ac_status=$?
7313 echo "$as_me:7313: \$? = $ac_status" >&5 8264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7314 (exit $ac_status); }; }; then 8265 (exit $ac_status); }; }; then
7315 eval "$as_ac_var=yes" 8266 eval "$as_ac_var=yes"
7316else 8267else
7317 echo "$as_me: failed program was:" >&5 8268 echo "$as_me: failed program was:" >&5
7318cat conftest.$ac_ext >&5 8269sed 's/^/| /' conftest.$ac_ext >&5
8270
7319eval "$as_ac_var=no" 8271eval "$as_ac_var=no"
7320fi 8272fi
7321rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8273rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7322fi 8274fi
7323echo "$as_me:7323: result: `eval echo '${'$as_ac_var'}'`" >&5 8275echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7324echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8276echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7325if test `eval echo '${'$as_ac_var'}'` = yes; then 8277if test `eval echo '${'$as_ac_var'}'` = yes; then
7326 cat >>confdefs.h <<EOF 8278 cat >>confdefs.h <<_ACEOF
7327#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8279#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7328EOF 8280_ACEOF
7329 8281
7330fi 8282fi
7331done 8283done
7332 8284
8285
7333for ac_func in utmpname 8286for ac_func in utmpname
7334do 8287do
7335as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8288as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7336echo "$as_me:7336: checking for $ac_func" >&5 8289echo "$as_me:$LINENO: checking for $ac_func" >&5
7337echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8290echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7338if eval "test \"\${$as_ac_var+set}\" = set"; then 8291if eval "test \"\${$as_ac_var+set}\" = set"; then
7339 echo $ECHO_N "(cached) $ECHO_C" >&6 8292 echo $ECHO_N "(cached) $ECHO_C" >&6
7340else 8293else
7341 cat >conftest.$ac_ext <<_ACEOF 8294 cat >conftest.$ac_ext <<_ACEOF
7342#line 7342 "configure" 8295#line $LINENO "configure"
7343#include "confdefs.h" 8296/* confdefs.h. */
8297_ACEOF
8298cat confdefs.h >>conftest.$ac_ext
8299cat >>conftest.$ac_ext <<_ACEOF
8300/* end confdefs.h. */
7344/* System header to define __stub macros and hopefully few prototypes, 8301/* System header to define __stub macros and hopefully few prototypes,
7345 which can conflict with char $ac_func (); below. */ 8302 which can conflict with char $ac_func (); below.
7346#include <assert.h> 8303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8304 <limits.h> exists even on freestanding compilers. */
8305#ifdef __STDC__
8306# include <limits.h>
8307#else
8308# include <assert.h>
8309#endif
7347/* Override any gcc2 internal prototype to avoid an error. */ 8310/* Override any gcc2 internal prototype to avoid an error. */
7348#ifdef __cplusplus 8311#ifdef __cplusplus
7349extern "C" 8312extern "C"
8313{
7350#endif 8314#endif
7351/* We use char because int might match the return type of a gcc2 8315/* We use char because int might match the return type of a gcc2
7352 builtin and then its argument prototype would still apply. */ 8316 builtin and then its argument prototype would still apply. */
7353char $ac_func (); 8317char $ac_func ();
7354char (*f) ();
7355
7356int
7357main ()
7358{
7359/* The GNU C library defines this for functions which it implements 8318/* The GNU C library defines this for functions which it implements
7360 to always fail with ENOSYS. Some functions are actually named 8319 to always fail with ENOSYS. Some functions are actually named
7361 something starting with __ and the normal name is an alias. */ 8320 something starting with __ and the normal name is an alias. */
7362#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 8321#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7363choke me 8322choke me
7364#else 8323#else
7365f = $ac_func; 8324char (*f) () = $ac_func;
8325#endif
8326#ifdef __cplusplus
8327}
7366#endif 8328#endif
7367 8329
8330int
8331main ()
8332{
8333return f != $ac_func;
7368 ; 8334 ;
7369 return 0; 8335 return 0;
7370} 8336}
7371_ACEOF 8337_ACEOF
7372rm -f conftest.$ac_objext conftest$ac_exeext 8338rm -f conftest.$ac_objext conftest$ac_exeext
7373if { (eval echo "$as_me:7373: \"$ac_link\"") >&5 8339if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7374 (eval $ac_link) 2>&5 8340 (eval $ac_link) 2>&5
7375 ac_status=$? 8341 ac_status=$?
7376 echo "$as_me:7376: \$? = $ac_status" >&5 8342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7377 (exit $ac_status); } && 8343 (exit $ac_status); } &&
7378 { ac_try='test -s conftest$ac_exeext' 8344 { ac_try='test -s conftest$ac_exeext'
7379 { (eval echo "$as_me:7379: \"$ac_try\"") >&5 8345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7380 (eval $ac_try) 2>&5 8346 (eval $ac_try) 2>&5
7381 ac_status=$? 8347 ac_status=$?
7382 echo "$as_me:7382: \$? = $ac_status" >&5 8348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7383 (exit $ac_status); }; }; then 8349 (exit $ac_status); }; }; then
7384 eval "$as_ac_var=yes" 8350 eval "$as_ac_var=yes"
7385else 8351else
7386 echo "$as_me: failed program was:" >&5 8352 echo "$as_me: failed program was:" >&5
7387cat conftest.$ac_ext >&5 8353sed 's/^/| /' conftest.$ac_ext >&5
8354
7388eval "$as_ac_var=no" 8355eval "$as_ac_var=no"
7389fi 8356fi
7390rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8357rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7391fi 8358fi
7392echo "$as_me:7392: result: `eval echo '${'$as_ac_var'}'`" >&5 8359echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7393echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8360echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7394if test `eval echo '${'$as_ac_var'}'` = yes; then 8361if test `eval echo '${'$as_ac_var'}'` = yes; then
7395 cat >>confdefs.h <<EOF 8362 cat >>confdefs.h <<_ACEOF
7396#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8363#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7397EOF 8364_ACEOF
7398 8365
7399fi 8366fi
7400done 8367done
7401 8368
8369
8370
8371
8372
8373
7402for ac_func in endutxent getutxent getutxid getutxline pututxline 8374for ac_func in endutxent getutxent getutxid getutxline pututxline
7403do 8375do
7404as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8376as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7405echo "$as_me:7405: checking for $ac_func" >&5 8377echo "$as_me:$LINENO: checking for $ac_func" >&5
7406echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8378echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7407if eval "test \"\${$as_ac_var+set}\" = set"; then 8379if eval "test \"\${$as_ac_var+set}\" = set"; then
7408 echo $ECHO_N "(cached) $ECHO_C" >&6 8380 echo $ECHO_N "(cached) $ECHO_C" >&6
7409else 8381else
7410 cat >conftest.$ac_ext <<_ACEOF 8382 cat >conftest.$ac_ext <<_ACEOF
7411#line 7411 "configure" 8383#line $LINENO "configure"
7412#include "confdefs.h" 8384/* confdefs.h. */
8385_ACEOF
8386cat confdefs.h >>conftest.$ac_ext
8387cat >>conftest.$ac_ext <<_ACEOF
8388/* end confdefs.h. */
7413/* System header to define __stub macros and hopefully few prototypes, 8389/* System header to define __stub macros and hopefully few prototypes,
7414 which can conflict with char $ac_func (); below. */ 8390 which can conflict with char $ac_func (); below.
7415#include <assert.h> 8391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8392 <limits.h> exists even on freestanding compilers. */
8393#ifdef __STDC__
8394# include <limits.h>
8395#else
8396# include <assert.h>
8397#endif
7416/* Override any gcc2 internal prototype to avoid an error. */ 8398/* Override any gcc2 internal prototype to avoid an error. */
7417#ifdef __cplusplus 8399#ifdef __cplusplus
7418extern "C" 8400extern "C"
8401{
7419#endif 8402#endif
7420/* We use char because int might match the return type of a gcc2 8403/* We use char because int might match the return type of a gcc2
7421 builtin and then its argument prototype would still apply. */ 8404 builtin and then its argument prototype would still apply. */
7422char $ac_func (); 8405char $ac_func ();
7423char (*f) ();
7424
7425int
7426main ()
7427{
7428/* The GNU C library defines this for functions which it implements 8406/* The GNU C library defines this for functions which it implements
7429 to always fail with ENOSYS. Some functions are actually named 8407 to always fail with ENOSYS. Some functions are actually named
7430 something starting with __ and the normal name is an alias. */ 8408 something starting with __ and the normal name is an alias. */
7431#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 8409#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7432choke me 8410choke me
7433#else 8411#else
7434f = $ac_func; 8412char (*f) () = $ac_func;
8413#endif
8414#ifdef __cplusplus
8415}
7435#endif 8416#endif
7436 8417
8418int
8419main ()
8420{
8421return f != $ac_func;
7437 ; 8422 ;
7438 return 0; 8423 return 0;
7439} 8424}
7440_ACEOF 8425_ACEOF
7441rm -f conftest.$ac_objext conftest$ac_exeext 8426rm -f conftest.$ac_objext conftest$ac_exeext
7442if { (eval echo "$as_me:7442: \"$ac_link\"") >&5 8427if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7443 (eval $ac_link) 2>&5 8428 (eval $ac_link) 2>&5
7444 ac_status=$? 8429 ac_status=$?
7445 echo "$as_me:7445: \$? = $ac_status" >&5 8430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); } && 8431 (exit $ac_status); } &&
7447 { ac_try='test -s conftest$ac_exeext' 8432 { ac_try='test -s conftest$ac_exeext'
7448 { (eval echo "$as_me:7448: \"$ac_try\"") >&5 8433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7449 (eval $ac_try) 2>&5 8434 (eval $ac_try) 2>&5
7450 ac_status=$? 8435 ac_status=$?
7451 echo "$as_me:7451: \$? = $ac_status" >&5 8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7452 (exit $ac_status); }; }; then 8437 (exit $ac_status); }; }; then
7453 eval "$as_ac_var=yes" 8438 eval "$as_ac_var=yes"
7454else 8439else
7455 echo "$as_me: failed program was:" >&5 8440 echo "$as_me: failed program was:" >&5
7456cat conftest.$ac_ext >&5 8441sed 's/^/| /' conftest.$ac_ext >&5
8442
7457eval "$as_ac_var=no" 8443eval "$as_ac_var=no"
7458fi 8444fi
7459rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8445rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7460fi 8446fi
7461echo "$as_me:7461: result: `eval echo '${'$as_ac_var'}'`" >&5 8447echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7462echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8448echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7463if test `eval echo '${'$as_ac_var'}'` = yes; then 8449if test `eval echo '${'$as_ac_var'}'` = yes; then
7464 cat >>confdefs.h <<EOF 8450 cat >>confdefs.h <<_ACEOF
7465#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8451#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7466EOF 8452_ACEOF
7467 8453
7468fi 8454fi
7469done 8455done
7470 8456
8457
8458
7471for ac_func in setutxent utmpxname 8459for ac_func in setutxent utmpxname
7472do 8460do
7473as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8461as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7474echo "$as_me:7474: checking for $ac_func" >&5 8462echo "$as_me:$LINENO: checking for $ac_func" >&5
7475echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8463echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7476if eval "test \"\${$as_ac_var+set}\" = set"; then 8464if eval "test \"\${$as_ac_var+set}\" = set"; then
7477 echo $ECHO_N "(cached) $ECHO_C" >&6 8465 echo $ECHO_N "(cached) $ECHO_C" >&6
7478else 8466else
7479 cat >conftest.$ac_ext <<_ACEOF 8467 cat >conftest.$ac_ext <<_ACEOF
7480#line 7480 "configure" 8468#line $LINENO "configure"
7481#include "confdefs.h" 8469/* confdefs.h. */
8470_ACEOF
8471cat confdefs.h >>conftest.$ac_ext
8472cat >>conftest.$ac_ext <<_ACEOF
8473/* end confdefs.h. */
7482/* System header to define __stub macros and hopefully few prototypes, 8474/* System header to define __stub macros and hopefully few prototypes,
7483 which can conflict with char $ac_func (); below. */ 8475 which can conflict with char $ac_func (); below.
7484#include <assert.h> 8476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8477 <limits.h> exists even on freestanding compilers. */
8478#ifdef __STDC__
8479# include <limits.h>
8480#else
8481# include <assert.h>
8482#endif
7485/* Override any gcc2 internal prototype to avoid an error. */ 8483/* Override any gcc2 internal prototype to avoid an error. */
7486#ifdef __cplusplus 8484#ifdef __cplusplus
7487extern "C" 8485extern "C"
8486{
7488#endif 8487#endif
7489/* We use char because int might match the return type of a gcc2 8488/* We use char because int might match the return type of a gcc2
7490 builtin and then its argument prototype would still apply. */ 8489 builtin and then its argument prototype would still apply. */
7491char $ac_func (); 8490char $ac_func ();
7492char (*f) ();
7493
7494int
7495main ()
7496{
7497/* The GNU C library defines this for functions which it implements 8491/* The GNU C library defines this for functions which it implements
7498 to always fail with ENOSYS. Some functions are actually named 8492 to always fail with ENOSYS. Some functions are actually named
7499 something starting with __ and the normal name is an alias. */ 8493 something starting with __ and the normal name is an alias. */
7500#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 8494#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7501choke me 8495choke me
7502#else 8496#else
7503f = $ac_func; 8497char (*f) () = $ac_func;
8498#endif
8499#ifdef __cplusplus
8500}
7504#endif 8501#endif
7505 8502
8503int
8504main ()
8505{
8506return f != $ac_func;
7506 ; 8507 ;
7507 return 0; 8508 return 0;
7508} 8509}
7509_ACEOF 8510_ACEOF
7510rm -f conftest.$ac_objext conftest$ac_exeext 8511rm -f conftest.$ac_objext conftest$ac_exeext
7511if { (eval echo "$as_me:7511: \"$ac_link\"") >&5 8512if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7512 (eval $ac_link) 2>&5 8513 (eval $ac_link) 2>&5
7513 ac_status=$? 8514 ac_status=$?
7514 echo "$as_me:7514: \$? = $ac_status" >&5 8515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7515 (exit $ac_status); } && 8516 (exit $ac_status); } &&
7516 { ac_try='test -s conftest$ac_exeext' 8517 { ac_try='test -s conftest$ac_exeext'
7517 { (eval echo "$as_me:7517: \"$ac_try\"") >&5 8518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7518 (eval $ac_try) 2>&5 8519 (eval $ac_try) 2>&5
7519 ac_status=$? 8520 ac_status=$?
7520 echo "$as_me:7520: \$? = $ac_status" >&5 8521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7521 (exit $ac_status); }; }; then 8522 (exit $ac_status); }; }; then
7522 eval "$as_ac_var=yes" 8523 eval "$as_ac_var=yes"
7523else 8524else
7524 echo "$as_me: failed program was:" >&5 8525 echo "$as_me: failed program was:" >&5
7525cat conftest.$ac_ext >&5 8526sed 's/^/| /' conftest.$ac_ext >&5
8527
7526eval "$as_ac_var=no" 8528eval "$as_ac_var=no"
7527fi 8529fi
7528rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8530rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7529fi 8531fi
7530echo "$as_me:7530: result: `eval echo '${'$as_ac_var'}'`" >&5 8532echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7531echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 8533echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7532if test `eval echo '${'$as_ac_var'}'` = yes; then 8534if test `eval echo '${'$as_ac_var'}'` = yes; then
7533 cat >>confdefs.h <<EOF 8535 cat >>confdefs.h <<_ACEOF
7534#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 8536#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7535EOF 8537_ACEOF
7536 8538
7537fi 8539fi
7538done 8540done
7539 8541
7540echo "$as_me:7540: checking for daemon" >&5 8542
8543echo "$as_me:$LINENO: checking for daemon" >&5
7541echo $ECHO_N "checking for daemon... $ECHO_C" >&6 8544echo $ECHO_N "checking for daemon... $ECHO_C" >&6
7542if test "${ac_cv_func_daemon+set}" = set; then 8545if test "${ac_cv_func_daemon+set}" = set; then
7543 echo $ECHO_N "(cached) $ECHO_C" >&6 8546 echo $ECHO_N "(cached) $ECHO_C" >&6
7544else 8547else
7545 cat >conftest.$ac_ext <<_ACEOF 8548 cat >conftest.$ac_ext <<_ACEOF
7546#line 7546 "configure" 8549#line $LINENO "configure"
7547#include "confdefs.h" 8550/* confdefs.h. */
8551_ACEOF
8552cat confdefs.h >>conftest.$ac_ext
8553cat >>conftest.$ac_ext <<_ACEOF
8554/* end confdefs.h. */
7548/* System header to define __stub macros and hopefully few prototypes, 8555/* System header to define __stub macros and hopefully few prototypes,
7549 which can conflict with char daemon (); below. */ 8556 which can conflict with char daemon (); below.
7550#include <assert.h> 8557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8558 <limits.h> exists even on freestanding compilers. */
8559#ifdef __STDC__
8560# include <limits.h>
8561#else
8562# include <assert.h>
8563#endif
7551/* Override any gcc2 internal prototype to avoid an error. */ 8564/* Override any gcc2 internal prototype to avoid an error. */
7552#ifdef __cplusplus 8565#ifdef __cplusplus
7553extern "C" 8566extern "C"
8567{
7554#endif 8568#endif
7555/* We use char because int might match the return type of a gcc2 8569/* We use char because int might match the return type of a gcc2
7556 builtin and then its argument prototype would still apply. */ 8570 builtin and then its argument prototype would still apply. */
7557char daemon (); 8571char daemon ();
7558char (*f) ();
7559
7560int
7561main ()
7562{
7563/* The GNU C library defines this for functions which it implements 8572/* The GNU C library defines this for functions which it implements
7564 to always fail with ENOSYS. Some functions are actually named 8573 to always fail with ENOSYS. Some functions are actually named
7565 something starting with __ and the normal name is an alias. */ 8574 something starting with __ and the normal name is an alias. */
7566#if defined (__stub_daemon) || defined (__stub___daemon) 8575#if defined (__stub_daemon) || defined (__stub___daemon)
7567choke me 8576choke me
7568#else 8577#else
7569f = daemon; 8578char (*f) () = daemon;
8579#endif
8580#ifdef __cplusplus
8581}
7570#endif 8582#endif
7571 8583
8584int
8585main ()
8586{
8587return f != daemon;
7572 ; 8588 ;
7573 return 0; 8589 return 0;
7574} 8590}
7575_ACEOF 8591_ACEOF
7576rm -f conftest.$ac_objext conftest$ac_exeext 8592rm -f conftest.$ac_objext conftest$ac_exeext
7577if { (eval echo "$as_me:7577: \"$ac_link\"") >&5 8593if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7578 (eval $ac_link) 2>&5 8594 (eval $ac_link) 2>&5
7579 ac_status=$? 8595 ac_status=$?
7580 echo "$as_me:7580: \$? = $ac_status" >&5 8596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7581 (exit $ac_status); } && 8597 (exit $ac_status); } &&
7582 { ac_try='test -s conftest$ac_exeext' 8598 { ac_try='test -s conftest$ac_exeext'
7583 { (eval echo "$as_me:7583: \"$ac_try\"") >&5 8599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7584 (eval $ac_try) 2>&5 8600 (eval $ac_try) 2>&5
7585 ac_status=$? 8601 ac_status=$?
7586 echo "$as_me:7586: \$? = $ac_status" >&5 8602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7587 (exit $ac_status); }; }; then 8603 (exit $ac_status); }; }; then
7588 ac_cv_func_daemon=yes 8604 ac_cv_func_daemon=yes
7589else 8605else
7590 echo "$as_me: failed program was:" >&5 8606 echo "$as_me: failed program was:" >&5
7591cat conftest.$ac_ext >&5 8607sed 's/^/| /' conftest.$ac_ext >&5
8608
7592ac_cv_func_daemon=no 8609ac_cv_func_daemon=no
7593fi 8610fi
7594rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8611rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7595fi 8612fi
7596echo "$as_me:7596: result: $ac_cv_func_daemon" >&5 8613echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5
7597echo "${ECHO_T}$ac_cv_func_daemon" >&6 8614echo "${ECHO_T}$ac_cv_func_daemon" >&6
7598if test $ac_cv_func_daemon = yes; then 8615if test $ac_cv_func_daemon = yes; then
7599 cat >>confdefs.h <<\EOF 8616 cat >>confdefs.h <<\_ACEOF
7600#define HAVE_DAEMON 1 8617#define HAVE_DAEMON 1
7601EOF 8618_ACEOF
7602 8619
7603else 8620else
7604 echo "$as_me:7604: checking for daemon in -lbsd" >&5 8621 echo "$as_me:$LINENO: checking for daemon in -lbsd" >&5
7605echo $ECHO_N "checking for daemon in -lbsd... $ECHO_C" >&6 8622echo $ECHO_N "checking for daemon in -lbsd... $ECHO_C" >&6
7606if test "${ac_cv_lib_bsd_daemon+set}" = set; then 8623if test "${ac_cv_lib_bsd_daemon+set}" = set; then
7607 echo $ECHO_N "(cached) $ECHO_C" >&6 8624 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -7609,8 +8626,12 @@ else
7609 ac_check_lib_save_LIBS=$LIBS 8626 ac_check_lib_save_LIBS=$LIBS
7610LIBS="-lbsd $LIBS" 8627LIBS="-lbsd $LIBS"
7611cat >conftest.$ac_ext <<_ACEOF 8628cat >conftest.$ac_ext <<_ACEOF
7612#line 7612 "configure" 8629#line $LINENO "configure"
7613#include "confdefs.h" 8630/* confdefs.h. */
8631_ACEOF
8632cat confdefs.h >>conftest.$ac_ext
8633cat >>conftest.$ac_ext <<_ACEOF
8634/* end confdefs.h. */
7614 8635
7615/* Override any gcc2 internal prototype to avoid an error. */ 8636/* Override any gcc2 internal prototype to avoid an error. */
7616#ifdef __cplusplus 8637#ifdef __cplusplus
@@ -7628,102 +8649,119 @@ daemon ();
7628} 8649}
7629_ACEOF 8650_ACEOF
7630rm -f conftest.$ac_objext conftest$ac_exeext 8651rm -f conftest.$ac_objext conftest$ac_exeext
7631if { (eval echo "$as_me:7631: \"$ac_link\"") >&5 8652if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7632 (eval $ac_link) 2>&5 8653 (eval $ac_link) 2>&5
7633 ac_status=$? 8654 ac_status=$?
7634 echo "$as_me:7634: \$? = $ac_status" >&5 8655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7635 (exit $ac_status); } && 8656 (exit $ac_status); } &&
7636 { ac_try='test -s conftest$ac_exeext' 8657 { ac_try='test -s conftest$ac_exeext'
7637 { (eval echo "$as_me:7637: \"$ac_try\"") >&5 8658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7638 (eval $ac_try) 2>&5 8659 (eval $ac_try) 2>&5
7639 ac_status=$? 8660 ac_status=$?
7640 echo "$as_me:7640: \$? = $ac_status" >&5 8661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7641 (exit $ac_status); }; }; then 8662 (exit $ac_status); }; }; then
7642 ac_cv_lib_bsd_daemon=yes 8663 ac_cv_lib_bsd_daemon=yes
7643else 8664else
7644 echo "$as_me: failed program was:" >&5 8665 echo "$as_me: failed program was:" >&5
7645cat conftest.$ac_ext >&5 8666sed 's/^/| /' conftest.$ac_ext >&5
8667
7646ac_cv_lib_bsd_daemon=no 8668ac_cv_lib_bsd_daemon=no
7647fi 8669fi
7648rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8670rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7649LIBS=$ac_check_lib_save_LIBS 8671LIBS=$ac_check_lib_save_LIBS
7650fi 8672fi
7651echo "$as_me:7651: result: $ac_cv_lib_bsd_daemon" >&5 8673echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_daemon" >&5
7652echo "${ECHO_T}$ac_cv_lib_bsd_daemon" >&6 8674echo "${ECHO_T}$ac_cv_lib_bsd_daemon" >&6
7653if test $ac_cv_lib_bsd_daemon = yes; then 8675if test $ac_cv_lib_bsd_daemon = yes; then
7654 LIBS="$LIBS -lbsd"; cat >>confdefs.h <<\EOF 8676 LIBS="$LIBS -lbsd"; cat >>confdefs.h <<\_ACEOF
7655#define HAVE_DAEMON 1 8677#define HAVE_DAEMON 1
7656EOF 8678_ACEOF
7657 8679
7658fi 8680fi
7659 8681
8682
7660fi 8683fi
7661 8684
7662echo "$as_me:7662: checking for getpagesize" >&5 8685
8686echo "$as_me:$LINENO: checking for getpagesize" >&5
7663echo $ECHO_N "checking for getpagesize... $ECHO_C" >&6 8687echo $ECHO_N "checking for getpagesize... $ECHO_C" >&6
7664if test "${ac_cv_func_getpagesize+set}" = set; then 8688if test "${ac_cv_func_getpagesize+set}" = set; then
7665 echo $ECHO_N "(cached) $ECHO_C" >&6 8689 echo $ECHO_N "(cached) $ECHO_C" >&6
7666else 8690else
7667 cat >conftest.$ac_ext <<_ACEOF 8691 cat >conftest.$ac_ext <<_ACEOF
7668#line 7668 "configure" 8692#line $LINENO "configure"
7669#include "confdefs.h" 8693/* confdefs.h. */
8694_ACEOF
8695cat confdefs.h >>conftest.$ac_ext
8696cat >>conftest.$ac_ext <<_ACEOF
8697/* end confdefs.h. */
7670/* System header to define __stub macros and hopefully few prototypes, 8698/* System header to define __stub macros and hopefully few prototypes,
7671 which can conflict with char getpagesize (); below. */ 8699 which can conflict with char getpagesize (); below.
7672#include <assert.h> 8700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8701 <limits.h> exists even on freestanding compilers. */
8702#ifdef __STDC__
8703# include <limits.h>
8704#else
8705# include <assert.h>
8706#endif
7673/* Override any gcc2 internal prototype to avoid an error. */ 8707/* Override any gcc2 internal prototype to avoid an error. */
7674#ifdef __cplusplus 8708#ifdef __cplusplus
7675extern "C" 8709extern "C"
8710{
7676#endif 8711#endif
7677/* We use char because int might match the return type of a gcc2 8712/* We use char because int might match the return type of a gcc2
7678 builtin and then its argument prototype would still apply. */ 8713 builtin and then its argument prototype would still apply. */
7679char getpagesize (); 8714char getpagesize ();
7680char (*f) ();
7681
7682int
7683main ()
7684{
7685/* The GNU C library defines this for functions which it implements 8715/* The GNU C library defines this for functions which it implements
7686 to always fail with ENOSYS. Some functions are actually named 8716 to always fail with ENOSYS. Some functions are actually named
7687 something starting with __ and the normal name is an alias. */ 8717 something starting with __ and the normal name is an alias. */
7688#if defined (__stub_getpagesize) || defined (__stub___getpagesize) 8718#if defined (__stub_getpagesize) || defined (__stub___getpagesize)
7689choke me 8719choke me
7690#else 8720#else
7691f = getpagesize; 8721char (*f) () = getpagesize;
8722#endif
8723#ifdef __cplusplus
8724}
7692#endif 8725#endif
7693 8726
8727int
8728main ()
8729{
8730return f != getpagesize;
7694 ; 8731 ;
7695 return 0; 8732 return 0;
7696} 8733}
7697_ACEOF 8734_ACEOF
7698rm -f conftest.$ac_objext conftest$ac_exeext 8735rm -f conftest.$ac_objext conftest$ac_exeext
7699if { (eval echo "$as_me:7699: \"$ac_link\"") >&5 8736if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7700 (eval $ac_link) 2>&5 8737 (eval $ac_link) 2>&5
7701 ac_status=$? 8738 ac_status=$?
7702 echo "$as_me:7702: \$? = $ac_status" >&5 8739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7703 (exit $ac_status); } && 8740 (exit $ac_status); } &&
7704 { ac_try='test -s conftest$ac_exeext' 8741 { ac_try='test -s conftest$ac_exeext'
7705 { (eval echo "$as_me:7705: \"$ac_try\"") >&5 8742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7706 (eval $ac_try) 2>&5 8743 (eval $ac_try) 2>&5
7707 ac_status=$? 8744 ac_status=$?
7708 echo "$as_me:7708: \$? = $ac_status" >&5 8745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7709 (exit $ac_status); }; }; then 8746 (exit $ac_status); }; }; then
7710 ac_cv_func_getpagesize=yes 8747 ac_cv_func_getpagesize=yes
7711else 8748else
7712 echo "$as_me: failed program was:" >&5 8749 echo "$as_me: failed program was:" >&5
7713cat conftest.$ac_ext >&5 8750sed 's/^/| /' conftest.$ac_ext >&5
8751
7714ac_cv_func_getpagesize=no 8752ac_cv_func_getpagesize=no
7715fi 8753fi
7716rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8754rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7717fi 8755fi
7718echo "$as_me:7718: result: $ac_cv_func_getpagesize" >&5 8756echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5
7719echo "${ECHO_T}$ac_cv_func_getpagesize" >&6 8757echo "${ECHO_T}$ac_cv_func_getpagesize" >&6
7720if test $ac_cv_func_getpagesize = yes; then 8758if test $ac_cv_func_getpagesize = yes; then
7721 cat >>confdefs.h <<\EOF 8759 cat >>confdefs.h <<\_ACEOF
7722#define HAVE_GETPAGESIZE 1 8760#define HAVE_GETPAGESIZE 1
7723EOF 8761_ACEOF
7724 8762
7725else 8763else
7726 echo "$as_me:7726: checking for getpagesize in -lucb" >&5 8764 echo "$as_me:$LINENO: checking for getpagesize in -lucb" >&5
7727echo $ECHO_N "checking for getpagesize in -lucb... $ECHO_C" >&6 8765echo $ECHO_N "checking for getpagesize in -lucb... $ECHO_C" >&6
7728if test "${ac_cv_lib_ucb_getpagesize+set}" = set; then 8766if test "${ac_cv_lib_ucb_getpagesize+set}" = set; then
7729 echo $ECHO_N "(cached) $ECHO_C" >&6 8767 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -7731,8 +8769,12 @@ else
7731 ac_check_lib_save_LIBS=$LIBS 8769 ac_check_lib_save_LIBS=$LIBS
7732LIBS="-lucb $LIBS" 8770LIBS="-lucb $LIBS"
7733cat >conftest.$ac_ext <<_ACEOF 8771cat >conftest.$ac_ext <<_ACEOF
7734#line 7734 "configure" 8772#line $LINENO "configure"
7735#include "confdefs.h" 8773/* confdefs.h. */
8774_ACEOF
8775cat confdefs.h >>conftest.$ac_ext
8776cat >>conftest.$ac_ext <<_ACEOF
8777/* end confdefs.h. */
7736 8778
7737/* Override any gcc2 internal prototype to avoid an error. */ 8779/* Override any gcc2 internal prototype to avoid an error. */
7738#ifdef __cplusplus 8780#ifdef __cplusplus
@@ -7750,101 +8792,119 @@ getpagesize ();
7750} 8792}
7751_ACEOF 8793_ACEOF
7752rm -f conftest.$ac_objext conftest$ac_exeext 8794rm -f conftest.$ac_objext conftest$ac_exeext
7753if { (eval echo "$as_me:7753: \"$ac_link\"") >&5 8795if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7754 (eval $ac_link) 2>&5 8796 (eval $ac_link) 2>&5
7755 ac_status=$? 8797 ac_status=$?
7756 echo "$as_me:7756: \$? = $ac_status" >&5 8798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7757 (exit $ac_status); } && 8799 (exit $ac_status); } &&
7758 { ac_try='test -s conftest$ac_exeext' 8800 { ac_try='test -s conftest$ac_exeext'
7759 { (eval echo "$as_me:7759: \"$ac_try\"") >&5 8801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7760 (eval $ac_try) 2>&5 8802 (eval $ac_try) 2>&5
7761 ac_status=$? 8803 ac_status=$?
7762 echo "$as_me:7762: \$? = $ac_status" >&5 8804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7763 (exit $ac_status); }; }; then 8805 (exit $ac_status); }; }; then
7764 ac_cv_lib_ucb_getpagesize=yes 8806 ac_cv_lib_ucb_getpagesize=yes
7765else 8807else
7766 echo "$as_me: failed program was:" >&5 8808 echo "$as_me: failed program was:" >&5
7767cat conftest.$ac_ext >&5 8809sed 's/^/| /' conftest.$ac_ext >&5
8810
7768ac_cv_lib_ucb_getpagesize=no 8811ac_cv_lib_ucb_getpagesize=no
7769fi 8812fi
7770rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8813rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7771LIBS=$ac_check_lib_save_LIBS 8814LIBS=$ac_check_lib_save_LIBS
7772fi 8815fi
7773echo "$as_me:7773: result: $ac_cv_lib_ucb_getpagesize" >&5 8816echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_getpagesize" >&5
7774echo "${ECHO_T}$ac_cv_lib_ucb_getpagesize" >&6 8817echo "${ECHO_T}$ac_cv_lib_ucb_getpagesize" >&6
7775if test $ac_cv_lib_ucb_getpagesize = yes; then 8818if test $ac_cv_lib_ucb_getpagesize = yes; then
7776 LIBS="$LIBS -lucb"; cat >>confdefs.h <<\EOF 8819 LIBS="$LIBS -lucb"; cat >>confdefs.h <<\_ACEOF
7777#define HAVE_GETPAGESIZE 1 8820#define HAVE_GETPAGESIZE 1
7778EOF 8821_ACEOF
7779 8822
7780fi 8823fi
7781 8824
8825
7782fi 8826fi
7783 8827
8828
7784# Check for broken snprintf 8829# Check for broken snprintf
7785if test "x$ac_cv_func_snprintf" = "xyes" ; then 8830if test "x$ac_cv_func_snprintf" = "xyes" ; then
7786 echo "$as_me:7786: checking whether snprintf correctly terminates long strings" >&5 8831 echo "$as_me:$LINENO: checking whether snprintf correctly terminates long strings" >&5
7787echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6 8832echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6
7788 if test "$cross_compiling" = yes; then 8833 if test "$cross_compiling" = yes; then
7789 { { echo "$as_me:7789: error: cannot run test program while cross compiling" >&5 8834 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7790echo "$as_me: error: cannot run test program while cross compiling" >&2;} 8835See \`config.log' for more details." >&5
8836echo "$as_me: error: cannot run test program while cross compiling
8837See \`config.log' for more details." >&2;}
7791 { (exit 1); exit 1; }; } 8838 { (exit 1); exit 1; }; }
7792else 8839else
7793 cat >conftest.$ac_ext <<_ACEOF 8840 cat >conftest.$ac_ext <<_ACEOF
7794#line 7794 "configure" 8841#line $LINENO "configure"
7795#include "confdefs.h" 8842/* confdefs.h. */
8843_ACEOF
8844cat confdefs.h >>conftest.$ac_ext
8845cat >>conftest.$ac_ext <<_ACEOF
8846/* end confdefs.h. */
7796 8847
7797#include <stdio.h> 8848#include <stdio.h>
7798int main(void){char b[5];snprintf(b,5,"123456789");exit(b[4]!='\0');} 8849int main(void){char b[5];snprintf(b,5,"123456789");exit(b[4]!='\0');}
7799 8850
7800_ACEOF 8851_ACEOF
7801rm -f conftest$ac_exeext 8852rm -f conftest$ac_exeext
7802if { (eval echo "$as_me:7802: \"$ac_link\"") >&5 8853if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7803 (eval $ac_link) 2>&5 8854 (eval $ac_link) 2>&5
7804 ac_status=$? 8855 ac_status=$?
7805 echo "$as_me:7805: \$? = $ac_status" >&5 8856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7806 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8857 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7807 { (eval echo "$as_me:7807: \"$ac_try\"") >&5 8858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7808 (eval $ac_try) 2>&5 8859 (eval $ac_try) 2>&5
7809 ac_status=$? 8860 ac_status=$?
7810 echo "$as_me:7810: \$? = $ac_status" >&5 8861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7811 (exit $ac_status); }; }; then 8862 (exit $ac_status); }; }; then
7812 echo "$as_me:7812: result: yes" >&5 8863 echo "$as_me:$LINENO: result: yes" >&5
7813echo "${ECHO_T}yes" >&6 8864echo "${ECHO_T}yes" >&6
7814else 8865else
7815 echo "$as_me: program exited with status $ac_status" >&5 8866 echo "$as_me: program exited with status $ac_status" >&5
7816echo "$as_me: failed program was:" >&5 8867echo "$as_me: failed program was:" >&5
7817cat conftest.$ac_ext >&5 8868sed 's/^/| /' conftest.$ac_ext >&5
8869
8870( exit $ac_status )
7818 8871
7819 echo "$as_me:7819: result: no" >&5 8872 echo "$as_me:$LINENO: result: no" >&5
7820echo "${ECHO_T}no" >&6 8873echo "${ECHO_T}no" >&6
7821 cat >>confdefs.h <<\EOF 8874 cat >>confdefs.h <<\_ACEOF
7822#define BROKEN_SNPRINTF 1 8875#define BROKEN_SNPRINTF 1
7823EOF 8876_ACEOF
7824 8877
7825 { echo "$as_me:7825: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5 8878 { echo "$as_me:$LINENO: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5
7826echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;} 8879echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;}
7827 8880
8881
7828fi 8882fi
7829rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8883rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7830fi 8884fi
7831fi 8885fi
7832 8886
7833if test "x$ac_cv_func_mkdtemp" = "xyes" ; then 8887if test "x$ac_cv_func_mkdtemp" = "xyes" ; then
7834echo "$as_me:7834: checking for (overly) strict mkstemp" >&5 8888echo "$as_me:$LINENO: checking for (overly) strict mkstemp" >&5
7835echo $ECHO_N "checking for (overly) strict mkstemp... $ECHO_C" >&6 8889echo $ECHO_N "checking for (overly) strict mkstemp... $ECHO_C" >&6
7836if test "$cross_compiling" = yes; then 8890if test "$cross_compiling" = yes; then
7837 8891
7838 echo "$as_me:7838: result: yes" >&5 8892 echo "$as_me:$LINENO: result: yes" >&5
7839echo "${ECHO_T}yes" >&6 8893echo "${ECHO_T}yes" >&6
7840 cat >>confdefs.h <<\EOF 8894 cat >>confdefs.h <<\_ACEOF
7841#define HAVE_STRICT_MKSTEMP 1 8895#define HAVE_STRICT_MKSTEMP 1
7842EOF 8896_ACEOF
8897
8898
7843 8899
7844else 8900else
7845 cat >conftest.$ac_ext <<_ACEOF 8901 cat >conftest.$ac_ext <<_ACEOF
7846#line 7846 "configure" 8902#line $LINENO "configure"
7847#include "confdefs.h" 8903/* confdefs.h. */
8904_ACEOF
8905cat confdefs.h >>conftest.$ac_ext
8906cat >>conftest.$ac_ext <<_ACEOF
8907/* end confdefs.h. */
7848 8908
7849#include <stdlib.h> 8909#include <stdlib.h>
7850main() { char template[]="conftest.mkstemp-test"; 8910main() { char template[]="conftest.mkstemp-test";
@@ -7855,277 +8915,94 @@ unlink(template); exit(0);
7855 8915
7856_ACEOF 8916_ACEOF
7857rm -f conftest$ac_exeext 8917rm -f conftest$ac_exeext
7858if { (eval echo "$as_me:7858: \"$ac_link\"") >&5 8918if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7859 (eval $ac_link) 2>&5 8919 (eval $ac_link) 2>&5
7860 ac_status=$? 8920 ac_status=$?
7861 echo "$as_me:7861: \$? = $ac_status" >&5 8921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7862 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8922 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7863 { (eval echo "$as_me:7863: \"$ac_try\"") >&5 8923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7864 (eval $ac_try) 2>&5 8924 (eval $ac_try) 2>&5
7865 ac_status=$? 8925 ac_status=$?
7866 echo "$as_me:7866: \$? = $ac_status" >&5 8926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7867 (exit $ac_status); }; }; then 8927 (exit $ac_status); }; }; then
7868 8928
7869 echo "$as_me:7869: result: no" >&5 8929 echo "$as_me:$LINENO: result: no" >&5
7870echo "${ECHO_T}no" >&6 8930echo "${ECHO_T}no" >&6
7871 8931
7872else 8932else
7873 echo "$as_me: program exited with status $ac_status" >&5 8933 echo "$as_me: program exited with status $ac_status" >&5
7874echo "$as_me: failed program was:" >&5 8934echo "$as_me: failed program was:" >&5
7875cat conftest.$ac_ext >&5 8935sed 's/^/| /' conftest.$ac_ext >&5
7876 8936
7877 echo "$as_me:7877: result: yes" >&5 8937( exit $ac_status )
8938
8939 echo "$as_me:$LINENO: result: yes" >&5
7878echo "${ECHO_T}yes" >&6 8940echo "${ECHO_T}yes" >&6
7879 cat >>confdefs.h <<\EOF 8941 cat >>confdefs.h <<\_ACEOF
7880#define HAVE_STRICT_MKSTEMP 1 8942#define HAVE_STRICT_MKSTEMP 1
7881EOF
7882
7883fi
7884rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7885fi
7886fi
7887
7888if test ! -z "$check_for_openpty_ctty_bug"; then
7889 echo "$as_me:7889: checking if openpty correctly handles controlling tty" >&5
7890echo $ECHO_N "checking if openpty correctly handles controlling tty... $ECHO_C" >&6
7891 if test "$cross_compiling" = yes; then
7892 { { echo "$as_me:7892: error: cannot run test program while cross compiling" >&5
7893echo "$as_me: error: cannot run test program while cross compiling" >&2;}
7894 { (exit 1); exit 1; }; }
7895else
7896 cat >conftest.$ac_ext <<_ACEOF
7897#line 7897 "configure"
7898#include "confdefs.h"
7899
7900#include <stdio.h>
7901#include <sys/fcntl.h>
7902#include <sys/types.h>
7903#include <sys/wait.h>
7904
7905int
7906main()
7907{
7908 pid_t pid;
7909 int fd, ptyfd, ttyfd, status;
7910
7911 pid = fork();
7912 if (pid < 0) { /* failed */
7913 exit(1);
7914 } else if (pid > 0) { /* parent */
7915 waitpid(pid, &status, 0);
7916 if (WIFEXITED(status))
7917 exit(WEXITSTATUS(status));
7918 else
7919 exit(2);
7920 } else { /* child */
7921 close(0); close(1); close(2);
7922 setsid();
7923 openpty(&ptyfd, &ttyfd, NULL, NULL, NULL);
7924 fd = open("/dev/tty", O_RDWR | O_NOCTTY);
7925 if (fd >= 0)
7926 exit(3); /* Acquired ctty: broken */
7927 else
7928 exit(0); /* Did not acquire ctty: OK */
7929 }
7930}
7931
7932_ACEOF 8943_ACEOF
7933rm -f conftest$ac_exeext
7934if { (eval echo "$as_me:7934: \"$ac_link\"") >&5
7935 (eval $ac_link) 2>&5
7936 ac_status=$?
7937 echo "$as_me:7937: \$? = $ac_status" >&5
7938 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7939 { (eval echo "$as_me:7939: \"$ac_try\"") >&5
7940 (eval $ac_try) 2>&5
7941 ac_status=$?
7942 echo "$as_me:7942: \$? = $ac_status" >&5
7943 (exit $ac_status); }; }; then
7944
7945 echo "$as_me:7945: result: yes" >&5
7946echo "${ECHO_T}yes" >&6
7947 8944
7948else
7949 echo "$as_me: program exited with status $ac_status" >&5
7950echo "$as_me: failed program was:" >&5
7951cat conftest.$ac_ext >&5
7952
7953 echo "$as_me:7953: result: no" >&5
7954echo "${ECHO_T}no" >&6
7955 cat >>confdefs.h <<\EOF
7956#define SSHD_ACQUIRES_CTTY 1
7957EOF
7958 8945
7959fi 8946fi
7960rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8947rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7961fi 8948fi
7962fi 8949fi
7963 8950
7964echo "$as_me:7964: checking whether getpgrp takes no argument" >&5 8951echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
7965echo $ECHO_N "checking whether getpgrp takes no argument... $ECHO_C" >&6 8952echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6
7966if test "${ac_cv_func_getpgrp_void+set}" = set; then 8953if test "${ac_cv_func_getpgrp_void+set}" = set; then
7967 echo $ECHO_N "(cached) $ECHO_C" >&6 8954 echo $ECHO_N "(cached) $ECHO_C" >&6
7968else 8955else
7969 # Use it with a single arg. 8956 # Use it with a single arg.
7970cat >conftest.$ac_ext <<_ACEOF 8957cat >conftest.$ac_ext <<_ACEOF
7971#line 7971 "configure" 8958#line $LINENO "configure"
7972#include "confdefs.h" 8959/* confdefs.h. */
7973$ac_includes_default
7974int
7975main ()
7976{
7977getpgrp (0);
7978 ;
7979 return 0;
7980}
7981_ACEOF 8960_ACEOF
7982rm -f conftest.$ac_objext 8961cat confdefs.h >>conftest.$ac_ext
7983if { (eval echo "$as_me:7983: \"$ac_compile\"") >&5 8962cat >>conftest.$ac_ext <<_ACEOF
7984 (eval $ac_compile) 2>&5 8963/* end confdefs.h. */
7985 ac_status=$?
7986 echo "$as_me:7986: \$? = $ac_status" >&5
7987 (exit $ac_status); } &&
7988 { ac_try='test -s conftest.$ac_objext'
7989 { (eval echo "$as_me:7989: \"$ac_try\"") >&5
7990 (eval $ac_try) 2>&5
7991 ac_status=$?
7992 echo "$as_me:7992: \$? = $ac_status" >&5
7993 (exit $ac_status); }; }; then
7994 ac_func_getpgrp_1=yes
7995else
7996 echo "$as_me: failed program was:" >&5
7997cat conftest.$ac_ext >&5
7998ac_func_getpgrp_1=no
7999fi
8000rm -f conftest.$ac_objext conftest.$ac_ext
8001# Use it with no arg.
8002cat >conftest.$ac_ext <<_ACEOF
8003#line 8003 "configure"
8004#include "confdefs.h"
8005$ac_includes_default 8964$ac_includes_default
8006int 8965int
8007main () 8966main ()
8008{ 8967{
8009getpgrp (); 8968getpgrp (0);
8010 ; 8969 ;
8011 return 0; 8970 return 0;
8012} 8971}
8013_ACEOF 8972_ACEOF
8014rm -f conftest.$ac_objext 8973rm -f conftest.$ac_objext
8015if { (eval echo "$as_me:8015: \"$ac_compile\"") >&5 8974if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8016 (eval $ac_compile) 2>&5 8975 (eval $ac_compile) 2>&5
8017 ac_status=$? 8976 ac_status=$?
8018 echo "$as_me:8018: \$? = $ac_status" >&5 8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8019 (exit $ac_status); } && 8978 (exit $ac_status); } &&
8020 { ac_try='test -s conftest.$ac_objext' 8979 { ac_try='test -s conftest.$ac_objext'
8021 { (eval echo "$as_me:8021: \"$ac_try\"") >&5 8980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8022 (eval $ac_try) 2>&5 8981 (eval $ac_try) 2>&5
8023 ac_status=$? 8982 ac_status=$?
8024 echo "$as_me:8024: \$? = $ac_status" >&5 8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8025 (exit $ac_status); }; }; then 8984 (exit $ac_status); }; }; then
8026 ac_func_getpgrp_0=yes 8985 ac_cv_func_getpgrp_void=no
8027else 8986else
8028 echo "$as_me: failed program was:" >&5 8987 echo "$as_me: failed program was:" >&5
8029cat conftest.$ac_ext >&5 8988sed 's/^/| /' conftest.$ac_ext >&5
8030ac_func_getpgrp_0=no
8031fi
8032rm -f conftest.$ac_objext conftest.$ac_ext
8033# If both static checks agree, we are done.
8034case $ac_func_getpgrp_0:$ac_func_getpgrp_1 in
8035 yes:no) ac_cv_func_getpgrp_void=yes;;
8036 no:yes) ac_cv_func_getpgrp_void=false;;
8037 *) if test "$cross_compiling" = yes; then
8038 { { echo "$as_me:8038: error: cannot check getpgrp if cross compiling" >&5
8039echo "$as_me: error: cannot check getpgrp if cross compiling" >&2;}
8040 { (exit 1); exit 1; }; }
8041else
8042 cat >conftest.$ac_ext <<_ACEOF
8043#line 8043 "configure"
8044#include "confdefs.h"
8045$ac_includes_default
8046
8047/*
8048 * If this system has a BSD-style getpgrp(),
8049 * which takes a pid argument, exit unsuccessfully.
8050 *
8051 * Snarfed from Chet Ramey's bash pgrp.c test program
8052 */
8053
8054int pid;
8055int pg1, pg2, pg3, pg4;
8056int ng, np, s, child;
8057
8058int
8059main ()
8060{
8061 pid = getpid ();
8062 pg1 = getpgrp (0);
8063 pg2 = getpgrp ();
8064 pg3 = getpgrp (pid);
8065 pg4 = getpgrp (1);
8066
8067 /* If all of these values are the same, it's pretty sure that we're
8068 on a system that ignores getpgrp's first argument. */
8069 if (pg2 == pg4 && pg1 == pg3 && pg2 == pg3)
8070 exit (0);
8071
8072 child = fork ();
8073 if (child < 0)
8074 exit(1);
8075 else if (child == 0)
8076 {
8077 np = getpid ();
8078 /* If this is Sys V, this will not work; pgrp will be set to np
8079 because setpgrp just changes a pgrp to be the same as the
8080 pid. */
8081 setpgrp (np, pg1);
8082 ng = getpgrp (0); /* Same result for Sys V and BSD */
8083 if (ng == pg1)
8084 exit (1);
8085 else
8086 exit (0);
8087 }
8088 else
8089 {
8090 wait (&s);
8091 exit (s>>8);
8092 }
8093}
8094 8989
8095_ACEOF 8990ac_cv_func_getpgrp_void=yes
8096rm -f conftest$ac_exeext
8097if { (eval echo "$as_me:8097: \"$ac_link\"") >&5
8098 (eval $ac_link) 2>&5
8099 ac_status=$?
8100 echo "$as_me:8100: \$? = $ac_status" >&5
8101 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8102 { (eval echo "$as_me:8102: \"$ac_try\"") >&5
8103 (eval $ac_try) 2>&5
8104 ac_status=$?
8105 echo "$as_me:8105: \$? = $ac_status" >&5
8106 (exit $ac_status); }; }; then
8107 ac_cv_func_getpgrp_void=yes
8108else
8109 echo "$as_me: program exited with status $ac_status" >&5
8110echo "$as_me: failed program was:" >&5
8111cat conftest.$ac_ext >&5
8112ac_cv_func_getpgrp_void=no
8113fi 8991fi
8114rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8992rm -f conftest.$ac_objext conftest.$ac_ext
8115fi;;
8116esac # $ac_func_getpgrp_0:$ac_func_getpgrp_1
8117 8993
8118fi 8994fi
8119echo "$as_me:8119: result: $ac_cv_func_getpgrp_void" >&5 8995echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
8120echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6 8996echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6
8121if test $ac_cv_func_getpgrp_void = yes; then 8997if test $ac_cv_func_getpgrp_void = yes; then
8122 8998
8123cat >>confdefs.h <<\EOF 8999cat >>confdefs.h <<\_ACEOF
8124#define GETPGRP_VOID 1 9000#define GETPGRP_VOID 1
8125EOF 9001_ACEOF
8126 9002
8127fi 9003fi
8128 9004
9005
8129# Check for PAM libs 9006# Check for PAM libs
8130PAM_MSG="no" 9007PAM_MSG="no"
8131 9008
@@ -8135,12 +9012,13 @@ if test "${with_pam+set}" = set; then
8135 9012
8136 if test "x$withval" != "xno" ; then 9013 if test "x$withval" != "xno" ; then
8137 if test "x$ac_cv_header_security_pam_appl_h" != "xyes" ; then 9014 if test "x$ac_cv_header_security_pam_appl_h" != "xyes" ; then
8138 { { echo "$as_me:8138: error: PAM headers not found" >&5 9015 { { echo "$as_me:$LINENO: error: PAM headers not found" >&5
8139echo "$as_me: error: PAM headers not found" >&2;} 9016echo "$as_me: error: PAM headers not found" >&2;}
8140 { (exit 1); exit 1; }; } 9017 { (exit 1); exit 1; }; }
8141 fi 9018 fi
8142 9019
8143echo "$as_me:8143: checking for dlopen in -ldl" >&5 9020
9021echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8144echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 9022echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8145if test "${ac_cv_lib_dl_dlopen+set}" = set; then 9023if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8146 echo $ECHO_N "(cached) $ECHO_C" >&6 9024 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -8148,8 +9026,12 @@ else
8148 ac_check_lib_save_LIBS=$LIBS 9026 ac_check_lib_save_LIBS=$LIBS
8149LIBS="-ldl $LIBS" 9027LIBS="-ldl $LIBS"
8150cat >conftest.$ac_ext <<_ACEOF 9028cat >conftest.$ac_ext <<_ACEOF
8151#line 8151 "configure" 9029#line $LINENO "configure"
8152#include "confdefs.h" 9030/* confdefs.h. */
9031_ACEOF
9032cat confdefs.h >>conftest.$ac_ext
9033cat >>conftest.$ac_ext <<_ACEOF
9034/* end confdefs.h. */
8153 9035
8154/* Override any gcc2 internal prototype to avoid an error. */ 9036/* Override any gcc2 internal prototype to avoid an error. */
8155#ifdef __cplusplus 9037#ifdef __cplusplus
@@ -8167,38 +9049,40 @@ dlopen ();
8167} 9049}
8168_ACEOF 9050_ACEOF
8169rm -f conftest.$ac_objext conftest$ac_exeext 9051rm -f conftest.$ac_objext conftest$ac_exeext
8170if { (eval echo "$as_me:8170: \"$ac_link\"") >&5 9052if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8171 (eval $ac_link) 2>&5 9053 (eval $ac_link) 2>&5
8172 ac_status=$? 9054 ac_status=$?
8173 echo "$as_me:8173: \$? = $ac_status" >&5 9055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8174 (exit $ac_status); } && 9056 (exit $ac_status); } &&
8175 { ac_try='test -s conftest$ac_exeext' 9057 { ac_try='test -s conftest$ac_exeext'
8176 { (eval echo "$as_me:8176: \"$ac_try\"") >&5 9058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8177 (eval $ac_try) 2>&5 9059 (eval $ac_try) 2>&5
8178 ac_status=$? 9060 ac_status=$?
8179 echo "$as_me:8179: \$? = $ac_status" >&5 9061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8180 (exit $ac_status); }; }; then 9062 (exit $ac_status); }; }; then
8181 ac_cv_lib_dl_dlopen=yes 9063 ac_cv_lib_dl_dlopen=yes
8182else 9064else
8183 echo "$as_me: failed program was:" >&5 9065 echo "$as_me: failed program was:" >&5
8184cat conftest.$ac_ext >&5 9066sed 's/^/| /' conftest.$ac_ext >&5
9067
8185ac_cv_lib_dl_dlopen=no 9068ac_cv_lib_dl_dlopen=no
8186fi 9069fi
8187rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9070rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8188LIBS=$ac_check_lib_save_LIBS 9071LIBS=$ac_check_lib_save_LIBS
8189fi 9072fi
8190echo "$as_me:8190: result: $ac_cv_lib_dl_dlopen" >&5 9073echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8191echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 9074echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8192if test $ac_cv_lib_dl_dlopen = yes; then 9075if test $ac_cv_lib_dl_dlopen = yes; then
8193 cat >>confdefs.h <<EOF 9076 cat >>confdefs.h <<_ACEOF
8194#define HAVE_LIBDL 1 9077#define HAVE_LIBDL 1
8195EOF 9078_ACEOF
8196 9079
8197 LIBS="-ldl $LIBS" 9080 LIBS="-ldl $LIBS"
8198 9081
8199fi 9082fi
8200 9083
8201echo "$as_me:8201: checking for pam_set_item in -lpam" >&5 9084
9085echo "$as_me:$LINENO: checking for pam_set_item in -lpam" >&5
8202echo $ECHO_N "checking for pam_set_item in -lpam... $ECHO_C" >&6 9086echo $ECHO_N "checking for pam_set_item in -lpam... $ECHO_C" >&6
8203if test "${ac_cv_lib_pam_pam_set_item+set}" = set; then 9087if test "${ac_cv_lib_pam_pam_set_item+set}" = set; then
8204 echo $ECHO_N "(cached) $ECHO_C" >&6 9088 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -8206,8 +9090,12 @@ else
8206 ac_check_lib_save_LIBS=$LIBS 9090 ac_check_lib_save_LIBS=$LIBS
8207LIBS="-lpam $LIBS" 9091LIBS="-lpam $LIBS"
8208cat >conftest.$ac_ext <<_ACEOF 9092cat >conftest.$ac_ext <<_ACEOF
8209#line 8209 "configure" 9093#line $LINENO "configure"
8210#include "confdefs.h" 9094/* confdefs.h. */
9095_ACEOF
9096cat confdefs.h >>conftest.$ac_ext
9097cat >>conftest.$ac_ext <<_ACEOF
9098/* end confdefs.h. */
8211 9099
8212/* Override any gcc2 internal prototype to avoid an error. */ 9100/* Override any gcc2 internal prototype to avoid an error. */
8213#ifdef __cplusplus 9101#ifdef __cplusplus
@@ -8225,185 +9113,133 @@ pam_set_item ();
8225} 9113}
8226_ACEOF 9114_ACEOF
8227rm -f conftest.$ac_objext conftest$ac_exeext 9115rm -f conftest.$ac_objext conftest$ac_exeext
8228if { (eval echo "$as_me:8228: \"$ac_link\"") >&5 9116if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8229 (eval $ac_link) 2>&5 9117 (eval $ac_link) 2>&5
8230 ac_status=$? 9118 ac_status=$?
8231 echo "$as_me:8231: \$? = $ac_status" >&5 9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232 (exit $ac_status); } && 9120 (exit $ac_status); } &&
8233 { ac_try='test -s conftest$ac_exeext' 9121 { ac_try='test -s conftest$ac_exeext'
8234 { (eval echo "$as_me:8234: \"$ac_try\"") >&5 9122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8235 (eval $ac_try) 2>&5 9123 (eval $ac_try) 2>&5
8236 ac_status=$? 9124 ac_status=$?
8237 echo "$as_me:8237: \$? = $ac_status" >&5 9125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8238 (exit $ac_status); }; }; then 9126 (exit $ac_status); }; }; then
8239 ac_cv_lib_pam_pam_set_item=yes 9127 ac_cv_lib_pam_pam_set_item=yes
8240else 9128else
8241 echo "$as_me: failed program was:" >&5 9129 echo "$as_me: failed program was:" >&5
8242cat conftest.$ac_ext >&5 9130sed 's/^/| /' conftest.$ac_ext >&5
9131
8243ac_cv_lib_pam_pam_set_item=no 9132ac_cv_lib_pam_pam_set_item=no
8244fi 9133fi
8245rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9134rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8246LIBS=$ac_check_lib_save_LIBS 9135LIBS=$ac_check_lib_save_LIBS
8247fi 9136fi
8248echo "$as_me:8248: result: $ac_cv_lib_pam_pam_set_item" >&5 9137echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_set_item" >&5
8249echo "${ECHO_T}$ac_cv_lib_pam_pam_set_item" >&6 9138echo "${ECHO_T}$ac_cv_lib_pam_pam_set_item" >&6
8250if test $ac_cv_lib_pam_pam_set_item = yes; then 9139if test $ac_cv_lib_pam_pam_set_item = yes; then
8251 cat >>confdefs.h <<EOF 9140 cat >>confdefs.h <<_ACEOF
8252#define HAVE_LIBPAM 1 9141#define HAVE_LIBPAM 1
8253EOF 9142_ACEOF
8254 9143
8255 LIBS="-lpam $LIBS" 9144 LIBS="-lpam $LIBS"
8256 9145
8257else 9146else
8258 { { echo "$as_me:8258: error: *** libpam missing" >&5 9147 { { echo "$as_me:$LINENO: error: *** libpam missing" >&5
8259echo "$as_me: error: *** libpam missing" >&2;} 9148echo "$as_me: error: *** libpam missing" >&2;}
8260 { (exit 1); exit 1; }; } 9149 { (exit 1); exit 1; }; }
8261fi 9150fi
8262 9151
9152
8263for ac_func in pam_getenvlist 9153for ac_func in pam_getenvlist
8264do 9154do
8265as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9155as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8266echo "$as_me:8266: checking for $ac_func" >&5 9156echo "$as_me:$LINENO: checking for $ac_func" >&5
8267echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9157echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8268if eval "test \"\${$as_ac_var+set}\" = set"; then 9158if eval "test \"\${$as_ac_var+set}\" = set"; then
8269 echo $ECHO_N "(cached) $ECHO_C" >&6 9159 echo $ECHO_N "(cached) $ECHO_C" >&6
8270else 9160else
8271 cat >conftest.$ac_ext <<_ACEOF 9161 cat >conftest.$ac_ext <<_ACEOF
8272#line 8272 "configure" 9162#line $LINENO "configure"
8273#include "confdefs.h" 9163/* confdefs.h. */
9164_ACEOF
9165cat confdefs.h >>conftest.$ac_ext
9166cat >>conftest.$ac_ext <<_ACEOF
9167/* end confdefs.h. */
8274/* System header to define __stub macros and hopefully few prototypes, 9168/* System header to define __stub macros and hopefully few prototypes,
8275 which can conflict with char $ac_func (); below. */ 9169 which can conflict with char $ac_func (); below.
8276#include <assert.h> 9170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9171 <limits.h> exists even on freestanding compilers. */
9172#ifdef __STDC__
9173# include <limits.h>
9174#else
9175# include <assert.h>
9176#endif
8277/* Override any gcc2 internal prototype to avoid an error. */ 9177/* Override any gcc2 internal prototype to avoid an error. */
8278#ifdef __cplusplus 9178#ifdef __cplusplus
8279extern "C" 9179extern "C"
9180{
8280#endif 9181#endif
8281/* We use char because int might match the return type of a gcc2 9182/* We use char because int might match the return type of a gcc2
8282 builtin and then its argument prototype would still apply. */ 9183 builtin and then its argument prototype would still apply. */
8283char $ac_func (); 9184char $ac_func ();
8284char (*f) ();
8285
8286int
8287main ()
8288{
8289/* The GNU C library defines this for functions which it implements 9185/* The GNU C library defines this for functions which it implements
8290 to always fail with ENOSYS. Some functions are actually named 9186 to always fail with ENOSYS. Some functions are actually named
8291 something starting with __ and the normal name is an alias. */ 9187 something starting with __ and the normal name is an alias. */
8292#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 9188#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8293choke me 9189choke me
8294#else 9190#else
8295f = $ac_func; 9191char (*f) () = $ac_func;
8296#endif 9192#endif
8297
8298 ;
8299 return 0;
8300}
8301_ACEOF
8302rm -f conftest.$ac_objext conftest$ac_exeext
8303if { (eval echo "$as_me:8303: \"$ac_link\"") >&5
8304 (eval $ac_link) 2>&5
8305 ac_status=$?
8306 echo "$as_me:8306: \$? = $ac_status" >&5
8307 (exit $ac_status); } &&
8308 { ac_try='test -s conftest$ac_exeext'
8309 { (eval echo "$as_me:8309: \"$ac_try\"") >&5
8310 (eval $ac_try) 2>&5
8311 ac_status=$?
8312 echo "$as_me:8312: \$? = $ac_status" >&5
8313 (exit $ac_status); }; }; then
8314 eval "$as_ac_var=yes"
8315else
8316 echo "$as_me: failed program was:" >&5
8317cat conftest.$ac_ext >&5
8318eval "$as_ac_var=no"
8319fi
8320rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8321fi
8322echo "$as_me:8322: result: `eval echo '${'$as_ac_var'}'`" >&5
8323echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8324if test `eval echo '${'$as_ac_var'}'` = yes; then
8325 cat >>confdefs.h <<EOF
8326#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8327EOF
8328
8329fi
8330done
8331
8332for ac_func in pam_putenv
8333do
8334as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8335echo "$as_me:8335: checking for $ac_func" >&5
8336echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8337if eval "test \"\${$as_ac_var+set}\" = set"; then
8338 echo $ECHO_N "(cached) $ECHO_C" >&6
8339else
8340 cat >conftest.$ac_ext <<_ACEOF
8341#line 8341 "configure"
8342#include "confdefs.h"
8343/* System header to define __stub macros and hopefully few prototypes,
8344 which can conflict with char $ac_func (); below. */
8345#include <assert.h>
8346/* Override any gcc2 internal prototype to avoid an error. */
8347#ifdef __cplusplus 9193#ifdef __cplusplus
8348extern "C" 9194}
8349#endif 9195#endif
8350/* We use char because int might match the return type of a gcc2
8351 builtin and then its argument prototype would still apply. */
8352char $ac_func ();
8353char (*f) ();
8354 9196
8355int 9197int
8356main () 9198main ()
8357{ 9199{
8358/* The GNU C library defines this for functions which it implements 9200return f != $ac_func;
8359 to always fail with ENOSYS. Some functions are actually named
8360 something starting with __ and the normal name is an alias. */
8361#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8362choke me
8363#else
8364f = $ac_func;
8365#endif
8366
8367 ; 9201 ;
8368 return 0; 9202 return 0;
8369} 9203}
8370_ACEOF 9204_ACEOF
8371rm -f conftest.$ac_objext conftest$ac_exeext 9205rm -f conftest.$ac_objext conftest$ac_exeext
8372if { (eval echo "$as_me:8372: \"$ac_link\"") >&5 9206if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8373 (eval $ac_link) 2>&5 9207 (eval $ac_link) 2>&5
8374 ac_status=$? 9208 ac_status=$?
8375 echo "$as_me:8375: \$? = $ac_status" >&5 9209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8376 (exit $ac_status); } && 9210 (exit $ac_status); } &&
8377 { ac_try='test -s conftest$ac_exeext' 9211 { ac_try='test -s conftest$ac_exeext'
8378 { (eval echo "$as_me:8378: \"$ac_try\"") >&5 9212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8379 (eval $ac_try) 2>&5 9213 (eval $ac_try) 2>&5
8380 ac_status=$? 9214 ac_status=$?
8381 echo "$as_me:8381: \$? = $ac_status" >&5 9215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8382 (exit $ac_status); }; }; then 9216 (exit $ac_status); }; }; then
8383 eval "$as_ac_var=yes" 9217 eval "$as_ac_var=yes"
8384else 9218else
8385 echo "$as_me: failed program was:" >&5 9219 echo "$as_me: failed program was:" >&5
8386cat conftest.$ac_ext >&5 9220sed 's/^/| /' conftest.$ac_ext >&5
9221
8387eval "$as_ac_var=no" 9222eval "$as_ac_var=no"
8388fi 9223fi
8389rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9224rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8390fi 9225fi
8391echo "$as_me:8391: result: `eval echo '${'$as_ac_var'}'`" >&5 9226echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8392echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9227echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8393if test `eval echo '${'$as_ac_var'}'` = yes; then 9228if test `eval echo '${'$as_ac_var'}'` = yes; then
8394 cat >>confdefs.h <<EOF 9229 cat >>confdefs.h <<_ACEOF
8395#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9230#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8396EOF 9231_ACEOF
8397 9232
8398fi 9233fi
8399done 9234done
8400 9235
9236
8401 disable_shadow=yes 9237 disable_shadow=yes
8402 PAM_MSG="yes" 9238 PAM_MSG="yes"
8403 9239
8404 cat >>confdefs.h <<\EOF 9240 cat >>confdefs.h <<\_ACEOF
8405#define USE_PAM 1 9241#define USE_PAM 1
8406EOF 9242_ACEOF
8407 9243
8408 if test $ac_cv_lib_dl_dlopen = yes; then 9244 if test $ac_cv_lib_dl_dlopen = yes; then
8409 LIBPAM="-lpam -ldl" 9245 LIBPAM="-lpam -ldl"
@@ -8413,16 +9249,21 @@ EOF
8413 9249
8414 fi 9250 fi
8415 9251
9252
8416fi; 9253fi;
8417 9254
8418# Check for older PAM 9255# Check for older PAM
8419if test "x$PAM_MSG" = "xyes" ; then 9256if test "x$PAM_MSG" = "xyes" ; then
8420 # Check PAM strerror arguments (old PAM) 9257 # Check PAM strerror arguments (old PAM)
8421 echo "$as_me:8421: checking whether pam_strerror takes only one argument" >&5 9258 echo "$as_me:$LINENO: checking whether pam_strerror takes only one argument" >&5
8422echo $ECHO_N "checking whether pam_strerror takes only one argument... $ECHO_C" >&6 9259echo $ECHO_N "checking whether pam_strerror takes only one argument... $ECHO_C" >&6
8423 cat >conftest.$ac_ext <<_ACEOF 9260 cat >conftest.$ac_ext <<_ACEOF
8424#line 8424 "configure" 9261#line $LINENO "configure"
8425#include "confdefs.h" 9262/* confdefs.h. */
9263_ACEOF
9264cat confdefs.h >>conftest.$ac_ext
9265cat >>conftest.$ac_ext <<_ACEOF
9266/* end confdefs.h. */
8426 9267
8427#include <stdlib.h> 9268#include <stdlib.h>
8428#include <security/pam_appl.h> 9269#include <security/pam_appl.h>
@@ -8436,31 +9277,33 @@ main ()
8436} 9277}
8437_ACEOF 9278_ACEOF
8438rm -f conftest.$ac_objext 9279rm -f conftest.$ac_objext
8439if { (eval echo "$as_me:8439: \"$ac_compile\"") >&5 9280if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8440 (eval $ac_compile) 2>&5 9281 (eval $ac_compile) 2>&5
8441 ac_status=$? 9282 ac_status=$?
8442 echo "$as_me:8442: \$? = $ac_status" >&5 9283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8443 (exit $ac_status); } && 9284 (exit $ac_status); } &&
8444 { ac_try='test -s conftest.$ac_objext' 9285 { ac_try='test -s conftest.$ac_objext'
8445 { (eval echo "$as_me:8445: \"$ac_try\"") >&5 9286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8446 (eval $ac_try) 2>&5 9287 (eval $ac_try) 2>&5
8447 ac_status=$? 9288 ac_status=$?
8448 echo "$as_me:8448: \$? = $ac_status" >&5 9289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8449 (exit $ac_status); }; }; then 9290 (exit $ac_status); }; }; then
8450 echo "$as_me:8450: result: no" >&5 9291 echo "$as_me:$LINENO: result: no" >&5
8451echo "${ECHO_T}no" >&6 9292echo "${ECHO_T}no" >&6
8452else 9293else
8453 echo "$as_me: failed program was:" >&5 9294 echo "$as_me: failed program was:" >&5
8454cat conftest.$ac_ext >&5 9295sed 's/^/| /' conftest.$ac_ext >&5
8455 9296
8456 cat >>confdefs.h <<\EOF 9297
9298 cat >>confdefs.h <<\_ACEOF
8457#define HAVE_OLD_PAM 1 9299#define HAVE_OLD_PAM 1
8458EOF 9300_ACEOF
8459 9301
8460 echo "$as_me:8460: result: yes" >&5 9302 echo "$as_me:$LINENO: result: yes" >&5
8461echo "${ECHO_T}yes" >&6 9303echo "${ECHO_T}yes" >&6
8462 PAM_MSG="yes (old library)" 9304 PAM_MSG="yes (old library)"
8463 9305
9306
8464fi 9307fi
8465rm -f conftest.$ac_objext conftest.$ac_ext 9308rm -f conftest.$ac_objext conftest.$ac_ext
8466fi 9309fi
@@ -8469,7 +9312,7 @@ fi
8469# because the system crypt() is more featureful. 9312# because the system crypt() is more featureful.
8470if test "x$check_for_libcrypt_before" = "x1"; then 9313if test "x$check_for_libcrypt_before" = "x1"; then
8471 9314
8472echo "$as_me:8472: checking for crypt in -lcrypt" >&5 9315echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
8473echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6 9316echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
8474if test "${ac_cv_lib_crypt_crypt+set}" = set; then 9317if test "${ac_cv_lib_crypt_crypt+set}" = set; then
8475 echo $ECHO_N "(cached) $ECHO_C" >&6 9318 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -8477,8 +9320,12 @@ else
8477 ac_check_lib_save_LIBS=$LIBS 9320 ac_check_lib_save_LIBS=$LIBS
8478LIBS="-lcrypt $LIBS" 9321LIBS="-lcrypt $LIBS"
8479cat >conftest.$ac_ext <<_ACEOF 9322cat >conftest.$ac_ext <<_ACEOF
8480#line 8480 "configure" 9323#line $LINENO "configure"
8481#include "confdefs.h" 9324/* confdefs.h. */
9325_ACEOF
9326cat confdefs.h >>conftest.$ac_ext
9327cat >>conftest.$ac_ext <<_ACEOF
9328/* end confdefs.h. */
8482 9329
8483/* Override any gcc2 internal prototype to avoid an error. */ 9330/* Override any gcc2 internal prototype to avoid an error. */
8484#ifdef __cplusplus 9331#ifdef __cplusplus
@@ -8496,32 +9343,33 @@ crypt ();
8496} 9343}
8497_ACEOF 9344_ACEOF
8498rm -f conftest.$ac_objext conftest$ac_exeext 9345rm -f conftest.$ac_objext conftest$ac_exeext
8499if { (eval echo "$as_me:8499: \"$ac_link\"") >&5 9346if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8500 (eval $ac_link) 2>&5 9347 (eval $ac_link) 2>&5
8501 ac_status=$? 9348 ac_status=$?
8502 echo "$as_me:8502: \$? = $ac_status" >&5 9349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8503 (exit $ac_status); } && 9350 (exit $ac_status); } &&
8504 { ac_try='test -s conftest$ac_exeext' 9351 { ac_try='test -s conftest$ac_exeext'
8505 { (eval echo "$as_me:8505: \"$ac_try\"") >&5 9352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8506 (eval $ac_try) 2>&5 9353 (eval $ac_try) 2>&5
8507 ac_status=$? 9354 ac_status=$?
8508 echo "$as_me:8508: \$? = $ac_status" >&5 9355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 (exit $ac_status); }; }; then 9356 (exit $ac_status); }; }; then
8510 ac_cv_lib_crypt_crypt=yes 9357 ac_cv_lib_crypt_crypt=yes
8511else 9358else
8512 echo "$as_me: failed program was:" >&5 9359 echo "$as_me: failed program was:" >&5
8513cat conftest.$ac_ext >&5 9360sed 's/^/| /' conftest.$ac_ext >&5
9361
8514ac_cv_lib_crypt_crypt=no 9362ac_cv_lib_crypt_crypt=no
8515fi 9363fi
8516rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9364rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8517LIBS=$ac_check_lib_save_LIBS 9365LIBS=$ac_check_lib_save_LIBS
8518fi 9366fi
8519echo "$as_me:8519: result: $ac_cv_lib_crypt_crypt" >&5 9367echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
8520echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6 9368echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
8521if test $ac_cv_lib_crypt_crypt = yes; then 9369if test $ac_cv_lib_crypt_crypt = yes; then
8522 cat >>confdefs.h <<EOF 9370 cat >>confdefs.h <<_ACEOF
8523#define HAVE_LIBCRYPT 1 9371#define HAVE_LIBCRYPT 1
8524EOF 9372_ACEOF
8525 9373
8526 LIBS="-lcrypt $LIBS" 9374 LIBS="-lcrypt $LIBS"
8527 9375
@@ -8558,11 +9406,16 @@ if test "${with_ssl_dir+set}" = set; then
8558 fi 9406 fi
8559 fi 9407 fi
8560 9408
9409
8561fi; 9410fi;
8562LIBS="$LIBS -lcrypto" 9411LIBS="$LIBS -lcrypto"
8563cat >conftest.$ac_ext <<_ACEOF 9412cat >conftest.$ac_ext <<_ACEOF
8564#line 8564 "configure" 9413#line $LINENO "configure"
8565#include "confdefs.h" 9414/* confdefs.h. */
9415_ACEOF
9416cat confdefs.h >>conftest.$ac_ext
9417cat >>conftest.$ac_ext <<_ACEOF
9418/* end confdefs.h. */
8566 9419
8567/* Override any gcc2 internal prototype to avoid an error. */ 9420/* Override any gcc2 internal prototype to avoid an error. */
8568#ifdef __cplusplus 9421#ifdef __cplusplus
@@ -8580,24 +9433,25 @@ RAND_add ();
8580} 9433}
8581_ACEOF 9434_ACEOF
8582rm -f conftest.$ac_objext conftest$ac_exeext 9435rm -f conftest.$ac_objext conftest$ac_exeext
8583if { (eval echo "$as_me:8583: \"$ac_link\"") >&5 9436if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8584 (eval $ac_link) 2>&5 9437 (eval $ac_link) 2>&5
8585 ac_status=$? 9438 ac_status=$?
8586 echo "$as_me:8586: \$? = $ac_status" >&5 9439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587 (exit $ac_status); } && 9440 (exit $ac_status); } &&
8588 { ac_try='test -s conftest$ac_exeext' 9441 { ac_try='test -s conftest$ac_exeext'
8589 { (eval echo "$as_me:8589: \"$ac_try\"") >&5 9442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8590 (eval $ac_try) 2>&5 9443 (eval $ac_try) 2>&5
8591 ac_status=$? 9444 ac_status=$?
8592 echo "$as_me:8592: \$? = $ac_status" >&5 9445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8593 (exit $ac_status); }; }; then 9446 (exit $ac_status); }; }; then
8594 cat >>confdefs.h <<\EOF 9447 cat >>confdefs.h <<\_ACEOF
8595#define HAVE_OPENSSL 1 9448#define HAVE_OPENSSL 1
8596EOF 9449_ACEOF
8597 9450
8598else 9451else
8599 echo "$as_me: failed program was:" >&5 9452 echo "$as_me: failed program was:" >&5
8600cat conftest.$ac_ext >&5 9453sed 's/^/| /' conftest.$ac_ext >&5
9454
8601 9455
8602 if test -n "${need_dash_r}"; then 9456 if test -n "${need_dash_r}"; then
8603 LDFLAGS="-L/usr/local/ssl/lib -R/usr/local/ssl/lib ${saved_LDFLAGS}" 9457 LDFLAGS="-L/usr/local/ssl/lib -R/usr/local/ssl/lib ${saved_LDFLAGS}"
@@ -8606,8 +9460,12 @@ cat conftest.$ac_ext >&5
8606 fi 9460 fi
8607 CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}" 9461 CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}"
8608 cat >conftest.$ac_ext <<_ACEOF 9462 cat >conftest.$ac_ext <<_ACEOF
8609#line 8609 "configure" 9463#line $LINENO "configure"
8610#include "confdefs.h" 9464/* confdefs.h. */
9465_ACEOF
9466cat confdefs.h >>conftest.$ac_ext
9467cat >>conftest.$ac_ext <<_ACEOF
9468/* end confdefs.h. */
8611 9469
8612/* Override any gcc2 internal prototype to avoid an error. */ 9470/* Override any gcc2 internal prototype to avoid an error. */
8613#ifdef __cplusplus 9471#ifdef __cplusplus
@@ -8625,46 +9483,55 @@ RAND_add ();
8625} 9483}
8626_ACEOF 9484_ACEOF
8627rm -f conftest.$ac_objext conftest$ac_exeext 9485rm -f conftest.$ac_objext conftest$ac_exeext
8628if { (eval echo "$as_me:8628: \"$ac_link\"") >&5 9486if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8629 (eval $ac_link) 2>&5 9487 (eval $ac_link) 2>&5
8630 ac_status=$? 9488 ac_status=$?
8631 echo "$as_me:8631: \$? = $ac_status" >&5 9489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8632 (exit $ac_status); } && 9490 (exit $ac_status); } &&
8633 { ac_try='test -s conftest$ac_exeext' 9491 { ac_try='test -s conftest$ac_exeext'
8634 { (eval echo "$as_me:8634: \"$ac_try\"") >&5 9492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8635 (eval $ac_try) 2>&5 9493 (eval $ac_try) 2>&5
8636 ac_status=$? 9494 ac_status=$?
8637 echo "$as_me:8637: \$? = $ac_status" >&5 9495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8638 (exit $ac_status); }; }; then 9496 (exit $ac_status); }; }; then
8639 cat >>confdefs.h <<\EOF 9497 cat >>confdefs.h <<\_ACEOF
8640#define HAVE_OPENSSL 1 9498#define HAVE_OPENSSL 1
8641EOF 9499_ACEOF
8642 9500
8643else 9501else
8644 echo "$as_me: failed program was:" >&5 9502 echo "$as_me: failed program was:" >&5
8645cat conftest.$ac_ext >&5 9503sed 's/^/| /' conftest.$ac_ext >&5
8646 9504
8647 { { echo "$as_me:8647: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&5 9505
9506 { { echo "$as_me:$LINENO: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&5
8648echo "$as_me: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&2;} 9507echo "$as_me: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&2;}
8649 { (exit 1); exit 1; }; } 9508 { (exit 1); exit 1; }; }
8650 9509
9510
8651fi 9511fi
8652rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9512rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8653 9513
9514
8654fi 9515fi
8655rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9516rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8656 9517
8657# Determine OpenSSL header version 9518# Determine OpenSSL header version
8658echo "$as_me:8658: checking OpenSSL header version" >&5 9519echo "$as_me:$LINENO: checking OpenSSL header version" >&5
8659echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6 9520echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6
8660if test "$cross_compiling" = yes; then 9521if test "$cross_compiling" = yes; then
8661 { { echo "$as_me:8661: error: cannot run test program while cross compiling" >&5 9522 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8662echo "$as_me: error: cannot run test program while cross compiling" >&2;} 9523See \`config.log' for more details." >&5
9524echo "$as_me: error: cannot run test program while cross compiling
9525See \`config.log' for more details." >&2;}
8663 { (exit 1); exit 1; }; } 9526 { (exit 1); exit 1; }; }
8664else 9527else
8665 cat >conftest.$ac_ext <<_ACEOF 9528 cat >conftest.$ac_ext <<_ACEOF
8666#line 8666 "configure" 9529#line $LINENO "configure"
8667#include "confdefs.h" 9530/* confdefs.h. */
9531_ACEOF
9532cat confdefs.h >>conftest.$ac_ext
9533cat >>conftest.$ac_ext <<_ACEOF
9534/* end confdefs.h. */
8668 9535
8669#include <stdio.h> 9536#include <stdio.h>
8670#include <string.h> 9537#include <string.h>
@@ -8686,47 +9553,56 @@ int main(void) {
8686 9553
8687_ACEOF 9554_ACEOF
8688rm -f conftest$ac_exeext 9555rm -f conftest$ac_exeext
8689if { (eval echo "$as_me:8689: \"$ac_link\"") >&5 9556if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8690 (eval $ac_link) 2>&5 9557 (eval $ac_link) 2>&5
8691 ac_status=$? 9558 ac_status=$?
8692 echo "$as_me:8692: \$? = $ac_status" >&5 9559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8693 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9560 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8694 { (eval echo "$as_me:8694: \"$ac_try\"") >&5 9561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8695 (eval $ac_try) 2>&5 9562 (eval $ac_try) 2>&5
8696 ac_status=$? 9563 ac_status=$?
8697 echo "$as_me:8697: \$? = $ac_status" >&5 9564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8698 (exit $ac_status); }; }; then 9565 (exit $ac_status); }; }; then
8699 9566
8700 ssl_header_ver=`cat conftest.sslincver` 9567 ssl_header_ver=`cat conftest.sslincver`
8701 echo "$as_me:8701: result: $ssl_header_ver" >&5 9568 echo "$as_me:$LINENO: result: $ssl_header_ver" >&5
8702echo "${ECHO_T}$ssl_header_ver" >&6 9569echo "${ECHO_T}$ssl_header_ver" >&6
8703 9570
8704else 9571else
8705 echo "$as_me: program exited with status $ac_status" >&5 9572 echo "$as_me: program exited with status $ac_status" >&5
8706echo "$as_me: failed program was:" >&5 9573echo "$as_me: failed program was:" >&5
8707cat conftest.$ac_ext >&5 9574sed 's/^/| /' conftest.$ac_ext >&5
8708 9575
8709 echo "$as_me:8709: result: not found" >&5 9576( exit $ac_status )
9577
9578 echo "$as_me:$LINENO: result: not found" >&5
8710echo "${ECHO_T}not found" >&6 9579echo "${ECHO_T}not found" >&6
8711 { { echo "$as_me:8711: error: OpenSSL version header not found." >&5 9580 { { echo "$as_me:$LINENO: error: OpenSSL version header not found." >&5
8712echo "$as_me: error: OpenSSL version header not found." >&2;} 9581echo "$as_me: error: OpenSSL version header not found." >&2;}
8713 { (exit 1); exit 1; }; } 9582 { (exit 1); exit 1; }; }
8714 9583
9584
8715fi 9585fi
8716rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9586rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8717fi 9587fi
8718 9588
8719# Determine OpenSSL library version 9589# Determine OpenSSL library version
8720echo "$as_me:8720: checking OpenSSL library version" >&5 9590echo "$as_me:$LINENO: checking OpenSSL library version" >&5
8721echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6 9591echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6
8722if test "$cross_compiling" = yes; then 9592if test "$cross_compiling" = yes; then
8723 { { echo "$as_me:8723: error: cannot run test program while cross compiling" >&5 9593 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8724echo "$as_me: error: cannot run test program while cross compiling" >&2;} 9594See \`config.log' for more details." >&5
9595echo "$as_me: error: cannot run test program while cross compiling
9596See \`config.log' for more details." >&2;}
8725 { (exit 1); exit 1; }; } 9597 { (exit 1); exit 1; }; }
8726else 9598else
8727 cat >conftest.$ac_ext <<_ACEOF 9599 cat >conftest.$ac_ext <<_ACEOF
8728#line 8728 "configure" 9600#line $LINENO "configure"
8729#include "confdefs.h" 9601/* confdefs.h. */
9602_ACEOF
9603cat confdefs.h >>conftest.$ac_ext
9604cat >>conftest.$ac_ext <<_ACEOF
9605/* end confdefs.h. */
8730 9606
8731#include <stdio.h> 9607#include <stdio.h>
8732#include <string.h> 9608#include <string.h>
@@ -8749,47 +9625,56 @@ int main(void) {
8749 9625
8750_ACEOF 9626_ACEOF
8751rm -f conftest$ac_exeext 9627rm -f conftest$ac_exeext
8752if { (eval echo "$as_me:8752: \"$ac_link\"") >&5 9628if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8753 (eval $ac_link) 2>&5 9629 (eval $ac_link) 2>&5
8754 ac_status=$? 9630 ac_status=$?
8755 echo "$as_me:8755: \$? = $ac_status" >&5 9631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9632 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8757 { (eval echo "$as_me:8757: \"$ac_try\"") >&5 9633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8758 (eval $ac_try) 2>&5 9634 (eval $ac_try) 2>&5
8759 ac_status=$? 9635 ac_status=$?
8760 echo "$as_me:8760: \$? = $ac_status" >&5 9636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8761 (exit $ac_status); }; }; then 9637 (exit $ac_status); }; }; then
8762 9638
8763 ssl_library_ver=`cat conftest.ssllibver` 9639 ssl_library_ver=`cat conftest.ssllibver`
8764 echo "$as_me:8764: result: $ssl_library_ver" >&5 9640 echo "$as_me:$LINENO: result: $ssl_library_ver" >&5
8765echo "${ECHO_T}$ssl_library_ver" >&6 9641echo "${ECHO_T}$ssl_library_ver" >&6
8766 9642
8767else 9643else
8768 echo "$as_me: program exited with status $ac_status" >&5 9644 echo "$as_me: program exited with status $ac_status" >&5
8769echo "$as_me: failed program was:" >&5 9645echo "$as_me: failed program was:" >&5
8770cat conftest.$ac_ext >&5 9646sed 's/^/| /' conftest.$ac_ext >&5
9647
9648( exit $ac_status )
8771 9649
8772 echo "$as_me:8772: result: not found" >&5 9650 echo "$as_me:$LINENO: result: not found" >&5
8773echo "${ECHO_T}not found" >&6 9651echo "${ECHO_T}not found" >&6
8774 { { echo "$as_me:8774: error: OpenSSL library not found." >&5 9652 { { echo "$as_me:$LINENO: error: OpenSSL library not found." >&5
8775echo "$as_me: error: OpenSSL library not found." >&2;} 9653echo "$as_me: error: OpenSSL library not found." >&2;}
8776 { (exit 1); exit 1; }; } 9654 { (exit 1); exit 1; }; }
8777 9655
9656
8778fi 9657fi
8779rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9658rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8780fi 9659fi
8781 9660
8782# Sanity check OpenSSL headers 9661# Sanity check OpenSSL headers
8783echo "$as_me:8783: checking whether OpenSSL's headers match the library" >&5 9662echo "$as_me:$LINENO: checking whether OpenSSL's headers match the library" >&5
8784echo $ECHO_N "checking whether OpenSSL's headers match the library... $ECHO_C" >&6 9663echo $ECHO_N "checking whether OpenSSL's headers match the library... $ECHO_C" >&6
8785if test "$cross_compiling" = yes; then 9664if test "$cross_compiling" = yes; then
8786 { { echo "$as_me:8786: error: cannot run test program while cross compiling" >&5 9665 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8787echo "$as_me: error: cannot run test program while cross compiling" >&2;} 9666See \`config.log' for more details." >&5
9667echo "$as_me: error: cannot run test program while cross compiling
9668See \`config.log' for more details." >&2;}
8788 { (exit 1); exit 1; }; } 9669 { (exit 1); exit 1; }; }
8789else 9670else
8790 cat >conftest.$ac_ext <<_ACEOF 9671 cat >conftest.$ac_ext <<_ACEOF
8791#line 8791 "configure" 9672#line $LINENO "configure"
8792#include "confdefs.h" 9673/* confdefs.h. */
9674_ACEOF
9675cat confdefs.h >>conftest.$ac_ext
9676cat >>conftest.$ac_ext <<_ACEOF
9677/* end confdefs.h. */
8793 9678
8794#include <string.h> 9679#include <string.h>
8795#include <openssl/opensslv.h> 9680#include <openssl/opensslv.h>
@@ -8797,43 +9682,42 @@ int main(void) { exit(SSLeay() == OPENSSL_VERSION_NUMBER ? 0 : 1); }
8797 9682
8798_ACEOF 9683_ACEOF
8799rm -f conftest$ac_exeext 9684rm -f conftest$ac_exeext
8800if { (eval echo "$as_me:8800: \"$ac_link\"") >&5 9685if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8801 (eval $ac_link) 2>&5 9686 (eval $ac_link) 2>&5
8802 ac_status=$? 9687 ac_status=$?
8803 echo "$as_me:8803: \$? = $ac_status" >&5 9688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8804 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9689 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8805 { (eval echo "$as_me:8805: \"$ac_try\"") >&5 9690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8806 (eval $ac_try) 2>&5 9691 (eval $ac_try) 2>&5
8807 ac_status=$? 9692 ac_status=$?
8808 echo "$as_me:8808: \$? = $ac_status" >&5 9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8809 (exit $ac_status); }; }; then 9694 (exit $ac_status); }; }; then
8810 9695
8811 echo "$as_me:8811: result: yes" >&5 9696 echo "$as_me:$LINENO: result: yes" >&5
8812echo "${ECHO_T}yes" >&6 9697echo "${ECHO_T}yes" >&6
8813 9698
8814else 9699else
8815 echo "$as_me: program exited with status $ac_status" >&5 9700 echo "$as_me: program exited with status $ac_status" >&5
8816echo "$as_me: failed program was:" >&5 9701echo "$as_me: failed program was:" >&5
8817cat conftest.$ac_ext >&5 9702sed 's/^/| /' conftest.$ac_ext >&5
8818 9703
8819 echo "$as_me:8819: result: no" >&5 9704( exit $ac_status )
9705
9706 echo "$as_me:$LINENO: result: no" >&5
8820echo "${ECHO_T}no" >&6 9707echo "${ECHO_T}no" >&6
8821 { { echo "$as_me:8821: error: Your OpenSSL headers do not match your library. 9708 { { echo "$as_me:$LINENO: error: Your OpenSSL headers do not match your library" >&5
8822Check config.log for details. 9709echo "$as_me: error: Your OpenSSL headers do not match your library" >&2;}
8823Also see contrib/findssl.sh for help identifying header/library mismatches." >&5
8824echo "$as_me: error: Your OpenSSL headers do not match your library.
8825Check config.log for details.
8826Also see contrib/findssl.sh for help identifying header/library mismatches." >&2;}
8827 { (exit 1); exit 1; }; } 9710 { (exit 1); exit 1; }; }
8828 9711
9712
8829fi 9713fi
8830rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9714rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8831fi 9715fi
8832 9716
8833# Some Linux systems (Slackware) need crypt() from libcrypt, *not* the 9717# Some Linux systems (Slackware) need crypt() from libcrypt, *not* the
8834# version in OpenSSL. Skip this for PAM 9718# version in OpenSSL. Skip this for PAM
8835if test "x$check_for_libcrypt_later" = "x1"; then 9719if test "x$PAM_MSG" = "xno" -a "x$check_for_libcrypt_later" = "x1"; then
8836 echo "$as_me:8836: checking for crypt in -lcrypt" >&5 9720 echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
8837echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6 9721echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
8838if test "${ac_cv_lib_crypt_crypt+set}" = set; then 9722if test "${ac_cv_lib_crypt_crypt+set}" = set; then
8839 echo $ECHO_N "(cached) $ECHO_C" >&6 9723 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -8841,8 +9725,12 @@ else
8841 ac_check_lib_save_LIBS=$LIBS 9725 ac_check_lib_save_LIBS=$LIBS
8842LIBS="-lcrypt $LIBS" 9726LIBS="-lcrypt $LIBS"
8843cat >conftest.$ac_ext <<_ACEOF 9727cat >conftest.$ac_ext <<_ACEOF
8844#line 8844 "configure" 9728#line $LINENO "configure"
8845#include "confdefs.h" 9729/* confdefs.h. */
9730_ACEOF
9731cat confdefs.h >>conftest.$ac_ext
9732cat >>conftest.$ac_ext <<_ACEOF
9733/* end confdefs.h. */
8846 9734
8847/* Override any gcc2 internal prototype to avoid an error. */ 9735/* Override any gcc2 internal prototype to avoid an error. */
8848#ifdef __cplusplus 9736#ifdef __cplusplus
@@ -8860,27 +9748,28 @@ crypt ();
8860} 9748}
8861_ACEOF 9749_ACEOF
8862rm -f conftest.$ac_objext conftest$ac_exeext 9750rm -f conftest.$ac_objext conftest$ac_exeext
8863if { (eval echo "$as_me:8863: \"$ac_link\"") >&5 9751if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8864 (eval $ac_link) 2>&5 9752 (eval $ac_link) 2>&5
8865 ac_status=$? 9753 ac_status=$?
8866 echo "$as_me:8866: \$? = $ac_status" >&5 9754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8867 (exit $ac_status); } && 9755 (exit $ac_status); } &&
8868 { ac_try='test -s conftest$ac_exeext' 9756 { ac_try='test -s conftest$ac_exeext'
8869 { (eval echo "$as_me:8869: \"$ac_try\"") >&5 9757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8870 (eval $ac_try) 2>&5 9758 (eval $ac_try) 2>&5
8871 ac_status=$? 9759 ac_status=$?
8872 echo "$as_me:8872: \$? = $ac_status" >&5 9760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8873 (exit $ac_status); }; }; then 9761 (exit $ac_status); }; }; then
8874 ac_cv_lib_crypt_crypt=yes 9762 ac_cv_lib_crypt_crypt=yes
8875else 9763else
8876 echo "$as_me: failed program was:" >&5 9764 echo "$as_me: failed program was:" >&5
8877cat conftest.$ac_ext >&5 9765sed 's/^/| /' conftest.$ac_ext >&5
9766
8878ac_cv_lib_crypt_crypt=no 9767ac_cv_lib_crypt_crypt=no
8879fi 9768fi
8880rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9769rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8881LIBS=$ac_check_lib_save_LIBS 9770LIBS=$ac_check_lib_save_LIBS
8882fi 9771fi
8883echo "$as_me:8883: result: $ac_cv_lib_crypt_crypt" >&5 9772echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
8884echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6 9773echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
8885if test $ac_cv_lib_crypt_crypt = yes; then 9774if test $ac_cv_lib_crypt_crypt = yes; then
8886 LIBS="$LIBS -lcrypt" 9775 LIBS="$LIBS -lcrypt"
@@ -8888,19 +9777,26 @@ fi
8888 9777
8889fi 9778fi
8890 9779
9780
8891### Configure cryptographic random number support 9781### Configure cryptographic random number support
8892 9782
8893# Check wheter OpenSSL seeds itself 9783# Check wheter OpenSSL seeds itself
8894echo "$as_me:8894: checking whether OpenSSL's PRNG is internally seeded" >&5 9784echo "$as_me:$LINENO: checking whether OpenSSL's PRNG is internally seeded" >&5
8895echo $ECHO_N "checking whether OpenSSL's PRNG is internally seeded... $ECHO_C" >&6 9785echo $ECHO_N "checking whether OpenSSL's PRNG is internally seeded... $ECHO_C" >&6
8896if test "$cross_compiling" = yes; then 9786if test "$cross_compiling" = yes; then
8897 { { echo "$as_me:8897: error: cannot run test program while cross compiling" >&5 9787 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8898echo "$as_me: error: cannot run test program while cross compiling" >&2;} 9788See \`config.log' for more details." >&5
9789echo "$as_me: error: cannot run test program while cross compiling
9790See \`config.log' for more details." >&2;}
8899 { (exit 1); exit 1; }; } 9791 { (exit 1); exit 1; }; }
8900else 9792else
8901 cat >conftest.$ac_ext <<_ACEOF 9793 cat >conftest.$ac_ext <<_ACEOF
8902#line 8902 "configure" 9794#line $LINENO "configure"
8903#include "confdefs.h" 9795/* confdefs.h. */
9796_ACEOF
9797cat confdefs.h >>conftest.$ac_ext
9798cat >>conftest.$ac_ext <<_ACEOF
9799/* end confdefs.h. */
8904 9800
8905#include <string.h> 9801#include <string.h>
8906#include <openssl/rand.h> 9802#include <openssl/rand.h>
@@ -8908,36 +9804,40 @@ int main(void) { exit(RAND_status() == 1 ? 0 : 1); }
8908 9804
8909_ACEOF 9805_ACEOF
8910rm -f conftest$ac_exeext 9806rm -f conftest$ac_exeext
8911if { (eval echo "$as_me:8911: \"$ac_link\"") >&5 9807if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8912 (eval $ac_link) 2>&5 9808 (eval $ac_link) 2>&5
8913 ac_status=$? 9809 ac_status=$?
8914 echo "$as_me:8914: \$? = $ac_status" >&5 9810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9811 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8916 { (eval echo "$as_me:8916: \"$ac_try\"") >&5 9812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8917 (eval $ac_try) 2>&5 9813 (eval $ac_try) 2>&5
8918 ac_status=$? 9814 ac_status=$?
8919 echo "$as_me:8919: \$? = $ac_status" >&5 9815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8920 (exit $ac_status); }; }; then 9816 (exit $ac_status); }; }; then
8921 9817
8922 OPENSSL_SEEDS_ITSELF=yes 9818 OPENSSL_SEEDS_ITSELF=yes
8923 echo "$as_me:8923: result: yes" >&5 9819 echo "$as_me:$LINENO: result: yes" >&5
8924echo "${ECHO_T}yes" >&6 9820echo "${ECHO_T}yes" >&6
8925 9821
8926else 9822else
8927 echo "$as_me: program exited with status $ac_status" >&5 9823 echo "$as_me: program exited with status $ac_status" >&5
8928echo "$as_me: failed program was:" >&5 9824echo "$as_me: failed program was:" >&5
8929cat conftest.$ac_ext >&5 9825sed 's/^/| /' conftest.$ac_ext >&5
8930 9826
8931 echo "$as_me:8931: result: no" >&5 9827( exit $ac_status )
9828
9829 echo "$as_me:$LINENO: result: no" >&5
8932echo "${ECHO_T}no" >&6 9830echo "${ECHO_T}no" >&6
8933 # Default to use of the rand helper if OpenSSL doesn't 9831 # Default to use of the rand helper if OpenSSL doesn't
8934 # seed itself 9832 # seed itself
8935 USE_RAND_HELPER=yes 9833 USE_RAND_HELPER=yes
8936 9834
9835
8937fi 9836fi
8938rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9837rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8939fi 9838fi
8940 9839
9840
8941# Do we want to force the use of the rand helper? 9841# Do we want to force the use of the rand helper?
8942 9842
8943# Check whether --with-rand-helper or --without-rand-helper was given. 9843# Check whether --with-rand-helper or --without-rand-helper was given.
@@ -8948,7 +9848,7 @@ if test "${with_rand_helper+set}" = set; then
8948 # Force use of OpenSSL's internal RNG, even if 9848 # Force use of OpenSSL's internal RNG, even if
8949 # the previous test showed it to be unseeded. 9849 # the previous test showed it to be unseeded.
8950 if test -z "$OPENSSL_SEEDS_ITSELF" ; then 9850 if test -z "$OPENSSL_SEEDS_ITSELF" ; then
8951 { echo "$as_me:8951: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&5 9851 { echo "$as_me:$LINENO: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&5
8952echo "$as_me: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&2;} 9852echo "$as_me: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&2;}
8953 OPENSSL_SEEDS_ITSELF=yes 9853 OPENSSL_SEEDS_ITSELF=yes
8954 USE_RAND_HELPER="" 9854 USE_RAND_HELPER=""
@@ -8962,9 +9862,9 @@ fi;
8962# Which randomness source do we use? 9862# Which randomness source do we use?
8963if test ! -z "$OPENSSL_SEEDS_ITSELF" -a -z "$USE_RAND_HELPER" ; then 9863if test ! -z "$OPENSSL_SEEDS_ITSELF" -a -z "$USE_RAND_HELPER" ; then
8964 # OpenSSL only 9864 # OpenSSL only
8965 cat >>confdefs.h <<\EOF 9865 cat >>confdefs.h <<\_ACEOF
8966#define OPENSSL_PRNG_ONLY 1 9866#define OPENSSL_PRNG_ONLY 1
8967EOF 9867_ACEOF
8968 9868
8969 RAND_MSG="OpenSSL internal ONLY" 9869 RAND_MSG="OpenSSL internal ONLY"
8970 INSTALL_SSH_RAND_HELPER="" 9870 INSTALL_SSH_RAND_HELPER=""
@@ -8974,6 +9874,7 @@ elif test ! -z "$USE_RAND_HELPER" ; then
8974 INSTALL_SSH_RAND_HELPER="yes" 9874 INSTALL_SSH_RAND_HELPER="yes"
8975fi 9875fi
8976 9876
9877
8977### Configuration of ssh-rand-helper 9878### Configuration of ssh-rand-helper
8978 9879
8979# PRNGD TCP socket 9880# PRNGD TCP socket
@@ -8989,19 +9890,20 @@ if test "${with_prngd_port+set}" = set; then
8989 [0-9]*) 9890 [0-9]*)
8990 ;; 9891 ;;
8991 *) 9892 *)
8992 { { echo "$as_me:8992: error: You must specify a numeric port number for --with-prngd-port" >&5 9893 { { echo "$as_me:$LINENO: error: You must specify a numeric port number for --with-prngd-port" >&5
8993echo "$as_me: error: You must specify a numeric port number for --with-prngd-port" >&2;} 9894echo "$as_me: error: You must specify a numeric port number for --with-prngd-port" >&2;}
8994 { (exit 1); exit 1; }; } 9895 { (exit 1); exit 1; }; }
8995 ;; 9896 ;;
8996 esac 9897 esac
8997 if test ! -z "$withval" ; then 9898 if test ! -z "$withval" ; then
8998 PRNGD_PORT="$withval" 9899 PRNGD_PORT="$withval"
8999 cat >>confdefs.h <<EOF 9900 cat >>confdefs.h <<_ACEOF
9000#define PRNGD_PORT $PRNGD_PORT 9901#define PRNGD_PORT $PRNGD_PORT
9001EOF 9902_ACEOF
9002 9903
9003 fi 9904 fi
9004 9905
9906
9005fi; 9907fi;
9006 9908
9007# PRNGD Unix domain socket 9909# PRNGD Unix domain socket
@@ -9020,7 +9922,7 @@ if test "${with_prngd_socket+set}" = set; then
9020 /*) 9922 /*)
9021 ;; 9923 ;;
9022 *) 9924 *)
9023 { { echo "$as_me:9023: error: You must specify an absolute path to the entropy socket" >&5 9925 { { echo "$as_me:$LINENO: error: You must specify an absolute path to the entropy socket" >&5
9024echo "$as_me: error: You must specify an absolute path to the entropy socket" >&2;} 9926echo "$as_me: error: You must specify an absolute path to the entropy socket" >&2;}
9025 { (exit 1); exit 1; }; } 9927 { (exit 1); exit 1; }; }
9026 ;; 9928 ;;
@@ -9028,18 +9930,18 @@ echo "$as_me: error: You must specify an absolute path to the entropy socket" >&
9028 9930
9029 if test ! -z "$withval" ; then 9931 if test ! -z "$withval" ; then
9030 if test ! -z "$PRNGD_PORT" ; then 9932 if test ! -z "$PRNGD_PORT" ; then
9031 { { echo "$as_me:9031: error: You may not specify both a PRNGD/EGD port and socket" >&5 9933 { { echo "$as_me:$LINENO: error: You may not specify both a PRNGD/EGD port and socket" >&5
9032echo "$as_me: error: You may not specify both a PRNGD/EGD port and socket" >&2;} 9934echo "$as_me: error: You may not specify both a PRNGD/EGD port and socket" >&2;}
9033 { (exit 1); exit 1; }; } 9935 { (exit 1); exit 1; }; }
9034 fi 9936 fi
9035 if test ! -r "$withval" ; then 9937 if test ! -r "$withval" ; then
9036 { echo "$as_me:9036: WARNING: Entropy socket is not readable" >&5 9938 { echo "$as_me:$LINENO: WARNING: Entropy socket is not readable" >&5
9037echo "$as_me: WARNING: Entropy socket is not readable" >&2;} 9939echo "$as_me: WARNING: Entropy socket is not readable" >&2;}
9038 fi 9940 fi
9039 PRNGD_SOCKET="$withval" 9941 PRNGD_SOCKET="$withval"
9040 cat >>confdefs.h <<EOF 9942 cat >>confdefs.h <<_ACEOF
9041#define PRNGD_SOCKET "$PRNGD_SOCKET" 9943#define PRNGD_SOCKET "$PRNGD_SOCKET"
9042EOF 9944_ACEOF
9043 9945
9044 fi 9946 fi
9045 9947
@@ -9047,28 +9949,29 @@ else
9047 9949
9048 # Check for existing socket only if we don't have a random device already 9950 # Check for existing socket only if we don't have a random device already
9049 if test "$USE_RAND_HELPER" = yes ; then 9951 if test "$USE_RAND_HELPER" = yes ; then
9050 echo "$as_me:9050: checking for PRNGD/EGD socket" >&5 9952 echo "$as_me:$LINENO: checking for PRNGD/EGD socket" >&5
9051echo $ECHO_N "checking for PRNGD/EGD socket... $ECHO_C" >&6 9953echo $ECHO_N "checking for PRNGD/EGD socket... $ECHO_C" >&6
9052 # Insert other locations here 9954 # Insert other locations here
9053 for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do 9955 for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do
9054 if test -r $sock && $TEST_MINUS_S_SH -c "test -S $sock -o -p $sock" ; then 9956 if test -r $sock && $TEST_MINUS_S_SH -c "test -S $sock -o -p $sock" ; then
9055 PRNGD_SOCKET="$sock" 9957 PRNGD_SOCKET="$sock"
9056 cat >>confdefs.h <<EOF 9958 cat >>confdefs.h <<_ACEOF
9057#define PRNGD_SOCKET "$PRNGD_SOCKET" 9959#define PRNGD_SOCKET "$PRNGD_SOCKET"
9058EOF 9960_ACEOF
9059 9961
9060 break; 9962 break;
9061 fi 9963 fi
9062 done 9964 done
9063 if test ! -z "$PRNGD_SOCKET" ; then 9965 if test ! -z "$PRNGD_SOCKET" ; then
9064 echo "$as_me:9064: result: $PRNGD_SOCKET" >&5 9966 echo "$as_me:$LINENO: result: $PRNGD_SOCKET" >&5
9065echo "${ECHO_T}$PRNGD_SOCKET" >&6 9967echo "${ECHO_T}$PRNGD_SOCKET" >&6
9066 else 9968 else
9067 echo "$as_me:9067: result: not found" >&5 9969 echo "$as_me:$LINENO: result: not found" >&5
9068echo "${ECHO_T}not found" >&6 9970echo "${ECHO_T}not found" >&6
9069 fi 9971 fi
9070 fi 9972 fi
9071 9973
9974
9072fi; 9975fi;
9073 9976
9074# Change default command timeout for hashing entropy source 9977# Change default command timeout for hashing entropy source
@@ -9082,10 +9985,12 @@ if test "${with_entropy_timeout+set}" = set; then
9082 entropy_timeout=$withval 9985 entropy_timeout=$withval
9083 fi 9986 fi
9084 9987
9988
9085fi; 9989fi;
9086cat >>confdefs.h <<EOF 9990cat >>confdefs.h <<_ACEOF
9087#define ENTROPY_TIMEOUT_MSEC $entropy_timeout 9991#define ENTROPY_TIMEOUT_MSEC $entropy_timeout
9088EOF 9992_ACEOF
9993
9089 9994
9090SSH_PRIVSEP_USER=sshd 9995SSH_PRIVSEP_USER=sshd
9091 9996
@@ -9097,10 +10002,13 @@ if test "${with_privsep_user+set}" = set; then
9097 SSH_PRIVSEP_USER=$withval 10002 SSH_PRIVSEP_USER=$withval
9098 fi 10003 fi
9099 10004
10005
9100fi; 10006fi;
9101cat >>confdefs.h <<EOF 10007cat >>confdefs.h <<_ACEOF
9102#define SSH_PRIVSEP_USER "$SSH_PRIVSEP_USER" 10008#define SSH_PRIVSEP_USER "$SSH_PRIVSEP_USER"
9103EOF 10009_ACEOF
10010
10011
9104 10012
9105# We do this little dance with the search path to insure 10013# We do this little dance with the search path to insure
9106# that programs that we select for use by installed programs 10014# that programs that we select for use by installed programs
@@ -9120,7 +10028,7 @@ PATH=$PATH:/etc:$OPATH
9120 10028
9121 # Extract the first word of "ls", so it can be a program name with args. 10029 # Extract the first word of "ls", so it can be a program name with args.
9122set dummy ls; ac_word=$2 10030set dummy ls; ac_word=$2
9123echo "$as_me:9123: checking for $ac_word" >&5 10031echo "$as_me:$LINENO: checking for $ac_word" >&5
9124echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 10032echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9125if test "${ac_cv_path_PROG_LS+set}" = set; then 10033if test "${ac_cv_path_PROG_LS+set}" = set; then
9126 echo $ECHO_N "(cached) $ECHO_C" >&6 10034 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9130,16 +10038,18 @@ else
9130 ac_cv_path_PROG_LS="$PROG_LS" # Let the user override the test with a path. 10038 ac_cv_path_PROG_LS="$PROG_LS" # Let the user override the test with a path.
9131 ;; 10039 ;;
9132 *) 10040 *)
9133 ac_save_IFS=$IFS; IFS=$ac_path_separator 10041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9134ac_dummy="$PATH" 10042for as_dir in $PATH
9135for ac_dir in $ac_dummy; do 10043do
9136 IFS=$ac_save_IFS 10044 IFS=$as_save_IFS
9137 test -z "$ac_dir" && ac_dir=. 10045 test -z "$as_dir" && as_dir=.
9138 if $as_executable_p "$ac_dir/$ac_word"; then 10046 for ac_exec_ext in '' $ac_executable_extensions; do
9139 ac_cv_path_PROG_LS="$ac_dir/$ac_word" 10047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9140 echo "$as_me:9140: found $ac_dir/$ac_word" >&5 10048 ac_cv_path_PROG_LS="$as_dir/$ac_word$ac_exec_ext"
9141 break 10049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9142fi 10050 break 2
10051 fi
10052done
9143done 10053done
9144 10054
9145 ;; 10055 ;;
@@ -9148,10 +10058,10 @@ fi
9148PROG_LS=$ac_cv_path_PROG_LS 10058PROG_LS=$ac_cv_path_PROG_LS
9149 10059
9150if test -n "$PROG_LS"; then 10060if test -n "$PROG_LS"; then
9151 echo "$as_me:9151: result: $PROG_LS" >&5 10061 echo "$as_me:$LINENO: result: $PROG_LS" >&5
9152echo "${ECHO_T}$PROG_LS" >&6 10062echo "${ECHO_T}$PROG_LS" >&6
9153else 10063else
9154 echo "$as_me:9154: result: no" >&5 10064 echo "$as_me:$LINENO: result: no" >&5
9155echo "${ECHO_T}no" >&6 10065echo "${ECHO_T}no" >&6
9156fi 10066fi
9157 10067
@@ -9159,9 +10069,11 @@ fi
9159 PROG_LS="undef" 10069 PROG_LS="undef"
9160 fi 10070 fi
9161 10071
10072
10073
9162 # Extract the first word of "netstat", so it can be a program name with args. 10074 # Extract the first word of "netstat", so it can be a program name with args.
9163set dummy netstat; ac_word=$2 10075set dummy netstat; ac_word=$2
9164echo "$as_me:9164: checking for $ac_word" >&5 10076echo "$as_me:$LINENO: checking for $ac_word" >&5
9165echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 10077echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9166if test "${ac_cv_path_PROG_NETSTAT+set}" = set; then 10078if test "${ac_cv_path_PROG_NETSTAT+set}" = set; then
9167 echo $ECHO_N "(cached) $ECHO_C" >&6 10079 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9171,16 +10083,18 @@ else
9171 ac_cv_path_PROG_NETSTAT="$PROG_NETSTAT" # Let the user override the test with a path. 10083 ac_cv_path_PROG_NETSTAT="$PROG_NETSTAT" # Let the user override the test with a path.
9172 ;; 10084 ;;
9173 *) 10085 *)
9174 ac_save_IFS=$IFS; IFS=$ac_path_separator 10086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9175ac_dummy="$PATH" 10087for as_dir in $PATH
9176for ac_dir in $ac_dummy; do 10088do
9177 IFS=$ac_save_IFS 10089 IFS=$as_save_IFS
9178 test -z "$ac_dir" && ac_dir=. 10090 test -z "$as_dir" && as_dir=.
9179 if $as_executable_p "$ac_dir/$ac_word"; then 10091 for ac_exec_ext in '' $ac_executable_extensions; do
9180 ac_cv_path_PROG_NETSTAT="$ac_dir/$ac_word" 10092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9181 echo "$as_me:9181: found $ac_dir/$ac_word" >&5 10093 ac_cv_path_PROG_NETSTAT="$as_dir/$ac_word$ac_exec_ext"
9182 break 10094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9183fi 10095 break 2
10096 fi
10097done
9184done 10098done
9185 10099
9186 ;; 10100 ;;
@@ -9189,10 +10103,10 @@ fi
9189PROG_NETSTAT=$ac_cv_path_PROG_NETSTAT 10103PROG_NETSTAT=$ac_cv_path_PROG_NETSTAT
9190 10104
9191if test -n "$PROG_NETSTAT"; then 10105if test -n "$PROG_NETSTAT"; then
9192 echo "$as_me:9192: result: $PROG_NETSTAT" >&5 10106 echo "$as_me:$LINENO: result: $PROG_NETSTAT" >&5
9193echo "${ECHO_T}$PROG_NETSTAT" >&6 10107echo "${ECHO_T}$PROG_NETSTAT" >&6
9194else 10108else
9195 echo "$as_me:9195: result: no" >&5 10109 echo "$as_me:$LINENO: result: no" >&5
9196echo "${ECHO_T}no" >&6 10110echo "${ECHO_T}no" >&6
9197fi 10111fi
9198 10112
@@ -9200,9 +10114,11 @@ fi
9200 PROG_NETSTAT="undef" 10114 PROG_NETSTAT="undef"
9201 fi 10115 fi
9202 10116
10117
10118
9203 # Extract the first word of "arp", so it can be a program name with args. 10119 # Extract the first word of "arp", so it can be a program name with args.
9204set dummy arp; ac_word=$2 10120set dummy arp; ac_word=$2
9205echo "$as_me:9205: checking for $ac_word" >&5 10121echo "$as_me:$LINENO: checking for $ac_word" >&5
9206echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 10122echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9207if test "${ac_cv_path_PROG_ARP+set}" = set; then 10123if test "${ac_cv_path_PROG_ARP+set}" = set; then
9208 echo $ECHO_N "(cached) $ECHO_C" >&6 10124 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9212,16 +10128,18 @@ else
9212 ac_cv_path_PROG_ARP="$PROG_ARP" # Let the user override the test with a path. 10128 ac_cv_path_PROG_ARP="$PROG_ARP" # Let the user override the test with a path.
9213 ;; 10129 ;;
9214 *) 10130 *)
9215 ac_save_IFS=$IFS; IFS=$ac_path_separator 10131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9216ac_dummy="$PATH" 10132for as_dir in $PATH
9217for ac_dir in $ac_dummy; do 10133do
9218 IFS=$ac_save_IFS 10134 IFS=$as_save_IFS
9219 test -z "$ac_dir" && ac_dir=. 10135 test -z "$as_dir" && as_dir=.
9220 if $as_executable_p "$ac_dir/$ac_word"; then 10136 for ac_exec_ext in '' $ac_executable_extensions; do
9221 ac_cv_path_PROG_ARP="$ac_dir/$ac_word" 10137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9222 echo "$as_me:9222: found $ac_dir/$ac_word" >&5 10138 ac_cv_path_PROG_ARP="$as_dir/$ac_word$ac_exec_ext"
9223 break 10139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9224fi 10140 break 2
10141 fi
10142done
9225done 10143done
9226 10144
9227 ;; 10145 ;;
@@ -9230,10 +10148,10 @@ fi
9230PROG_ARP=$ac_cv_path_PROG_ARP 10148PROG_ARP=$ac_cv_path_PROG_ARP
9231 10149
9232if test -n "$PROG_ARP"; then 10150if test -n "$PROG_ARP"; then
9233 echo "$as_me:9233: result: $PROG_ARP" >&5 10151 echo "$as_me:$LINENO: result: $PROG_ARP" >&5
9234echo "${ECHO_T}$PROG_ARP" >&6 10152echo "${ECHO_T}$PROG_ARP" >&6
9235else 10153else
9236 echo "$as_me:9236: result: no" >&5 10154 echo "$as_me:$LINENO: result: no" >&5
9237echo "${ECHO_T}no" >&6 10155echo "${ECHO_T}no" >&6
9238fi 10156fi
9239 10157
@@ -9241,9 +10159,11 @@ fi
9241 PROG_ARP="undef" 10159 PROG_ARP="undef"
9242 fi 10160 fi
9243 10161
10162
10163
9244 # Extract the first word of "ifconfig", so it can be a program name with args. 10164 # Extract the first word of "ifconfig", so it can be a program name with args.
9245set dummy ifconfig; ac_word=$2 10165set dummy ifconfig; ac_word=$2
9246echo "$as_me:9246: checking for $ac_word" >&5 10166echo "$as_me:$LINENO: checking for $ac_word" >&5
9247echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 10167echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9248if test "${ac_cv_path_PROG_IFCONFIG+set}" = set; then 10168if test "${ac_cv_path_PROG_IFCONFIG+set}" = set; then
9249 echo $ECHO_N "(cached) $ECHO_C" >&6 10169 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9253,16 +10173,18 @@ else
9253 ac_cv_path_PROG_IFCONFIG="$PROG_IFCONFIG" # Let the user override the test with a path. 10173 ac_cv_path_PROG_IFCONFIG="$PROG_IFCONFIG" # Let the user override the test with a path.
9254 ;; 10174 ;;
9255 *) 10175 *)
9256 ac_save_IFS=$IFS; IFS=$ac_path_separator 10176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9257ac_dummy="$PATH" 10177for as_dir in $PATH
9258for ac_dir in $ac_dummy; do 10178do
9259 IFS=$ac_save_IFS 10179 IFS=$as_save_IFS
9260 test -z "$ac_dir" && ac_dir=. 10180 test -z "$as_dir" && as_dir=.
9261 if $as_executable_p "$ac_dir/$ac_word"; then 10181 for ac_exec_ext in '' $ac_executable_extensions; do
9262 ac_cv_path_PROG_IFCONFIG="$ac_dir/$ac_word" 10182 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9263 echo "$as_me:9263: found $ac_dir/$ac_word" >&5 10183 ac_cv_path_PROG_IFCONFIG="$as_dir/$ac_word$ac_exec_ext"
9264 break 10184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9265fi 10185 break 2
10186 fi
10187done
9266done 10188done
9267 10189
9268 ;; 10190 ;;
@@ -9271,10 +10193,10 @@ fi
9271PROG_IFCONFIG=$ac_cv_path_PROG_IFCONFIG 10193PROG_IFCONFIG=$ac_cv_path_PROG_IFCONFIG
9272 10194
9273if test -n "$PROG_IFCONFIG"; then 10195if test -n "$PROG_IFCONFIG"; then
9274 echo "$as_me:9274: result: $PROG_IFCONFIG" >&5 10196 echo "$as_me:$LINENO: result: $PROG_IFCONFIG" >&5
9275echo "${ECHO_T}$PROG_IFCONFIG" >&6 10197echo "${ECHO_T}$PROG_IFCONFIG" >&6
9276else 10198else
9277 echo "$as_me:9277: result: no" >&5 10199 echo "$as_me:$LINENO: result: no" >&5
9278echo "${ECHO_T}no" >&6 10200echo "${ECHO_T}no" >&6
9279fi 10201fi
9280 10202
@@ -9282,9 +10204,11 @@ fi
9282 PROG_IFCONFIG="undef" 10204 PROG_IFCONFIG="undef"
9283 fi 10205 fi
9284 10206
10207
10208
9285 # Extract the first word of "jstat", so it can be a program name with args. 10209 # Extract the first word of "jstat", so it can be a program name with args.
9286set dummy jstat; ac_word=$2 10210set dummy jstat; ac_word=$2
9287echo "$as_me:9287: checking for $ac_word" >&5 10211echo "$as_me:$LINENO: checking for $ac_word" >&5
9288echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 10212echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9289if test "${ac_cv_path_PROG_JSTAT+set}" = set; then 10213if test "${ac_cv_path_PROG_JSTAT+set}" = set; then
9290 echo $ECHO_N "(cached) $ECHO_C" >&6 10214 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9294,16 +10218,18 @@ else
9294 ac_cv_path_PROG_JSTAT="$PROG_JSTAT" # Let the user override the test with a path. 10218 ac_cv_path_PROG_JSTAT="$PROG_JSTAT" # Let the user override the test with a path.
9295 ;; 10219 ;;
9296 *) 10220 *)
9297 ac_save_IFS=$IFS; IFS=$ac_path_separator 10221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9298ac_dummy="$PATH" 10222for as_dir in $PATH
9299for ac_dir in $ac_dummy; do 10223do
9300 IFS=$ac_save_IFS 10224 IFS=$as_save_IFS
9301 test -z "$ac_dir" && ac_dir=. 10225 test -z "$as_dir" && as_dir=.
9302 if $as_executable_p "$ac_dir/$ac_word"; then 10226 for ac_exec_ext in '' $ac_executable_extensions; do
9303 ac_cv_path_PROG_JSTAT="$ac_dir/$ac_word" 10227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9304 echo "$as_me:9304: found $ac_dir/$ac_word" >&5 10228 ac_cv_path_PROG_JSTAT="$as_dir/$ac_word$ac_exec_ext"
9305 break 10229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9306fi 10230 break 2
10231 fi
10232done
9307done 10233done
9308 10234
9309 ;; 10235 ;;
@@ -9312,10 +10238,10 @@ fi
9312PROG_JSTAT=$ac_cv_path_PROG_JSTAT 10238PROG_JSTAT=$ac_cv_path_PROG_JSTAT
9313 10239
9314if test -n "$PROG_JSTAT"; then 10240if test -n "$PROG_JSTAT"; then
9315 echo "$as_me:9315: result: $PROG_JSTAT" >&5 10241 echo "$as_me:$LINENO: result: $PROG_JSTAT" >&5
9316echo "${ECHO_T}$PROG_JSTAT" >&6 10242echo "${ECHO_T}$PROG_JSTAT" >&6
9317else 10243else
9318 echo "$as_me:9318: result: no" >&5 10244 echo "$as_me:$LINENO: result: no" >&5
9319echo "${ECHO_T}no" >&6 10245echo "${ECHO_T}no" >&6
9320fi 10246fi
9321 10247
@@ -9323,9 +10249,11 @@ fi
9323 PROG_JSTAT="undef" 10249 PROG_JSTAT="undef"
9324 fi 10250 fi
9325 10251
10252
10253
9326 # Extract the first word of "ps", so it can be a program name with args. 10254 # Extract the first word of "ps", so it can be a program name with args.
9327set dummy ps; ac_word=$2 10255set dummy ps; ac_word=$2
9328echo "$as_me:9328: checking for $ac_word" >&5 10256echo "$as_me:$LINENO: checking for $ac_word" >&5
9329echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 10257echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9330if test "${ac_cv_path_PROG_PS+set}" = set; then 10258if test "${ac_cv_path_PROG_PS+set}" = set; then
9331 echo $ECHO_N "(cached) $ECHO_C" >&6 10259 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9335,16 +10263,18 @@ else
9335 ac_cv_path_PROG_PS="$PROG_PS" # Let the user override the test with a path. 10263 ac_cv_path_PROG_PS="$PROG_PS" # Let the user override the test with a path.
9336 ;; 10264 ;;
9337 *) 10265 *)
9338 ac_save_IFS=$IFS; IFS=$ac_path_separator 10266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9339ac_dummy="$PATH" 10267for as_dir in $PATH
9340for ac_dir in $ac_dummy; do 10268do
9341 IFS=$ac_save_IFS 10269 IFS=$as_save_IFS
9342 test -z "$ac_dir" && ac_dir=. 10270 test -z "$as_dir" && as_dir=.
9343 if $as_executable_p "$ac_dir/$ac_word"; then 10271 for ac_exec_ext in '' $ac_executable_extensions; do
9344 ac_cv_path_PROG_PS="$ac_dir/$ac_word" 10272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9345 echo "$as_me:9345: found $ac_dir/$ac_word" >&5 10273 ac_cv_path_PROG_PS="$as_dir/$ac_word$ac_exec_ext"
9346 break 10274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9347fi 10275 break 2
10276 fi
10277done
9348done 10278done
9349 10279
9350 ;; 10280 ;;
@@ -9353,10 +10283,10 @@ fi
9353PROG_PS=$ac_cv_path_PROG_PS 10283PROG_PS=$ac_cv_path_PROG_PS
9354 10284
9355if test -n "$PROG_PS"; then 10285if test -n "$PROG_PS"; then
9356 echo "$as_me:9356: result: $PROG_PS" >&5 10286 echo "$as_me:$LINENO: result: $PROG_PS" >&5
9357echo "${ECHO_T}$PROG_PS" >&6 10287echo "${ECHO_T}$PROG_PS" >&6
9358else 10288else
9359 echo "$as_me:9359: result: no" >&5 10289 echo "$as_me:$LINENO: result: no" >&5
9360echo "${ECHO_T}no" >&6 10290echo "${ECHO_T}no" >&6
9361fi 10291fi
9362 10292
@@ -9364,9 +10294,11 @@ fi
9364 PROG_PS="undef" 10294 PROG_PS="undef"
9365 fi 10295 fi
9366 10296
10297
10298
9367 # Extract the first word of "sar", so it can be a program name with args. 10299 # Extract the first word of "sar", so it can be a program name with args.
9368set dummy sar; ac_word=$2 10300set dummy sar; ac_word=$2
9369echo "$as_me:9369: checking for $ac_word" >&5 10301echo "$as_me:$LINENO: checking for $ac_word" >&5
9370echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 10302echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9371if test "${ac_cv_path_PROG_SAR+set}" = set; then 10303if test "${ac_cv_path_PROG_SAR+set}" = set; then
9372 echo $ECHO_N "(cached) $ECHO_C" >&6 10304 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9376,16 +10308,18 @@ else
9376 ac_cv_path_PROG_SAR="$PROG_SAR" # Let the user override the test with a path. 10308 ac_cv_path_PROG_SAR="$PROG_SAR" # Let the user override the test with a path.
9377 ;; 10309 ;;
9378 *) 10310 *)
9379 ac_save_IFS=$IFS; IFS=$ac_path_separator 10311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9380ac_dummy="$PATH" 10312for as_dir in $PATH
9381for ac_dir in $ac_dummy; do 10313do
9382 IFS=$ac_save_IFS 10314 IFS=$as_save_IFS
9383 test -z "$ac_dir" && ac_dir=. 10315 test -z "$as_dir" && as_dir=.
9384 if $as_executable_p "$ac_dir/$ac_word"; then 10316 for ac_exec_ext in '' $ac_executable_extensions; do
9385 ac_cv_path_PROG_SAR="$ac_dir/$ac_word" 10317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9386 echo "$as_me:9386: found $ac_dir/$ac_word" >&5 10318 ac_cv_path_PROG_SAR="$as_dir/$ac_word$ac_exec_ext"
9387 break 10319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9388fi 10320 break 2
10321 fi
10322done
9389done 10323done
9390 10324
9391 ;; 10325 ;;
@@ -9394,10 +10328,10 @@ fi
9394PROG_SAR=$ac_cv_path_PROG_SAR 10328PROG_SAR=$ac_cv_path_PROG_SAR
9395 10329
9396if test -n "$PROG_SAR"; then 10330if test -n "$PROG_SAR"; then
9397 echo "$as_me:9397: result: $PROG_SAR" >&5 10331 echo "$as_me:$LINENO: result: $PROG_SAR" >&5
9398echo "${ECHO_T}$PROG_SAR" >&6 10332echo "${ECHO_T}$PROG_SAR" >&6
9399else 10333else
9400 echo "$as_me:9400: result: no" >&5 10334 echo "$as_me:$LINENO: result: no" >&5
9401echo "${ECHO_T}no" >&6 10335echo "${ECHO_T}no" >&6
9402fi 10336fi
9403 10337
@@ -9405,9 +10339,11 @@ fi
9405 PROG_SAR="undef" 10339 PROG_SAR="undef"
9406 fi 10340 fi
9407 10341
10342
10343
9408 # Extract the first word of "w", so it can be a program name with args. 10344 # Extract the first word of "w", so it can be a program name with args.
9409set dummy w; ac_word=$2 10345set dummy w; ac_word=$2
9410echo "$as_me:9410: checking for $ac_word" >&5 10346echo "$as_me:$LINENO: checking for $ac_word" >&5
9411echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 10347echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9412if test "${ac_cv_path_PROG_W+set}" = set; then 10348if test "${ac_cv_path_PROG_W+set}" = set; then
9413 echo $ECHO_N "(cached) $ECHO_C" >&6 10349 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9417,16 +10353,18 @@ else
9417 ac_cv_path_PROG_W="$PROG_W" # Let the user override the test with a path. 10353 ac_cv_path_PROG_W="$PROG_W" # Let the user override the test with a path.
9418 ;; 10354 ;;
9419 *) 10355 *)
9420 ac_save_IFS=$IFS; IFS=$ac_path_separator 10356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9421ac_dummy="$PATH" 10357for as_dir in $PATH
9422for ac_dir in $ac_dummy; do 10358do
9423 IFS=$ac_save_IFS 10359 IFS=$as_save_IFS
9424 test -z "$ac_dir" && ac_dir=. 10360 test -z "$as_dir" && as_dir=.
9425 if $as_executable_p "$ac_dir/$ac_word"; then 10361 for ac_exec_ext in '' $ac_executable_extensions; do
9426 ac_cv_path_PROG_W="$ac_dir/$ac_word" 10362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9427 echo "$as_me:9427: found $ac_dir/$ac_word" >&5 10363 ac_cv_path_PROG_W="$as_dir/$ac_word$ac_exec_ext"
9428 break 10364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9429fi 10365 break 2
10366 fi
10367done
9430done 10368done
9431 10369
9432 ;; 10370 ;;
@@ -9435,10 +10373,10 @@ fi
9435PROG_W=$ac_cv_path_PROG_W 10373PROG_W=$ac_cv_path_PROG_W
9436 10374
9437if test -n "$PROG_W"; then 10375if test -n "$PROG_W"; then
9438 echo "$as_me:9438: result: $PROG_W" >&5 10376 echo "$as_me:$LINENO: result: $PROG_W" >&5
9439echo "${ECHO_T}$PROG_W" >&6 10377echo "${ECHO_T}$PROG_W" >&6
9440else 10378else
9441 echo "$as_me:9441: result: no" >&5 10379 echo "$as_me:$LINENO: result: no" >&5
9442echo "${ECHO_T}no" >&6 10380echo "${ECHO_T}no" >&6
9443fi 10381fi
9444 10382
@@ -9446,9 +10384,11 @@ fi
9446 PROG_W="undef" 10384 PROG_W="undef"
9447 fi 10385 fi
9448 10386
10387
10388
9449 # Extract the first word of "who", so it can be a program name with args. 10389 # Extract the first word of "who", so it can be a program name with args.
9450set dummy who; ac_word=$2 10390set dummy who; ac_word=$2
9451echo "$as_me:9451: checking for $ac_word" >&5 10391echo "$as_me:$LINENO: checking for $ac_word" >&5
9452echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 10392echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9453if test "${ac_cv_path_PROG_WHO+set}" = set; then 10393if test "${ac_cv_path_PROG_WHO+set}" = set; then
9454 echo $ECHO_N "(cached) $ECHO_C" >&6 10394 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9458,16 +10398,18 @@ else
9458 ac_cv_path_PROG_WHO="$PROG_WHO" # Let the user override the test with a path. 10398 ac_cv_path_PROG_WHO="$PROG_WHO" # Let the user override the test with a path.
9459 ;; 10399 ;;
9460 *) 10400 *)
9461 ac_save_IFS=$IFS; IFS=$ac_path_separator 10401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9462ac_dummy="$PATH" 10402for as_dir in $PATH
9463for ac_dir in $ac_dummy; do 10403do
9464 IFS=$ac_save_IFS 10404 IFS=$as_save_IFS
9465 test -z "$ac_dir" && ac_dir=. 10405 test -z "$as_dir" && as_dir=.
9466 if $as_executable_p "$ac_dir/$ac_word"; then 10406 for ac_exec_ext in '' $ac_executable_extensions; do
9467 ac_cv_path_PROG_WHO="$ac_dir/$ac_word" 10407 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9468 echo "$as_me:9468: found $ac_dir/$ac_word" >&5 10408 ac_cv_path_PROG_WHO="$as_dir/$ac_word$ac_exec_ext"
9469 break 10409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9470fi 10410 break 2
10411 fi
10412done
9471done 10413done
9472 10414
9473 ;; 10415 ;;
@@ -9476,10 +10418,10 @@ fi
9476PROG_WHO=$ac_cv_path_PROG_WHO 10418PROG_WHO=$ac_cv_path_PROG_WHO
9477 10419
9478if test -n "$PROG_WHO"; then 10420if test -n "$PROG_WHO"; then
9479 echo "$as_me:9479: result: $PROG_WHO" >&5 10421 echo "$as_me:$LINENO: result: $PROG_WHO" >&5
9480echo "${ECHO_T}$PROG_WHO" >&6 10422echo "${ECHO_T}$PROG_WHO" >&6
9481else 10423else
9482 echo "$as_me:9482: result: no" >&5 10424 echo "$as_me:$LINENO: result: no" >&5
9483echo "${ECHO_T}no" >&6 10425echo "${ECHO_T}no" >&6
9484fi 10426fi
9485 10427
@@ -9487,9 +10429,11 @@ fi
9487 PROG_WHO="undef" 10429 PROG_WHO="undef"
9488 fi 10430 fi
9489 10431
10432
10433
9490 # Extract the first word of "last", so it can be a program name with args. 10434 # Extract the first word of "last", so it can be a program name with args.
9491set dummy last; ac_word=$2 10435set dummy last; ac_word=$2
9492echo "$as_me:9492: checking for $ac_word" >&5 10436echo "$as_me:$LINENO: checking for $ac_word" >&5
9493echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 10437echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9494if test "${ac_cv_path_PROG_LAST+set}" = set; then 10438if test "${ac_cv_path_PROG_LAST+set}" = set; then
9495 echo $ECHO_N "(cached) $ECHO_C" >&6 10439 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9499,16 +10443,18 @@ else
9499 ac_cv_path_PROG_LAST="$PROG_LAST" # Let the user override the test with a path. 10443 ac_cv_path_PROG_LAST="$PROG_LAST" # Let the user override the test with a path.
9500 ;; 10444 ;;
9501 *) 10445 *)
9502 ac_save_IFS=$IFS; IFS=$ac_path_separator 10446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9503ac_dummy="$PATH" 10447for as_dir in $PATH
9504for ac_dir in $ac_dummy; do 10448do
9505 IFS=$ac_save_IFS 10449 IFS=$as_save_IFS
9506 test -z "$ac_dir" && ac_dir=. 10450 test -z "$as_dir" && as_dir=.
9507 if $as_executable_p "$ac_dir/$ac_word"; then 10451 for ac_exec_ext in '' $ac_executable_extensions; do
9508 ac_cv_path_PROG_LAST="$ac_dir/$ac_word" 10452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9509 echo "$as_me:9509: found $ac_dir/$ac_word" >&5 10453 ac_cv_path_PROG_LAST="$as_dir/$ac_word$ac_exec_ext"
9510 break 10454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9511fi 10455 break 2
10456 fi
10457done
9512done 10458done
9513 10459
9514 ;; 10460 ;;
@@ -9517,10 +10463,10 @@ fi
9517PROG_LAST=$ac_cv_path_PROG_LAST 10463PROG_LAST=$ac_cv_path_PROG_LAST
9518 10464
9519if test -n "$PROG_LAST"; then 10465if test -n "$PROG_LAST"; then
9520 echo "$as_me:9520: result: $PROG_LAST" >&5 10466 echo "$as_me:$LINENO: result: $PROG_LAST" >&5
9521echo "${ECHO_T}$PROG_LAST" >&6 10467echo "${ECHO_T}$PROG_LAST" >&6
9522else 10468else
9523 echo "$as_me:9523: result: no" >&5 10469 echo "$as_me:$LINENO: result: no" >&5
9524echo "${ECHO_T}no" >&6 10470echo "${ECHO_T}no" >&6
9525fi 10471fi
9526 10472
@@ -9528,9 +10474,11 @@ fi
9528 PROG_LAST="undef" 10474 PROG_LAST="undef"
9529 fi 10475 fi
9530 10476
10477
10478
9531 # Extract the first word of "lastlog", so it can be a program name with args. 10479 # Extract the first word of "lastlog", so it can be a program name with args.
9532set dummy lastlog; ac_word=$2 10480set dummy lastlog; ac_word=$2
9533echo "$as_me:9533: checking for $ac_word" >&5 10481echo "$as_me:$LINENO: checking for $ac_word" >&5
9534echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 10482echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9535if test "${ac_cv_path_PROG_LASTLOG+set}" = set; then 10483if test "${ac_cv_path_PROG_LASTLOG+set}" = set; then
9536 echo $ECHO_N "(cached) $ECHO_C" >&6 10484 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9540,16 +10488,18 @@ else
9540 ac_cv_path_PROG_LASTLOG="$PROG_LASTLOG" # Let the user override the test with a path. 10488 ac_cv_path_PROG_LASTLOG="$PROG_LASTLOG" # Let the user override the test with a path.
9541 ;; 10489 ;;
9542 *) 10490 *)
9543 ac_save_IFS=$IFS; IFS=$ac_path_separator 10491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9544ac_dummy="$PATH" 10492for as_dir in $PATH
9545for ac_dir in $ac_dummy; do 10493do
9546 IFS=$ac_save_IFS 10494 IFS=$as_save_IFS
9547 test -z "$ac_dir" && ac_dir=. 10495 test -z "$as_dir" && as_dir=.
9548 if $as_executable_p "$ac_dir/$ac_word"; then 10496 for ac_exec_ext in '' $ac_executable_extensions; do
9549 ac_cv_path_PROG_LASTLOG="$ac_dir/$ac_word" 10497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9550 echo "$as_me:9550: found $ac_dir/$ac_word" >&5 10498 ac_cv_path_PROG_LASTLOG="$as_dir/$ac_word$ac_exec_ext"
9551 break 10499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9552fi 10500 break 2
10501 fi
10502done
9553done 10503done
9554 10504
9555 ;; 10505 ;;
@@ -9558,10 +10508,10 @@ fi
9558PROG_LASTLOG=$ac_cv_path_PROG_LASTLOG 10508PROG_LASTLOG=$ac_cv_path_PROG_LASTLOG
9559 10509
9560if test -n "$PROG_LASTLOG"; then 10510if test -n "$PROG_LASTLOG"; then
9561 echo "$as_me:9561: result: $PROG_LASTLOG" >&5 10511 echo "$as_me:$LINENO: result: $PROG_LASTLOG" >&5
9562echo "${ECHO_T}$PROG_LASTLOG" >&6 10512echo "${ECHO_T}$PROG_LASTLOG" >&6
9563else 10513else
9564 echo "$as_me:9564: result: no" >&5 10514 echo "$as_me:$LINENO: result: no" >&5
9565echo "${ECHO_T}no" >&6 10515echo "${ECHO_T}no" >&6
9566fi 10516fi
9567 10517
@@ -9569,9 +10519,11 @@ fi
9569 PROG_LASTLOG="undef" 10519 PROG_LASTLOG="undef"
9570 fi 10520 fi
9571 10521
10522
10523
9572 # Extract the first word of "df", so it can be a program name with args. 10524 # Extract the first word of "df", so it can be a program name with args.
9573set dummy df; ac_word=$2 10525set dummy df; ac_word=$2
9574echo "$as_me:9574: checking for $ac_word" >&5 10526echo "$as_me:$LINENO: checking for $ac_word" >&5
9575echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 10527echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9576if test "${ac_cv_path_PROG_DF+set}" = set; then 10528if test "${ac_cv_path_PROG_DF+set}" = set; then
9577 echo $ECHO_N "(cached) $ECHO_C" >&6 10529 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9581,16 +10533,18 @@ else
9581 ac_cv_path_PROG_DF="$PROG_DF" # Let the user override the test with a path. 10533 ac_cv_path_PROG_DF="$PROG_DF" # Let the user override the test with a path.
9582 ;; 10534 ;;
9583 *) 10535 *)
9584 ac_save_IFS=$IFS; IFS=$ac_path_separator 10536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9585ac_dummy="$PATH" 10537for as_dir in $PATH
9586for ac_dir in $ac_dummy; do 10538do
9587 IFS=$ac_save_IFS 10539 IFS=$as_save_IFS
9588 test -z "$ac_dir" && ac_dir=. 10540 test -z "$as_dir" && as_dir=.
9589 if $as_executable_p "$ac_dir/$ac_word"; then 10541 for ac_exec_ext in '' $ac_executable_extensions; do
9590 ac_cv_path_PROG_DF="$ac_dir/$ac_word" 10542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9591 echo "$as_me:9591: found $ac_dir/$ac_word" >&5 10543 ac_cv_path_PROG_DF="$as_dir/$ac_word$ac_exec_ext"
9592 break 10544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9593fi 10545 break 2
10546 fi
10547done
9594done 10548done
9595 10549
9596 ;; 10550 ;;
@@ -9599,10 +10553,10 @@ fi
9599PROG_DF=$ac_cv_path_PROG_DF 10553PROG_DF=$ac_cv_path_PROG_DF
9600 10554
9601if test -n "$PROG_DF"; then 10555if test -n "$PROG_DF"; then
9602 echo "$as_me:9602: result: $PROG_DF" >&5 10556 echo "$as_me:$LINENO: result: $PROG_DF" >&5
9603echo "${ECHO_T}$PROG_DF" >&6 10557echo "${ECHO_T}$PROG_DF" >&6
9604else 10558else
9605 echo "$as_me:9605: result: no" >&5 10559 echo "$as_me:$LINENO: result: no" >&5
9606echo "${ECHO_T}no" >&6 10560echo "${ECHO_T}no" >&6
9607fi 10561fi
9608 10562
@@ -9610,9 +10564,11 @@ fi
9610 PROG_DF="undef" 10564 PROG_DF="undef"
9611 fi 10565 fi
9612 10566
10567
10568
9613 # Extract the first word of "vmstat", so it can be a program name with args. 10569 # Extract the first word of "vmstat", so it can be a program name with args.
9614set dummy vmstat; ac_word=$2 10570set dummy vmstat; ac_word=$2
9615echo "$as_me:9615: checking for $ac_word" >&5 10571echo "$as_me:$LINENO: checking for $ac_word" >&5
9616echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 10572echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9617if test "${ac_cv_path_PROG_VMSTAT+set}" = set; then 10573if test "${ac_cv_path_PROG_VMSTAT+set}" = set; then
9618 echo $ECHO_N "(cached) $ECHO_C" >&6 10574 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9622,16 +10578,18 @@ else
9622 ac_cv_path_PROG_VMSTAT="$PROG_VMSTAT" # Let the user override the test with a path. 10578 ac_cv_path_PROG_VMSTAT="$PROG_VMSTAT" # Let the user override the test with a path.
9623 ;; 10579 ;;
9624 *) 10580 *)
9625 ac_save_IFS=$IFS; IFS=$ac_path_separator 10581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9626ac_dummy="$PATH" 10582for as_dir in $PATH
9627for ac_dir in $ac_dummy; do 10583do
9628 IFS=$ac_save_IFS 10584 IFS=$as_save_IFS
9629 test -z "$ac_dir" && ac_dir=. 10585 test -z "$as_dir" && as_dir=.
9630 if $as_executable_p "$ac_dir/$ac_word"; then 10586 for ac_exec_ext in '' $ac_executable_extensions; do
9631 ac_cv_path_PROG_VMSTAT="$ac_dir/$ac_word" 10587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9632 echo "$as_me:9632: found $ac_dir/$ac_word" >&5 10588 ac_cv_path_PROG_VMSTAT="$as_dir/$ac_word$ac_exec_ext"
9633 break 10589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9634fi 10590 break 2
10591 fi
10592done
9635done 10593done
9636 10594
9637 ;; 10595 ;;
@@ -9640,10 +10598,10 @@ fi
9640PROG_VMSTAT=$ac_cv_path_PROG_VMSTAT 10598PROG_VMSTAT=$ac_cv_path_PROG_VMSTAT
9641 10599
9642if test -n "$PROG_VMSTAT"; then 10600if test -n "$PROG_VMSTAT"; then
9643 echo "$as_me:9643: result: $PROG_VMSTAT" >&5 10601 echo "$as_me:$LINENO: result: $PROG_VMSTAT" >&5
9644echo "${ECHO_T}$PROG_VMSTAT" >&6 10602echo "${ECHO_T}$PROG_VMSTAT" >&6
9645else 10603else
9646 echo "$as_me:9646: result: no" >&5 10604 echo "$as_me:$LINENO: result: no" >&5
9647echo "${ECHO_T}no" >&6 10605echo "${ECHO_T}no" >&6
9648fi 10606fi
9649 10607
@@ -9651,9 +10609,11 @@ fi
9651 PROG_VMSTAT="undef" 10609 PROG_VMSTAT="undef"
9652 fi 10610 fi
9653 10611
10612
10613
9654 # Extract the first word of "uptime", so it can be a program name with args. 10614 # Extract the first word of "uptime", so it can be a program name with args.
9655set dummy uptime; ac_word=$2 10615set dummy uptime; ac_word=$2
9656echo "$as_me:9656: checking for $ac_word" >&5 10616echo "$as_me:$LINENO: checking for $ac_word" >&5
9657echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 10617echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9658if test "${ac_cv_path_PROG_UPTIME+set}" = set; then 10618if test "${ac_cv_path_PROG_UPTIME+set}" = set; then
9659 echo $ECHO_N "(cached) $ECHO_C" >&6 10619 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9663,16 +10623,18 @@ else
9663 ac_cv_path_PROG_UPTIME="$PROG_UPTIME" # Let the user override the test with a path. 10623 ac_cv_path_PROG_UPTIME="$PROG_UPTIME" # Let the user override the test with a path.
9664 ;; 10624 ;;
9665 *) 10625 *)
9666 ac_save_IFS=$IFS; IFS=$ac_path_separator 10626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9667ac_dummy="$PATH" 10627for as_dir in $PATH
9668for ac_dir in $ac_dummy; do 10628do
9669 IFS=$ac_save_IFS 10629 IFS=$as_save_IFS
9670 test -z "$ac_dir" && ac_dir=. 10630 test -z "$as_dir" && as_dir=.
9671 if $as_executable_p "$ac_dir/$ac_word"; then 10631 for ac_exec_ext in '' $ac_executable_extensions; do
9672 ac_cv_path_PROG_UPTIME="$ac_dir/$ac_word" 10632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9673 echo "$as_me:9673: found $ac_dir/$ac_word" >&5 10633 ac_cv_path_PROG_UPTIME="$as_dir/$ac_word$ac_exec_ext"
9674 break 10634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9675fi 10635 break 2
10636 fi
10637done
9676done 10638done
9677 10639
9678 ;; 10640 ;;
@@ -9681,10 +10643,10 @@ fi
9681PROG_UPTIME=$ac_cv_path_PROG_UPTIME 10643PROG_UPTIME=$ac_cv_path_PROG_UPTIME
9682 10644
9683if test -n "$PROG_UPTIME"; then 10645if test -n "$PROG_UPTIME"; then
9684 echo "$as_me:9684: result: $PROG_UPTIME" >&5 10646 echo "$as_me:$LINENO: result: $PROG_UPTIME" >&5
9685echo "${ECHO_T}$PROG_UPTIME" >&6 10647echo "${ECHO_T}$PROG_UPTIME" >&6
9686else 10648else
9687 echo "$as_me:9687: result: no" >&5 10649 echo "$as_me:$LINENO: result: no" >&5
9688echo "${ECHO_T}no" >&6 10650echo "${ECHO_T}no" >&6
9689fi 10651fi
9690 10652
@@ -9692,9 +10654,11 @@ fi
9692 PROG_UPTIME="undef" 10654 PROG_UPTIME="undef"
9693 fi 10655 fi
9694 10656
10657
10658
9695 # Extract the first word of "ipcs", so it can be a program name with args. 10659 # Extract the first word of "ipcs", so it can be a program name with args.
9696set dummy ipcs; ac_word=$2 10660set dummy ipcs; ac_word=$2
9697echo "$as_me:9697: checking for $ac_word" >&5 10661echo "$as_me:$LINENO: checking for $ac_word" >&5
9698echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 10662echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9699if test "${ac_cv_path_PROG_IPCS+set}" = set; then 10663if test "${ac_cv_path_PROG_IPCS+set}" = set; then
9700 echo $ECHO_N "(cached) $ECHO_C" >&6 10664 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9704,16 +10668,18 @@ else
9704 ac_cv_path_PROG_IPCS="$PROG_IPCS" # Let the user override the test with a path. 10668 ac_cv_path_PROG_IPCS="$PROG_IPCS" # Let the user override the test with a path.
9705 ;; 10669 ;;
9706 *) 10670 *)
9707 ac_save_IFS=$IFS; IFS=$ac_path_separator 10671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9708ac_dummy="$PATH" 10672for as_dir in $PATH
9709for ac_dir in $ac_dummy; do 10673do
9710 IFS=$ac_save_IFS 10674 IFS=$as_save_IFS
9711 test -z "$ac_dir" && ac_dir=. 10675 test -z "$as_dir" && as_dir=.
9712 if $as_executable_p "$ac_dir/$ac_word"; then 10676 for ac_exec_ext in '' $ac_executable_extensions; do
9713 ac_cv_path_PROG_IPCS="$ac_dir/$ac_word" 10677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9714 echo "$as_me:9714: found $ac_dir/$ac_word" >&5 10678 ac_cv_path_PROG_IPCS="$as_dir/$ac_word$ac_exec_ext"
9715 break 10679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9716fi 10680 break 2
10681 fi
10682done
9717done 10683done
9718 10684
9719 ;; 10685 ;;
@@ -9722,10 +10688,10 @@ fi
9722PROG_IPCS=$ac_cv_path_PROG_IPCS 10688PROG_IPCS=$ac_cv_path_PROG_IPCS
9723 10689
9724if test -n "$PROG_IPCS"; then 10690if test -n "$PROG_IPCS"; then
9725 echo "$as_me:9725: result: $PROG_IPCS" >&5 10691 echo "$as_me:$LINENO: result: $PROG_IPCS" >&5
9726echo "${ECHO_T}$PROG_IPCS" >&6 10692echo "${ECHO_T}$PROG_IPCS" >&6
9727else 10693else
9728 echo "$as_me:9728: result: no" >&5 10694 echo "$as_me:$LINENO: result: no" >&5
9729echo "${ECHO_T}no" >&6 10695echo "${ECHO_T}no" >&6
9730fi 10696fi
9731 10697
@@ -9733,9 +10699,11 @@ fi
9733 PROG_IPCS="undef" 10699 PROG_IPCS="undef"
9734 fi 10700 fi
9735 10701
10702
10703
9736 # Extract the first word of "tail", so it can be a program name with args. 10704 # Extract the first word of "tail", so it can be a program name with args.
9737set dummy tail; ac_word=$2 10705set dummy tail; ac_word=$2
9738echo "$as_me:9738: checking for $ac_word" >&5 10706echo "$as_me:$LINENO: checking for $ac_word" >&5
9739echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 10707echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9740if test "${ac_cv_path_PROG_TAIL+set}" = set; then 10708if test "${ac_cv_path_PROG_TAIL+set}" = set; then
9741 echo $ECHO_N "(cached) $ECHO_C" >&6 10709 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9745,16 +10713,18 @@ else
9745 ac_cv_path_PROG_TAIL="$PROG_TAIL" # Let the user override the test with a path. 10713 ac_cv_path_PROG_TAIL="$PROG_TAIL" # Let the user override the test with a path.
9746 ;; 10714 ;;
9747 *) 10715 *)
9748 ac_save_IFS=$IFS; IFS=$ac_path_separator 10716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9749ac_dummy="$PATH" 10717for as_dir in $PATH
9750for ac_dir in $ac_dummy; do 10718do
9751 IFS=$ac_save_IFS 10719 IFS=$as_save_IFS
9752 test -z "$ac_dir" && ac_dir=. 10720 test -z "$as_dir" && as_dir=.
9753 if $as_executable_p "$ac_dir/$ac_word"; then 10721 for ac_exec_ext in '' $ac_executable_extensions; do
9754 ac_cv_path_PROG_TAIL="$ac_dir/$ac_word" 10722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9755 echo "$as_me:9755: found $ac_dir/$ac_word" >&5 10723 ac_cv_path_PROG_TAIL="$as_dir/$ac_word$ac_exec_ext"
9756 break 10724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9757fi 10725 break 2
10726 fi
10727done
9758done 10728done
9759 10729
9760 ;; 10730 ;;
@@ -9763,10 +10733,10 @@ fi
9763PROG_TAIL=$ac_cv_path_PROG_TAIL 10733PROG_TAIL=$ac_cv_path_PROG_TAIL
9764 10734
9765if test -n "$PROG_TAIL"; then 10735if test -n "$PROG_TAIL"; then
9766 echo "$as_me:9766: result: $PROG_TAIL" >&5 10736 echo "$as_me:$LINENO: result: $PROG_TAIL" >&5
9767echo "${ECHO_T}$PROG_TAIL" >&6 10737echo "${ECHO_T}$PROG_TAIL" >&6
9768else 10738else
9769 echo "$as_me:9769: result: no" >&5 10739 echo "$as_me:$LINENO: result: no" >&5
9770echo "${ECHO_T}no" >&6 10740echo "${ECHO_T}no" >&6
9771fi 10741fi
9772 10742
@@ -9774,6 +10744,7 @@ fi
9774 PROG_TAIL="undef" 10744 PROG_TAIL="undef"
9775 fi 10745 fi
9776 10746
10747
9777# restore PATH 10748# restore PATH
9778PATH=$OPATH 10749PATH=$OPATH
9779 10750
@@ -9791,20 +10762,26 @@ if test ! -z "$INSTALL_SSH_RAND_HELPER" ; then
9791 fi 10762 fi
9792fi 10763fi
9793 10764
10765
10766
9794# Cheap hack to ensure NEWS-OS libraries are arranged right. 10767# Cheap hack to ensure NEWS-OS libraries are arranged right.
9795if test ! -z "$SONY" ; then 10768if test ! -z "$SONY" ; then
9796 LIBS="$LIBS -liberty"; 10769 LIBS="$LIBS -liberty";
9797fi 10770fi
9798 10771
9799# Checks for data types 10772# Checks for data types
9800echo "$as_me:9800: checking for char" >&5 10773echo "$as_me:$LINENO: checking for char" >&5
9801echo $ECHO_N "checking for char... $ECHO_C" >&6 10774echo $ECHO_N "checking for char... $ECHO_C" >&6
9802if test "${ac_cv_type_char+set}" = set; then 10775if test "${ac_cv_type_char+set}" = set; then
9803 echo $ECHO_N "(cached) $ECHO_C" >&6 10776 echo $ECHO_N "(cached) $ECHO_C" >&6
9804else 10777else
9805 cat >conftest.$ac_ext <<_ACEOF 10778 cat >conftest.$ac_ext <<_ACEOF
9806#line 9806 "configure" 10779#line $LINENO "configure"
9807#include "confdefs.h" 10780/* confdefs.h. */
10781_ACEOF
10782cat confdefs.h >>conftest.$ac_ext
10783cat >>conftest.$ac_ext <<_ACEOF
10784/* end confdefs.h. */
9808$ac_includes_default 10785$ac_includes_default
9809int 10786int
9810main () 10787main ()
@@ -9818,209 +10795,328 @@ if (sizeof (char))
9818} 10795}
9819_ACEOF 10796_ACEOF
9820rm -f conftest.$ac_objext 10797rm -f conftest.$ac_objext
9821if { (eval echo "$as_me:9821: \"$ac_compile\"") >&5 10798if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9822 (eval $ac_compile) 2>&5 10799 (eval $ac_compile) 2>&5
9823 ac_status=$? 10800 ac_status=$?
9824 echo "$as_me:9824: \$? = $ac_status" >&5 10801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9825 (exit $ac_status); } && 10802 (exit $ac_status); } &&
9826 { ac_try='test -s conftest.$ac_objext' 10803 { ac_try='test -s conftest.$ac_objext'
9827 { (eval echo "$as_me:9827: \"$ac_try\"") >&5 10804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9828 (eval $ac_try) 2>&5 10805 (eval $ac_try) 2>&5
9829 ac_status=$? 10806 ac_status=$?
9830 echo "$as_me:9830: \$? = $ac_status" >&5 10807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9831 (exit $ac_status); }; }; then 10808 (exit $ac_status); }; }; then
9832 ac_cv_type_char=yes 10809 ac_cv_type_char=yes
9833else 10810else
9834 echo "$as_me: failed program was:" >&5 10811 echo "$as_me: failed program was:" >&5
9835cat conftest.$ac_ext >&5 10812sed 's/^/| /' conftest.$ac_ext >&5
10813
9836ac_cv_type_char=no 10814ac_cv_type_char=no
9837fi 10815fi
9838rm -f conftest.$ac_objext conftest.$ac_ext 10816rm -f conftest.$ac_objext conftest.$ac_ext
9839fi 10817fi
9840echo "$as_me:9840: result: $ac_cv_type_char" >&5 10818echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
9841echo "${ECHO_T}$ac_cv_type_char" >&6 10819echo "${ECHO_T}$ac_cv_type_char" >&6
9842 10820
9843echo "$as_me:9843: checking size of char" >&5 10821echo "$as_me:$LINENO: checking size of char" >&5
9844echo $ECHO_N "checking size of char... $ECHO_C" >&6 10822echo $ECHO_N "checking size of char... $ECHO_C" >&6
9845if test "${ac_cv_sizeof_char+set}" = set; then 10823if test "${ac_cv_sizeof_char+set}" = set; then
9846 echo $ECHO_N "(cached) $ECHO_C" >&6 10824 echo $ECHO_N "(cached) $ECHO_C" >&6
9847else 10825else
9848 if test "$ac_cv_type_char" = yes; then 10826 if test "$ac_cv_type_char" = yes; then
10827 # The cast to unsigned long works around a bug in the HP C Compiler
10828 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10829 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10830 # This bug is HP SR number 8606223364.
9849 if test "$cross_compiling" = yes; then 10831 if test "$cross_compiling" = yes; then
9850 # Depending upon the size, compute the lo and hi bounds. 10832 # Depending upon the size, compute the lo and hi bounds.
9851cat >conftest.$ac_ext <<_ACEOF 10833cat >conftest.$ac_ext <<_ACEOF
9852#line 9852 "configure" 10834#line $LINENO "configure"
9853#include "confdefs.h" 10835/* confdefs.h. */
10836_ACEOF
10837cat confdefs.h >>conftest.$ac_ext
10838cat >>conftest.$ac_ext <<_ACEOF
10839/* end confdefs.h. */
9854$ac_includes_default 10840$ac_includes_default
9855int 10841int
9856main () 10842main ()
9857{ 10843{
9858int _array_ [1 - 2 * !((sizeof (char)) >= 0)] 10844static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
10845test_array [0] = 0
10846
9859 ; 10847 ;
9860 return 0; 10848 return 0;
9861} 10849}
9862_ACEOF 10850_ACEOF
9863rm -f conftest.$ac_objext 10851rm -f conftest.$ac_objext
9864if { (eval echo "$as_me:9864: \"$ac_compile\"") >&5 10852if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9865 (eval $ac_compile) 2>&5 10853 (eval $ac_compile) 2>&5
9866 ac_status=$? 10854 ac_status=$?
9867 echo "$as_me:9867: \$? = $ac_status" >&5 10855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9868 (exit $ac_status); } && 10856 (exit $ac_status); } &&
9869 { ac_try='test -s conftest.$ac_objext' 10857 { ac_try='test -s conftest.$ac_objext'
9870 { (eval echo "$as_me:9870: \"$ac_try\"") >&5 10858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9871 (eval $ac_try) 2>&5 10859 (eval $ac_try) 2>&5
9872 ac_status=$? 10860 ac_status=$?
9873 echo "$as_me:9873: \$? = $ac_status" >&5 10861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9874 (exit $ac_status); }; }; then 10862 (exit $ac_status); }; }; then
9875 ac_lo=0 ac_mid=0 10863 ac_lo=0 ac_mid=0
9876 while :; do 10864 while :; do
9877 cat >conftest.$ac_ext <<_ACEOF 10865 cat >conftest.$ac_ext <<_ACEOF
9878#line 9878 "configure" 10866#line $LINENO "configure"
9879#include "confdefs.h" 10867/* confdefs.h. */
10868_ACEOF
10869cat confdefs.h >>conftest.$ac_ext
10870cat >>conftest.$ac_ext <<_ACEOF
10871/* end confdefs.h. */
9880$ac_includes_default 10872$ac_includes_default
9881int 10873int
9882main () 10874main ()
9883{ 10875{
9884int _array_ [1 - 2 * !((sizeof (char)) <= $ac_mid)] 10876static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
10877test_array [0] = 0
10878
9885 ; 10879 ;
9886 return 0; 10880 return 0;
9887} 10881}
9888_ACEOF 10882_ACEOF
9889rm -f conftest.$ac_objext 10883rm -f conftest.$ac_objext
9890if { (eval echo "$as_me:9890: \"$ac_compile\"") >&5 10884if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9891 (eval $ac_compile) 2>&5 10885 (eval $ac_compile) 2>&5
9892 ac_status=$? 10886 ac_status=$?
9893 echo "$as_me:9893: \$? = $ac_status" >&5 10887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9894 (exit $ac_status); } && 10888 (exit $ac_status); } &&
9895 { ac_try='test -s conftest.$ac_objext' 10889 { ac_try='test -s conftest.$ac_objext'
9896 { (eval echo "$as_me:9896: \"$ac_try\"") >&5 10890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9897 (eval $ac_try) 2>&5 10891 (eval $ac_try) 2>&5
9898 ac_status=$? 10892 ac_status=$?
9899 echo "$as_me:9899: \$? = $ac_status" >&5 10893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9900 (exit $ac_status); }; }; then 10894 (exit $ac_status); }; }; then
9901 ac_hi=$ac_mid; break 10895 ac_hi=$ac_mid; break
9902else 10896else
9903 echo "$as_me: failed program was:" >&5 10897 echo "$as_me: failed program was:" >&5
9904cat conftest.$ac_ext >&5 10898sed 's/^/| /' conftest.$ac_ext >&5
9905ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1` 10899
10900ac_lo=`expr $ac_mid + 1`
10901 if test $ac_lo -le $ac_mid; then
10902 ac_lo= ac_hi=
10903 break
10904 fi
10905 ac_mid=`expr 2 '*' $ac_mid + 1`
9906fi 10906fi
9907rm -f conftest.$ac_objext conftest.$ac_ext 10907rm -f conftest.$ac_objext conftest.$ac_ext
9908 done 10908 done
9909else 10909else
9910 echo "$as_me: failed program was:" >&5 10910 echo "$as_me: failed program was:" >&5
9911cat conftest.$ac_ext >&5 10911sed 's/^/| /' conftest.$ac_ext >&5
9912ac_hi=-1 ac_mid=-1 10912
10913cat >conftest.$ac_ext <<_ACEOF
10914#line $LINENO "configure"
10915/* confdefs.h. */
10916_ACEOF
10917cat confdefs.h >>conftest.$ac_ext
10918cat >>conftest.$ac_ext <<_ACEOF
10919/* end confdefs.h. */
10920$ac_includes_default
10921int
10922main ()
10923{
10924static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
10925test_array [0] = 0
10926
10927 ;
10928 return 0;
10929}
10930_ACEOF
10931rm -f conftest.$ac_objext
10932if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10933 (eval $ac_compile) 2>&5
10934 ac_status=$?
10935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10936 (exit $ac_status); } &&
10937 { ac_try='test -s conftest.$ac_objext'
10938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10939 (eval $ac_try) 2>&5
10940 ac_status=$?
10941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10942 (exit $ac_status); }; }; then
10943 ac_hi=-1 ac_mid=-1
9913 while :; do 10944 while :; do
9914 cat >conftest.$ac_ext <<_ACEOF 10945 cat >conftest.$ac_ext <<_ACEOF
9915#line 9915 "configure" 10946#line $LINENO "configure"
9916#include "confdefs.h" 10947/* confdefs.h. */
10948_ACEOF
10949cat confdefs.h >>conftest.$ac_ext
10950cat >>conftest.$ac_ext <<_ACEOF
10951/* end confdefs.h. */
9917$ac_includes_default 10952$ac_includes_default
9918int 10953int
9919main () 10954main ()
9920{ 10955{
9921int _array_ [1 - 2 * !((sizeof (char)) >= $ac_mid)] 10956static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
10957test_array [0] = 0
10958
9922 ; 10959 ;
9923 return 0; 10960 return 0;
9924} 10961}
9925_ACEOF 10962_ACEOF
9926rm -f conftest.$ac_objext 10963rm -f conftest.$ac_objext
9927if { (eval echo "$as_me:9927: \"$ac_compile\"") >&5 10964if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9928 (eval $ac_compile) 2>&5 10965 (eval $ac_compile) 2>&5
9929 ac_status=$? 10966 ac_status=$?
9930 echo "$as_me:9930: \$? = $ac_status" >&5 10967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9931 (exit $ac_status); } && 10968 (exit $ac_status); } &&
9932 { ac_try='test -s conftest.$ac_objext' 10969 { ac_try='test -s conftest.$ac_objext'
9933 { (eval echo "$as_me:9933: \"$ac_try\"") >&5 10970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9934 (eval $ac_try) 2>&5 10971 (eval $ac_try) 2>&5
9935 ac_status=$? 10972 ac_status=$?
9936 echo "$as_me:9936: \$? = $ac_status" >&5 10973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9937 (exit $ac_status); }; }; then 10974 (exit $ac_status); }; }; then
9938 ac_lo=$ac_mid; break 10975 ac_lo=$ac_mid; break
9939else 10976else
9940 echo "$as_me: failed program was:" >&5 10977 echo "$as_me: failed program was:" >&5
9941cat conftest.$ac_ext >&5 10978sed 's/^/| /' conftest.$ac_ext >&5
9942ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid` 10979
10980ac_hi=`expr '(' $ac_mid ')' - 1`
10981 if test $ac_mid -le $ac_hi; then
10982 ac_lo= ac_hi=
10983 break
10984 fi
10985 ac_mid=`expr 2 '*' $ac_mid`
9943fi 10986fi
9944rm -f conftest.$ac_objext conftest.$ac_ext 10987rm -f conftest.$ac_objext conftest.$ac_ext
9945 done 10988 done
10989else
10990 echo "$as_me: failed program was:" >&5
10991sed 's/^/| /' conftest.$ac_ext >&5
10992
10993ac_lo= ac_hi=
10994fi
10995rm -f conftest.$ac_objext conftest.$ac_ext
9946fi 10996fi
9947rm -f conftest.$ac_objext conftest.$ac_ext 10997rm -f conftest.$ac_objext conftest.$ac_ext
9948# Binary search between lo and hi bounds. 10998# Binary search between lo and hi bounds.
9949while test "x$ac_lo" != "x$ac_hi"; do 10999while test "x$ac_lo" != "x$ac_hi"; do
9950 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 11000 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9951 cat >conftest.$ac_ext <<_ACEOF 11001 cat >conftest.$ac_ext <<_ACEOF
9952#line 9952 "configure" 11002#line $LINENO "configure"
9953#include "confdefs.h" 11003/* confdefs.h. */
11004_ACEOF
11005cat confdefs.h >>conftest.$ac_ext
11006cat >>conftest.$ac_ext <<_ACEOF
11007/* end confdefs.h. */
9954$ac_includes_default 11008$ac_includes_default
9955int 11009int
9956main () 11010main ()
9957{ 11011{
9958int _array_ [1 - 2 * !((sizeof (char)) <= $ac_mid)] 11012static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
11013test_array [0] = 0
11014
9959 ; 11015 ;
9960 return 0; 11016 return 0;
9961} 11017}
9962_ACEOF 11018_ACEOF
9963rm -f conftest.$ac_objext 11019rm -f conftest.$ac_objext
9964if { (eval echo "$as_me:9964: \"$ac_compile\"") >&5 11020if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9965 (eval $ac_compile) 2>&5 11021 (eval $ac_compile) 2>&5
9966 ac_status=$? 11022 ac_status=$?
9967 echo "$as_me:9967: \$? = $ac_status" >&5 11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9968 (exit $ac_status); } && 11024 (exit $ac_status); } &&
9969 { ac_try='test -s conftest.$ac_objext' 11025 { ac_try='test -s conftest.$ac_objext'
9970 { (eval echo "$as_me:9970: \"$ac_try\"") >&5 11026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9971 (eval $ac_try) 2>&5 11027 (eval $ac_try) 2>&5
9972 ac_status=$? 11028 ac_status=$?
9973 echo "$as_me:9973: \$? = $ac_status" >&5 11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9974 (exit $ac_status); }; }; then 11030 (exit $ac_status); }; }; then
9975 ac_hi=$ac_mid 11031 ac_hi=$ac_mid
9976else 11032else
9977 echo "$as_me: failed program was:" >&5 11033 echo "$as_me: failed program was:" >&5
9978cat conftest.$ac_ext >&5 11034sed 's/^/| /' conftest.$ac_ext >&5
9979ac_lo=`expr $ac_mid + 1` 11035
11036ac_lo=`expr '(' $ac_mid ')' + 1`
9980fi 11037fi
9981rm -f conftest.$ac_objext conftest.$ac_ext 11038rm -f conftest.$ac_objext conftest.$ac_ext
9982done 11039done
9983ac_cv_sizeof_char=$ac_lo 11040case $ac_lo in
11041?*) ac_cv_sizeof_char=$ac_lo;;
11042'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
11043See \`config.log' for more details." >&5
11044echo "$as_me: error: cannot compute sizeof (char), 77
11045See \`config.log' for more details." >&2;}
11046 { (exit 1); exit 1; }; } ;;
11047esac
9984else 11048else
9985 if test "$cross_compiling" = yes; then 11049 if test "$cross_compiling" = yes; then
9986 { { echo "$as_me:9986: error: cannot run test program while cross compiling" >&5 11050 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9987echo "$as_me: error: cannot run test program while cross compiling" >&2;} 11051See \`config.log' for more details." >&5
11052echo "$as_me: error: cannot run test program while cross compiling
11053See \`config.log' for more details." >&2;}
9988 { (exit 1); exit 1; }; } 11054 { (exit 1); exit 1; }; }
9989else 11055else
9990 cat >conftest.$ac_ext <<_ACEOF 11056 cat >conftest.$ac_ext <<_ACEOF
9991#line 9991 "configure" 11057#line $LINENO "configure"
9992#include "confdefs.h" 11058/* confdefs.h. */
11059_ACEOF
11060cat confdefs.h >>conftest.$ac_ext
11061cat >>conftest.$ac_ext <<_ACEOF
11062/* end confdefs.h. */
9993$ac_includes_default 11063$ac_includes_default
11064long longval () { return (long) (sizeof (char)); }
11065unsigned long ulongval () { return (long) (sizeof (char)); }
11066#include <stdio.h>
11067#include <stdlib.h>
9994int 11068int
9995main () 11069main ()
9996{ 11070{
9997FILE *f = fopen ("conftest.val", "w"); 11071
9998if (!f) 11072 FILE *f = fopen ("conftest.val", "w");
9999 exit (1); 11073 if (! f)
10000fprintf (f, "%d", (sizeof (char))); 11074 exit (1);
10001fclose (f); 11075 if (((long) (sizeof (char))) < 0)
11076 {
11077 long i = longval ();
11078 if (i != ((long) (sizeof (char))))
11079 exit (1);
11080 fprintf (f, "%ld\n", i);
11081 }
11082 else
11083 {
11084 unsigned long i = ulongval ();
11085 if (i != ((long) (sizeof (char))))
11086 exit (1);
11087 fprintf (f, "%lu\n", i);
11088 }
11089 exit (ferror (f) || fclose (f) != 0);
11090
10002 ; 11091 ;
10003 return 0; 11092 return 0;
10004} 11093}
10005_ACEOF 11094_ACEOF
10006rm -f conftest$ac_exeext 11095rm -f conftest$ac_exeext
10007if { (eval echo "$as_me:10007: \"$ac_link\"") >&5 11096if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10008 (eval $ac_link) 2>&5 11097 (eval $ac_link) 2>&5
10009 ac_status=$? 11098 ac_status=$?
10010 echo "$as_me:10010: \$? = $ac_status" >&5 11099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10011 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11100 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10012 { (eval echo "$as_me:10012: \"$ac_try\"") >&5 11101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10013 (eval $ac_try) 2>&5 11102 (eval $ac_try) 2>&5
10014 ac_status=$? 11103 ac_status=$?
10015 echo "$as_me:10015: \$? = $ac_status" >&5 11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10016 (exit $ac_status); }; }; then 11105 (exit $ac_status); }; }; then
10017 ac_cv_sizeof_char=`cat conftest.val` 11106 ac_cv_sizeof_char=`cat conftest.val`
10018else 11107else
10019 echo "$as_me: program exited with status $ac_status" >&5 11108 echo "$as_me: program exited with status $ac_status" >&5
10020echo "$as_me: failed program was:" >&5 11109echo "$as_me: failed program was:" >&5
10021cat conftest.$ac_ext >&5 11110sed 's/^/| /' conftest.$ac_ext >&5
11111
11112( exit $ac_status )
11113{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
11114See \`config.log' for more details." >&5
11115echo "$as_me: error: cannot compute sizeof (char), 77
11116See \`config.log' for more details." >&2;}
11117 { (exit 1); exit 1; }; }
10022fi 11118fi
10023rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11119rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10024fi 11120fi
10025fi 11121fi
10026rm -f conftest.val 11122rm -f conftest.val
@@ -10028,20 +11124,25 @@ else
10028 ac_cv_sizeof_char=0 11124 ac_cv_sizeof_char=0
10029fi 11125fi
10030fi 11126fi
10031echo "$as_me:10031: result: $ac_cv_sizeof_char" >&5 11127echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
10032echo "${ECHO_T}$ac_cv_sizeof_char" >&6 11128echo "${ECHO_T}$ac_cv_sizeof_char" >&6
10033cat >>confdefs.h <<EOF 11129cat >>confdefs.h <<_ACEOF
10034#define SIZEOF_CHAR $ac_cv_sizeof_char 11130#define SIZEOF_CHAR $ac_cv_sizeof_char
10035EOF 11131_ACEOF
11132
10036 11133
10037echo "$as_me:10037: checking for short int" >&5 11134echo "$as_me:$LINENO: checking for short int" >&5
10038echo $ECHO_N "checking for short int... $ECHO_C" >&6 11135echo $ECHO_N "checking for short int... $ECHO_C" >&6
10039if test "${ac_cv_type_short_int+set}" = set; then 11136if test "${ac_cv_type_short_int+set}" = set; then
10040 echo $ECHO_N "(cached) $ECHO_C" >&6 11137 echo $ECHO_N "(cached) $ECHO_C" >&6
10041else 11138else
10042 cat >conftest.$ac_ext <<_ACEOF 11139 cat >conftest.$ac_ext <<_ACEOF
10043#line 10043 "configure" 11140#line $LINENO "configure"
10044#include "confdefs.h" 11141/* confdefs.h. */
11142_ACEOF
11143cat confdefs.h >>conftest.$ac_ext
11144cat >>conftest.$ac_ext <<_ACEOF
11145/* end confdefs.h. */
10045$ac_includes_default 11146$ac_includes_default
10046int 11147int
10047main () 11148main ()
@@ -10055,209 +11156,328 @@ if (sizeof (short int))
10055} 11156}
10056_ACEOF 11157_ACEOF
10057rm -f conftest.$ac_objext 11158rm -f conftest.$ac_objext
10058if { (eval echo "$as_me:10058: \"$ac_compile\"") >&5 11159if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10059 (eval $ac_compile) 2>&5 11160 (eval $ac_compile) 2>&5
10060 ac_status=$? 11161 ac_status=$?
10061 echo "$as_me:10061: \$? = $ac_status" >&5 11162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10062 (exit $ac_status); } && 11163 (exit $ac_status); } &&
10063 { ac_try='test -s conftest.$ac_objext' 11164 { ac_try='test -s conftest.$ac_objext'
10064 { (eval echo "$as_me:10064: \"$ac_try\"") >&5 11165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10065 (eval $ac_try) 2>&5 11166 (eval $ac_try) 2>&5
10066 ac_status=$? 11167 ac_status=$?
10067 echo "$as_me:10067: \$? = $ac_status" >&5 11168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10068 (exit $ac_status); }; }; then 11169 (exit $ac_status); }; }; then
10069 ac_cv_type_short_int=yes 11170 ac_cv_type_short_int=yes
10070else 11171else
10071 echo "$as_me: failed program was:" >&5 11172 echo "$as_me: failed program was:" >&5
10072cat conftest.$ac_ext >&5 11173sed 's/^/| /' conftest.$ac_ext >&5
11174
10073ac_cv_type_short_int=no 11175ac_cv_type_short_int=no
10074fi 11176fi
10075rm -f conftest.$ac_objext conftest.$ac_ext 11177rm -f conftest.$ac_objext conftest.$ac_ext
10076fi 11178fi
10077echo "$as_me:10077: result: $ac_cv_type_short_int" >&5 11179echo "$as_me:$LINENO: result: $ac_cv_type_short_int" >&5
10078echo "${ECHO_T}$ac_cv_type_short_int" >&6 11180echo "${ECHO_T}$ac_cv_type_short_int" >&6
10079 11181
10080echo "$as_me:10080: checking size of short int" >&5 11182echo "$as_me:$LINENO: checking size of short int" >&5
10081echo $ECHO_N "checking size of short int... $ECHO_C" >&6 11183echo $ECHO_N "checking size of short int... $ECHO_C" >&6
10082if test "${ac_cv_sizeof_short_int+set}" = set; then 11184if test "${ac_cv_sizeof_short_int+set}" = set; then
10083 echo $ECHO_N "(cached) $ECHO_C" >&6 11185 echo $ECHO_N "(cached) $ECHO_C" >&6
10084else 11186else
10085 if test "$ac_cv_type_short_int" = yes; then 11187 if test "$ac_cv_type_short_int" = yes; then
11188 # The cast to unsigned long works around a bug in the HP C Compiler
11189 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11190 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11191 # This bug is HP SR number 8606223364.
10086 if test "$cross_compiling" = yes; then 11192 if test "$cross_compiling" = yes; then
10087 # Depending upon the size, compute the lo and hi bounds. 11193 # Depending upon the size, compute the lo and hi bounds.
10088cat >conftest.$ac_ext <<_ACEOF 11194cat >conftest.$ac_ext <<_ACEOF
10089#line 10089 "configure" 11195#line $LINENO "configure"
10090#include "confdefs.h" 11196/* confdefs.h. */
11197_ACEOF
11198cat confdefs.h >>conftest.$ac_ext
11199cat >>conftest.$ac_ext <<_ACEOF
11200/* end confdefs.h. */
10091$ac_includes_default 11201$ac_includes_default
10092int 11202int
10093main () 11203main ()
10094{ 11204{
10095int _array_ [1 - 2 * !((sizeof (short int)) >= 0)] 11205static int test_array [1 - 2 * !(((long) (sizeof (short int))) >= 0)];
11206test_array [0] = 0
11207
10096 ; 11208 ;
10097 return 0; 11209 return 0;
10098} 11210}
10099_ACEOF 11211_ACEOF
10100rm -f conftest.$ac_objext 11212rm -f conftest.$ac_objext
10101if { (eval echo "$as_me:10101: \"$ac_compile\"") >&5 11213if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10102 (eval $ac_compile) 2>&5 11214 (eval $ac_compile) 2>&5
10103 ac_status=$? 11215 ac_status=$?
10104 echo "$as_me:10104: \$? = $ac_status" >&5 11216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10105 (exit $ac_status); } && 11217 (exit $ac_status); } &&
10106 { ac_try='test -s conftest.$ac_objext' 11218 { ac_try='test -s conftest.$ac_objext'
10107 { (eval echo "$as_me:10107: \"$ac_try\"") >&5 11219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10108 (eval $ac_try) 2>&5 11220 (eval $ac_try) 2>&5
10109 ac_status=$? 11221 ac_status=$?
10110 echo "$as_me:10110: \$? = $ac_status" >&5 11222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111 (exit $ac_status); }; }; then 11223 (exit $ac_status); }; }; then
10112 ac_lo=0 ac_mid=0 11224 ac_lo=0 ac_mid=0
10113 while :; do 11225 while :; do
10114 cat >conftest.$ac_ext <<_ACEOF 11226 cat >conftest.$ac_ext <<_ACEOF
10115#line 10115 "configure" 11227#line $LINENO "configure"
10116#include "confdefs.h" 11228/* confdefs.h. */
11229_ACEOF
11230cat confdefs.h >>conftest.$ac_ext
11231cat >>conftest.$ac_ext <<_ACEOF
11232/* end confdefs.h. */
10117$ac_includes_default 11233$ac_includes_default
10118int 11234int
10119main () 11235main ()
10120{ 11236{
10121int _array_ [1 - 2 * !((sizeof (short int)) <= $ac_mid)] 11237static int test_array [1 - 2 * !(((long) (sizeof (short int))) <= $ac_mid)];
11238test_array [0] = 0
11239
10122 ; 11240 ;
10123 return 0; 11241 return 0;
10124} 11242}
10125_ACEOF 11243_ACEOF
10126rm -f conftest.$ac_objext 11244rm -f conftest.$ac_objext
10127if { (eval echo "$as_me:10127: \"$ac_compile\"") >&5 11245if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10128 (eval $ac_compile) 2>&5 11246 (eval $ac_compile) 2>&5
10129 ac_status=$? 11247 ac_status=$?
10130 echo "$as_me:10130: \$? = $ac_status" >&5 11248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10131 (exit $ac_status); } && 11249 (exit $ac_status); } &&
10132 { ac_try='test -s conftest.$ac_objext' 11250 { ac_try='test -s conftest.$ac_objext'
10133 { (eval echo "$as_me:10133: \"$ac_try\"") >&5 11251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10134 (eval $ac_try) 2>&5 11252 (eval $ac_try) 2>&5
10135 ac_status=$? 11253 ac_status=$?
10136 echo "$as_me:10136: \$? = $ac_status" >&5 11254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10137 (exit $ac_status); }; }; then 11255 (exit $ac_status); }; }; then
10138 ac_hi=$ac_mid; break 11256 ac_hi=$ac_mid; break
10139else 11257else
10140 echo "$as_me: failed program was:" >&5 11258 echo "$as_me: failed program was:" >&5
10141cat conftest.$ac_ext >&5 11259sed 's/^/| /' conftest.$ac_ext >&5
10142ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1` 11260
11261ac_lo=`expr $ac_mid + 1`
11262 if test $ac_lo -le $ac_mid; then
11263 ac_lo= ac_hi=
11264 break
11265 fi
11266 ac_mid=`expr 2 '*' $ac_mid + 1`
10143fi 11267fi
10144rm -f conftest.$ac_objext conftest.$ac_ext 11268rm -f conftest.$ac_objext conftest.$ac_ext
10145 done 11269 done
10146else 11270else
10147 echo "$as_me: failed program was:" >&5 11271 echo "$as_me: failed program was:" >&5
10148cat conftest.$ac_ext >&5 11272sed 's/^/| /' conftest.$ac_ext >&5
10149ac_hi=-1 ac_mid=-1 11273
11274cat >conftest.$ac_ext <<_ACEOF
11275#line $LINENO "configure"
11276/* confdefs.h. */
11277_ACEOF
11278cat confdefs.h >>conftest.$ac_ext
11279cat >>conftest.$ac_ext <<_ACEOF
11280/* end confdefs.h. */
11281$ac_includes_default
11282int
11283main ()
11284{
11285static int test_array [1 - 2 * !(((long) (sizeof (short int))) < 0)];
11286test_array [0] = 0
11287
11288 ;
11289 return 0;
11290}
11291_ACEOF
11292rm -f conftest.$ac_objext
11293if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11294 (eval $ac_compile) 2>&5
11295 ac_status=$?
11296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); } &&
11298 { ac_try='test -s conftest.$ac_objext'
11299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11300 (eval $ac_try) 2>&5
11301 ac_status=$?
11302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11303 (exit $ac_status); }; }; then
11304 ac_hi=-1 ac_mid=-1
10150 while :; do 11305 while :; do
10151 cat >conftest.$ac_ext <<_ACEOF 11306 cat >conftest.$ac_ext <<_ACEOF
10152#line 10152 "configure" 11307#line $LINENO "configure"
10153#include "confdefs.h" 11308/* confdefs.h. */
11309_ACEOF
11310cat confdefs.h >>conftest.$ac_ext
11311cat >>conftest.$ac_ext <<_ACEOF
11312/* end confdefs.h. */
10154$ac_includes_default 11313$ac_includes_default
10155int 11314int
10156main () 11315main ()
10157{ 11316{
10158int _array_ [1 - 2 * !((sizeof (short int)) >= $ac_mid)] 11317static int test_array [1 - 2 * !(((long) (sizeof (short int))) >= $ac_mid)];
11318test_array [0] = 0
11319
10159 ; 11320 ;
10160 return 0; 11321 return 0;
10161} 11322}
10162_ACEOF 11323_ACEOF
10163rm -f conftest.$ac_objext 11324rm -f conftest.$ac_objext
10164if { (eval echo "$as_me:10164: \"$ac_compile\"") >&5 11325if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10165 (eval $ac_compile) 2>&5 11326 (eval $ac_compile) 2>&5
10166 ac_status=$? 11327 ac_status=$?
10167 echo "$as_me:10167: \$? = $ac_status" >&5 11328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10168 (exit $ac_status); } && 11329 (exit $ac_status); } &&
10169 { ac_try='test -s conftest.$ac_objext' 11330 { ac_try='test -s conftest.$ac_objext'
10170 { (eval echo "$as_me:10170: \"$ac_try\"") >&5 11331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10171 (eval $ac_try) 2>&5 11332 (eval $ac_try) 2>&5
10172 ac_status=$? 11333 ac_status=$?
10173 echo "$as_me:10173: \$? = $ac_status" >&5 11334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10174 (exit $ac_status); }; }; then 11335 (exit $ac_status); }; }; then
10175 ac_lo=$ac_mid; break 11336 ac_lo=$ac_mid; break
10176else 11337else
10177 echo "$as_me: failed program was:" >&5 11338 echo "$as_me: failed program was:" >&5
10178cat conftest.$ac_ext >&5 11339sed 's/^/| /' conftest.$ac_ext >&5
10179ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid` 11340
11341ac_hi=`expr '(' $ac_mid ')' - 1`
11342 if test $ac_mid -le $ac_hi; then
11343 ac_lo= ac_hi=
11344 break
11345 fi
11346 ac_mid=`expr 2 '*' $ac_mid`
10180fi 11347fi
10181rm -f conftest.$ac_objext conftest.$ac_ext 11348rm -f conftest.$ac_objext conftest.$ac_ext
10182 done 11349 done
11350else
11351 echo "$as_me: failed program was:" >&5
11352sed 's/^/| /' conftest.$ac_ext >&5
11353
11354ac_lo= ac_hi=
11355fi
11356rm -f conftest.$ac_objext conftest.$ac_ext
10183fi 11357fi
10184rm -f conftest.$ac_objext conftest.$ac_ext 11358rm -f conftest.$ac_objext conftest.$ac_ext
10185# Binary search between lo and hi bounds. 11359# Binary search between lo and hi bounds.
10186while test "x$ac_lo" != "x$ac_hi"; do 11360while test "x$ac_lo" != "x$ac_hi"; do
10187 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 11361 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10188 cat >conftest.$ac_ext <<_ACEOF 11362 cat >conftest.$ac_ext <<_ACEOF
10189#line 10189 "configure" 11363#line $LINENO "configure"
10190#include "confdefs.h" 11364/* confdefs.h. */
11365_ACEOF
11366cat confdefs.h >>conftest.$ac_ext
11367cat >>conftest.$ac_ext <<_ACEOF
11368/* end confdefs.h. */
10191$ac_includes_default 11369$ac_includes_default
10192int 11370int
10193main () 11371main ()
10194{ 11372{
10195int _array_ [1 - 2 * !((sizeof (short int)) <= $ac_mid)] 11373static int test_array [1 - 2 * !(((long) (sizeof (short int))) <= $ac_mid)];
11374test_array [0] = 0
11375
10196 ; 11376 ;
10197 return 0; 11377 return 0;
10198} 11378}
10199_ACEOF 11379_ACEOF
10200rm -f conftest.$ac_objext 11380rm -f conftest.$ac_objext
10201if { (eval echo "$as_me:10201: \"$ac_compile\"") >&5 11381if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10202 (eval $ac_compile) 2>&5 11382 (eval $ac_compile) 2>&5
10203 ac_status=$? 11383 ac_status=$?
10204 echo "$as_me:10204: \$? = $ac_status" >&5 11384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10205 (exit $ac_status); } && 11385 (exit $ac_status); } &&
10206 { ac_try='test -s conftest.$ac_objext' 11386 { ac_try='test -s conftest.$ac_objext'
10207 { (eval echo "$as_me:10207: \"$ac_try\"") >&5 11387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10208 (eval $ac_try) 2>&5 11388 (eval $ac_try) 2>&5
10209 ac_status=$? 11389 ac_status=$?
10210 echo "$as_me:10210: \$? = $ac_status" >&5 11390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10211 (exit $ac_status); }; }; then 11391 (exit $ac_status); }; }; then
10212 ac_hi=$ac_mid 11392 ac_hi=$ac_mid
10213else 11393else
10214 echo "$as_me: failed program was:" >&5 11394 echo "$as_me: failed program was:" >&5
10215cat conftest.$ac_ext >&5 11395sed 's/^/| /' conftest.$ac_ext >&5
10216ac_lo=`expr $ac_mid + 1` 11396
11397ac_lo=`expr '(' $ac_mid ')' + 1`
10217fi 11398fi
10218rm -f conftest.$ac_objext conftest.$ac_ext 11399rm -f conftest.$ac_objext conftest.$ac_ext
10219done 11400done
10220ac_cv_sizeof_short_int=$ac_lo 11401case $ac_lo in
11402?*) ac_cv_sizeof_short_int=$ac_lo;;
11403'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int), 77
11404See \`config.log' for more details." >&5
11405echo "$as_me: error: cannot compute sizeof (short int), 77
11406See \`config.log' for more details." >&2;}
11407 { (exit 1); exit 1; }; } ;;
11408esac
10221else 11409else
10222 if test "$cross_compiling" = yes; then 11410 if test "$cross_compiling" = yes; then
10223 { { echo "$as_me:10223: error: cannot run test program while cross compiling" >&5 11411 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10224echo "$as_me: error: cannot run test program while cross compiling" >&2;} 11412See \`config.log' for more details." >&5
11413echo "$as_me: error: cannot run test program while cross compiling
11414See \`config.log' for more details." >&2;}
10225 { (exit 1); exit 1; }; } 11415 { (exit 1); exit 1; }; }
10226else 11416else
10227 cat >conftest.$ac_ext <<_ACEOF 11417 cat >conftest.$ac_ext <<_ACEOF
10228#line 10228 "configure" 11418#line $LINENO "configure"
10229#include "confdefs.h" 11419/* confdefs.h. */
11420_ACEOF
11421cat confdefs.h >>conftest.$ac_ext
11422cat >>conftest.$ac_ext <<_ACEOF
11423/* end confdefs.h. */
10230$ac_includes_default 11424$ac_includes_default
11425long longval () { return (long) (sizeof (short int)); }
11426unsigned long ulongval () { return (long) (sizeof (short int)); }
11427#include <stdio.h>
11428#include <stdlib.h>
10231int 11429int
10232main () 11430main ()
10233{ 11431{
10234FILE *f = fopen ("conftest.val", "w"); 11432
10235if (!f) 11433 FILE *f = fopen ("conftest.val", "w");
10236 exit (1); 11434 if (! f)
10237fprintf (f, "%d", (sizeof (short int))); 11435 exit (1);
10238fclose (f); 11436 if (((long) (sizeof (short int))) < 0)
11437 {
11438 long i = longval ();
11439 if (i != ((long) (sizeof (short int))))
11440 exit (1);
11441 fprintf (f, "%ld\n", i);
11442 }
11443 else
11444 {
11445 unsigned long i = ulongval ();
11446 if (i != ((long) (sizeof (short int))))
11447 exit (1);
11448 fprintf (f, "%lu\n", i);
11449 }
11450 exit (ferror (f) || fclose (f) != 0);
11451
10239 ; 11452 ;
10240 return 0; 11453 return 0;
10241} 11454}
10242_ACEOF 11455_ACEOF
10243rm -f conftest$ac_exeext 11456rm -f conftest$ac_exeext
10244if { (eval echo "$as_me:10244: \"$ac_link\"") >&5 11457if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10245 (eval $ac_link) 2>&5 11458 (eval $ac_link) 2>&5
10246 ac_status=$? 11459 ac_status=$?
10247 echo "$as_me:10247: \$? = $ac_status" >&5 11460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10248 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11461 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10249 { (eval echo "$as_me:10249: \"$ac_try\"") >&5 11462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10250 (eval $ac_try) 2>&5 11463 (eval $ac_try) 2>&5
10251 ac_status=$? 11464 ac_status=$?
10252 echo "$as_me:10252: \$? = $ac_status" >&5 11465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 (exit $ac_status); }; }; then 11466 (exit $ac_status); }; }; then
10254 ac_cv_sizeof_short_int=`cat conftest.val` 11467 ac_cv_sizeof_short_int=`cat conftest.val`
10255else 11468else
10256 echo "$as_me: program exited with status $ac_status" >&5 11469 echo "$as_me: program exited with status $ac_status" >&5
10257echo "$as_me: failed program was:" >&5 11470echo "$as_me: failed program was:" >&5
10258cat conftest.$ac_ext >&5 11471sed 's/^/| /' conftest.$ac_ext >&5
11472
11473( exit $ac_status )
11474{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short int), 77
11475See \`config.log' for more details." >&5
11476echo "$as_me: error: cannot compute sizeof (short int), 77
11477See \`config.log' for more details." >&2;}
11478 { (exit 1); exit 1; }; }
10259fi 11479fi
10260rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11480rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10261fi 11481fi
10262fi 11482fi
10263rm -f conftest.val 11483rm -f conftest.val
@@ -10265,20 +11485,25 @@ else
10265 ac_cv_sizeof_short_int=0 11485 ac_cv_sizeof_short_int=0
10266fi 11486fi
10267fi 11487fi
10268echo "$as_me:10268: result: $ac_cv_sizeof_short_int" >&5 11488echo "$as_me:$LINENO: result: $ac_cv_sizeof_short_int" >&5
10269echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6 11489echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6
10270cat >>confdefs.h <<EOF 11490cat >>confdefs.h <<_ACEOF
10271#define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int 11491#define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
10272EOF 11492_ACEOF
11493
10273 11494
10274echo "$as_me:10274: checking for int" >&5 11495echo "$as_me:$LINENO: checking for int" >&5
10275echo $ECHO_N "checking for int... $ECHO_C" >&6 11496echo $ECHO_N "checking for int... $ECHO_C" >&6
10276if test "${ac_cv_type_int+set}" = set; then 11497if test "${ac_cv_type_int+set}" = set; then
10277 echo $ECHO_N "(cached) $ECHO_C" >&6 11498 echo $ECHO_N "(cached) $ECHO_C" >&6
10278else 11499else
10279 cat >conftest.$ac_ext <<_ACEOF 11500 cat >conftest.$ac_ext <<_ACEOF
10280#line 10280 "configure" 11501#line $LINENO "configure"
10281#include "confdefs.h" 11502/* confdefs.h. */
11503_ACEOF
11504cat confdefs.h >>conftest.$ac_ext
11505cat >>conftest.$ac_ext <<_ACEOF
11506/* end confdefs.h. */
10282$ac_includes_default 11507$ac_includes_default
10283int 11508int
10284main () 11509main ()
@@ -10292,209 +11517,328 @@ if (sizeof (int))
10292} 11517}
10293_ACEOF 11518_ACEOF
10294rm -f conftest.$ac_objext 11519rm -f conftest.$ac_objext
10295if { (eval echo "$as_me:10295: \"$ac_compile\"") >&5 11520if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10296 (eval $ac_compile) 2>&5 11521 (eval $ac_compile) 2>&5
10297 ac_status=$? 11522 ac_status=$?
10298 echo "$as_me:10298: \$? = $ac_status" >&5 11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10299 (exit $ac_status); } && 11524 (exit $ac_status); } &&
10300 { ac_try='test -s conftest.$ac_objext' 11525 { ac_try='test -s conftest.$ac_objext'
10301 { (eval echo "$as_me:10301: \"$ac_try\"") >&5 11526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10302 (eval $ac_try) 2>&5 11527 (eval $ac_try) 2>&5
10303 ac_status=$? 11528 ac_status=$?
10304 echo "$as_me:10304: \$? = $ac_status" >&5 11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10305 (exit $ac_status); }; }; then 11530 (exit $ac_status); }; }; then
10306 ac_cv_type_int=yes 11531 ac_cv_type_int=yes
10307else 11532else
10308 echo "$as_me: failed program was:" >&5 11533 echo "$as_me: failed program was:" >&5
10309cat conftest.$ac_ext >&5 11534sed 's/^/| /' conftest.$ac_ext >&5
11535
10310ac_cv_type_int=no 11536ac_cv_type_int=no
10311fi 11537fi
10312rm -f conftest.$ac_objext conftest.$ac_ext 11538rm -f conftest.$ac_objext conftest.$ac_ext
10313fi 11539fi
10314echo "$as_me:10314: result: $ac_cv_type_int" >&5 11540echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
10315echo "${ECHO_T}$ac_cv_type_int" >&6 11541echo "${ECHO_T}$ac_cv_type_int" >&6
10316 11542
10317echo "$as_me:10317: checking size of int" >&5 11543echo "$as_me:$LINENO: checking size of int" >&5
10318echo $ECHO_N "checking size of int... $ECHO_C" >&6 11544echo $ECHO_N "checking size of int... $ECHO_C" >&6
10319if test "${ac_cv_sizeof_int+set}" = set; then 11545if test "${ac_cv_sizeof_int+set}" = set; then
10320 echo $ECHO_N "(cached) $ECHO_C" >&6 11546 echo $ECHO_N "(cached) $ECHO_C" >&6
10321else 11547else
10322 if test "$ac_cv_type_int" = yes; then 11548 if test "$ac_cv_type_int" = yes; then
11549 # The cast to unsigned long works around a bug in the HP C Compiler
11550 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11551 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11552 # This bug is HP SR number 8606223364.
10323 if test "$cross_compiling" = yes; then 11553 if test "$cross_compiling" = yes; then
10324 # Depending upon the size, compute the lo and hi bounds. 11554 # Depending upon the size, compute the lo and hi bounds.
10325cat >conftest.$ac_ext <<_ACEOF 11555cat >conftest.$ac_ext <<_ACEOF
10326#line 10326 "configure" 11556#line $LINENO "configure"
10327#include "confdefs.h" 11557/* confdefs.h. */
11558_ACEOF
11559cat confdefs.h >>conftest.$ac_ext
11560cat >>conftest.$ac_ext <<_ACEOF
11561/* end confdefs.h. */
10328$ac_includes_default 11562$ac_includes_default
10329int 11563int
10330main () 11564main ()
10331{ 11565{
10332int _array_ [1 - 2 * !((sizeof (int)) >= 0)] 11566static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
11567test_array [0] = 0
11568
10333 ; 11569 ;
10334 return 0; 11570 return 0;
10335} 11571}
10336_ACEOF 11572_ACEOF
10337rm -f conftest.$ac_objext 11573rm -f conftest.$ac_objext
10338if { (eval echo "$as_me:10338: \"$ac_compile\"") >&5 11574if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10339 (eval $ac_compile) 2>&5 11575 (eval $ac_compile) 2>&5
10340 ac_status=$? 11576 ac_status=$?
10341 echo "$as_me:10341: \$? = $ac_status" >&5 11577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10342 (exit $ac_status); } && 11578 (exit $ac_status); } &&
10343 { ac_try='test -s conftest.$ac_objext' 11579 { ac_try='test -s conftest.$ac_objext'
10344 { (eval echo "$as_me:10344: \"$ac_try\"") >&5 11580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10345 (eval $ac_try) 2>&5 11581 (eval $ac_try) 2>&5
10346 ac_status=$? 11582 ac_status=$?
10347 echo "$as_me:10347: \$? = $ac_status" >&5 11583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10348 (exit $ac_status); }; }; then 11584 (exit $ac_status); }; }; then
10349 ac_lo=0 ac_mid=0 11585 ac_lo=0 ac_mid=0
10350 while :; do 11586 while :; do
10351 cat >conftest.$ac_ext <<_ACEOF 11587 cat >conftest.$ac_ext <<_ACEOF
10352#line 10352 "configure" 11588#line $LINENO "configure"
10353#include "confdefs.h" 11589/* confdefs.h. */
11590_ACEOF
11591cat confdefs.h >>conftest.$ac_ext
11592cat >>conftest.$ac_ext <<_ACEOF
11593/* end confdefs.h. */
10354$ac_includes_default 11594$ac_includes_default
10355int 11595int
10356main () 11596main ()
10357{ 11597{
10358int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)] 11598static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
11599test_array [0] = 0
11600
10359 ; 11601 ;
10360 return 0; 11602 return 0;
10361} 11603}
10362_ACEOF 11604_ACEOF
10363rm -f conftest.$ac_objext 11605rm -f conftest.$ac_objext
10364if { (eval echo "$as_me:10364: \"$ac_compile\"") >&5 11606if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10365 (eval $ac_compile) 2>&5 11607 (eval $ac_compile) 2>&5
10366 ac_status=$? 11608 ac_status=$?
10367 echo "$as_me:10367: \$? = $ac_status" >&5 11609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10368 (exit $ac_status); } && 11610 (exit $ac_status); } &&
10369 { ac_try='test -s conftest.$ac_objext' 11611 { ac_try='test -s conftest.$ac_objext'
10370 { (eval echo "$as_me:10370: \"$ac_try\"") >&5 11612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10371 (eval $ac_try) 2>&5 11613 (eval $ac_try) 2>&5
10372 ac_status=$? 11614 ac_status=$?
10373 echo "$as_me:10373: \$? = $ac_status" >&5 11615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10374 (exit $ac_status); }; }; then 11616 (exit $ac_status); }; }; then
10375 ac_hi=$ac_mid; break 11617 ac_hi=$ac_mid; break
10376else 11618else
10377 echo "$as_me: failed program was:" >&5 11619 echo "$as_me: failed program was:" >&5
10378cat conftest.$ac_ext >&5 11620sed 's/^/| /' conftest.$ac_ext >&5
10379ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1` 11621
11622ac_lo=`expr $ac_mid + 1`
11623 if test $ac_lo -le $ac_mid; then
11624 ac_lo= ac_hi=
11625 break
11626 fi
11627 ac_mid=`expr 2 '*' $ac_mid + 1`
10380fi 11628fi
10381rm -f conftest.$ac_objext conftest.$ac_ext 11629rm -f conftest.$ac_objext conftest.$ac_ext
10382 done 11630 done
10383else 11631else
10384 echo "$as_me: failed program was:" >&5 11632 echo "$as_me: failed program was:" >&5
10385cat conftest.$ac_ext >&5 11633sed 's/^/| /' conftest.$ac_ext >&5
10386ac_hi=-1 ac_mid=-1 11634
11635cat >conftest.$ac_ext <<_ACEOF
11636#line $LINENO "configure"
11637/* confdefs.h. */
11638_ACEOF
11639cat confdefs.h >>conftest.$ac_ext
11640cat >>conftest.$ac_ext <<_ACEOF
11641/* end confdefs.h. */
11642$ac_includes_default
11643int
11644main ()
11645{
11646static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
11647test_array [0] = 0
11648
11649 ;
11650 return 0;
11651}
11652_ACEOF
11653rm -f conftest.$ac_objext
11654if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11655 (eval $ac_compile) 2>&5
11656 ac_status=$?
11657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11658 (exit $ac_status); } &&
11659 { ac_try='test -s conftest.$ac_objext'
11660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11661 (eval $ac_try) 2>&5
11662 ac_status=$?
11663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11664 (exit $ac_status); }; }; then
11665 ac_hi=-1 ac_mid=-1
10387 while :; do 11666 while :; do
10388 cat >conftest.$ac_ext <<_ACEOF 11667 cat >conftest.$ac_ext <<_ACEOF
10389#line 10389 "configure" 11668#line $LINENO "configure"
10390#include "confdefs.h" 11669/* confdefs.h. */
11670_ACEOF
11671cat confdefs.h >>conftest.$ac_ext
11672cat >>conftest.$ac_ext <<_ACEOF
11673/* end confdefs.h. */
10391$ac_includes_default 11674$ac_includes_default
10392int 11675int
10393main () 11676main ()
10394{ 11677{
10395int _array_ [1 - 2 * !((sizeof (int)) >= $ac_mid)] 11678static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
11679test_array [0] = 0
11680
10396 ; 11681 ;
10397 return 0; 11682 return 0;
10398} 11683}
10399_ACEOF 11684_ACEOF
10400rm -f conftest.$ac_objext 11685rm -f conftest.$ac_objext
10401if { (eval echo "$as_me:10401: \"$ac_compile\"") >&5 11686if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10402 (eval $ac_compile) 2>&5 11687 (eval $ac_compile) 2>&5
10403 ac_status=$? 11688 ac_status=$?
10404 echo "$as_me:10404: \$? = $ac_status" >&5 11689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10405 (exit $ac_status); } && 11690 (exit $ac_status); } &&
10406 { ac_try='test -s conftest.$ac_objext' 11691 { ac_try='test -s conftest.$ac_objext'
10407 { (eval echo "$as_me:10407: \"$ac_try\"") >&5 11692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10408 (eval $ac_try) 2>&5 11693 (eval $ac_try) 2>&5
10409 ac_status=$? 11694 ac_status=$?
10410 echo "$as_me:10410: \$? = $ac_status" >&5 11695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10411 (exit $ac_status); }; }; then 11696 (exit $ac_status); }; }; then
10412 ac_lo=$ac_mid; break 11697 ac_lo=$ac_mid; break
10413else 11698else
10414 echo "$as_me: failed program was:" >&5 11699 echo "$as_me: failed program was:" >&5
10415cat conftest.$ac_ext >&5 11700sed 's/^/| /' conftest.$ac_ext >&5
10416ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid` 11701
11702ac_hi=`expr '(' $ac_mid ')' - 1`
11703 if test $ac_mid -le $ac_hi; then
11704 ac_lo= ac_hi=
11705 break
11706 fi
11707 ac_mid=`expr 2 '*' $ac_mid`
10417fi 11708fi
10418rm -f conftest.$ac_objext conftest.$ac_ext 11709rm -f conftest.$ac_objext conftest.$ac_ext
10419 done 11710 done
11711else
11712 echo "$as_me: failed program was:" >&5
11713sed 's/^/| /' conftest.$ac_ext >&5
11714
11715ac_lo= ac_hi=
11716fi
11717rm -f conftest.$ac_objext conftest.$ac_ext
10420fi 11718fi
10421rm -f conftest.$ac_objext conftest.$ac_ext 11719rm -f conftest.$ac_objext conftest.$ac_ext
10422# Binary search between lo and hi bounds. 11720# Binary search between lo and hi bounds.
10423while test "x$ac_lo" != "x$ac_hi"; do 11721while test "x$ac_lo" != "x$ac_hi"; do
10424 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 11722 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10425 cat >conftest.$ac_ext <<_ACEOF 11723 cat >conftest.$ac_ext <<_ACEOF
10426#line 10426 "configure" 11724#line $LINENO "configure"
10427#include "confdefs.h" 11725/* confdefs.h. */
11726_ACEOF
11727cat confdefs.h >>conftest.$ac_ext
11728cat >>conftest.$ac_ext <<_ACEOF
11729/* end confdefs.h. */
10428$ac_includes_default 11730$ac_includes_default
10429int 11731int
10430main () 11732main ()
10431{ 11733{
10432int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)] 11734static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
11735test_array [0] = 0
11736
10433 ; 11737 ;
10434 return 0; 11738 return 0;
10435} 11739}
10436_ACEOF 11740_ACEOF
10437rm -f conftest.$ac_objext 11741rm -f conftest.$ac_objext
10438if { (eval echo "$as_me:10438: \"$ac_compile\"") >&5 11742if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10439 (eval $ac_compile) 2>&5 11743 (eval $ac_compile) 2>&5
10440 ac_status=$? 11744 ac_status=$?
10441 echo "$as_me:10441: \$? = $ac_status" >&5 11745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442 (exit $ac_status); } && 11746 (exit $ac_status); } &&
10443 { ac_try='test -s conftest.$ac_objext' 11747 { ac_try='test -s conftest.$ac_objext'
10444 { (eval echo "$as_me:10444: \"$ac_try\"") >&5 11748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10445 (eval $ac_try) 2>&5 11749 (eval $ac_try) 2>&5
10446 ac_status=$? 11750 ac_status=$?
10447 echo "$as_me:10447: \$? = $ac_status" >&5 11751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10448 (exit $ac_status); }; }; then 11752 (exit $ac_status); }; }; then
10449 ac_hi=$ac_mid 11753 ac_hi=$ac_mid
10450else 11754else
10451 echo "$as_me: failed program was:" >&5 11755 echo "$as_me: failed program was:" >&5
10452cat conftest.$ac_ext >&5 11756sed 's/^/| /' conftest.$ac_ext >&5
10453ac_lo=`expr $ac_mid + 1` 11757
11758ac_lo=`expr '(' $ac_mid ')' + 1`
10454fi 11759fi
10455rm -f conftest.$ac_objext conftest.$ac_ext 11760rm -f conftest.$ac_objext conftest.$ac_ext
10456done 11761done
10457ac_cv_sizeof_int=$ac_lo 11762case $ac_lo in
11763?*) ac_cv_sizeof_int=$ac_lo;;
11764'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
11765See \`config.log' for more details." >&5
11766echo "$as_me: error: cannot compute sizeof (int), 77
11767See \`config.log' for more details." >&2;}
11768 { (exit 1); exit 1; }; } ;;
11769esac
10458else 11770else
10459 if test "$cross_compiling" = yes; then 11771 if test "$cross_compiling" = yes; then
10460 { { echo "$as_me:10460: error: cannot run test program while cross compiling" >&5 11772 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10461echo "$as_me: error: cannot run test program while cross compiling" >&2;} 11773See \`config.log' for more details." >&5
11774echo "$as_me: error: cannot run test program while cross compiling
11775See \`config.log' for more details." >&2;}
10462 { (exit 1); exit 1; }; } 11776 { (exit 1); exit 1; }; }
10463else 11777else
10464 cat >conftest.$ac_ext <<_ACEOF 11778 cat >conftest.$ac_ext <<_ACEOF
10465#line 10465 "configure" 11779#line $LINENO "configure"
10466#include "confdefs.h" 11780/* confdefs.h. */
11781_ACEOF
11782cat confdefs.h >>conftest.$ac_ext
11783cat >>conftest.$ac_ext <<_ACEOF
11784/* end confdefs.h. */
10467$ac_includes_default 11785$ac_includes_default
11786long longval () { return (long) (sizeof (int)); }
11787unsigned long ulongval () { return (long) (sizeof (int)); }
11788#include <stdio.h>
11789#include <stdlib.h>
10468int 11790int
10469main () 11791main ()
10470{ 11792{
10471FILE *f = fopen ("conftest.val", "w"); 11793
10472if (!f) 11794 FILE *f = fopen ("conftest.val", "w");
10473 exit (1); 11795 if (! f)
10474fprintf (f, "%d", (sizeof (int))); 11796 exit (1);
10475fclose (f); 11797 if (((long) (sizeof (int))) < 0)
11798 {
11799 long i = longval ();
11800 if (i != ((long) (sizeof (int))))
11801 exit (1);
11802 fprintf (f, "%ld\n", i);
11803 }
11804 else
11805 {
11806 unsigned long i = ulongval ();
11807 if (i != ((long) (sizeof (int))))
11808 exit (1);
11809 fprintf (f, "%lu\n", i);
11810 }
11811 exit (ferror (f) || fclose (f) != 0);
11812
10476 ; 11813 ;
10477 return 0; 11814 return 0;
10478} 11815}
10479_ACEOF 11816_ACEOF
10480rm -f conftest$ac_exeext 11817rm -f conftest$ac_exeext
10481if { (eval echo "$as_me:10481: \"$ac_link\"") >&5 11818if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10482 (eval $ac_link) 2>&5 11819 (eval $ac_link) 2>&5
10483 ac_status=$? 11820 ac_status=$?
10484 echo "$as_me:10484: \$? = $ac_status" >&5 11821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10485 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11822 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10486 { (eval echo "$as_me:10486: \"$ac_try\"") >&5 11823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10487 (eval $ac_try) 2>&5 11824 (eval $ac_try) 2>&5
10488 ac_status=$? 11825 ac_status=$?
10489 echo "$as_me:10489: \$? = $ac_status" >&5 11826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10490 (exit $ac_status); }; }; then 11827 (exit $ac_status); }; }; then
10491 ac_cv_sizeof_int=`cat conftest.val` 11828 ac_cv_sizeof_int=`cat conftest.val`
10492else 11829else
10493 echo "$as_me: program exited with status $ac_status" >&5 11830 echo "$as_me: program exited with status $ac_status" >&5
10494echo "$as_me: failed program was:" >&5 11831echo "$as_me: failed program was:" >&5
10495cat conftest.$ac_ext >&5 11832sed 's/^/| /' conftest.$ac_ext >&5
11833
11834( exit $ac_status )
11835{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
11836See \`config.log' for more details." >&5
11837echo "$as_me: error: cannot compute sizeof (int), 77
11838See \`config.log' for more details." >&2;}
11839 { (exit 1); exit 1; }; }
10496fi 11840fi
10497rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11841rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10498fi 11842fi
10499fi 11843fi
10500rm -f conftest.val 11844rm -f conftest.val
@@ -10502,20 +11846,25 @@ else
10502 ac_cv_sizeof_int=0 11846 ac_cv_sizeof_int=0
10503fi 11847fi
10504fi 11848fi
10505echo "$as_me:10505: result: $ac_cv_sizeof_int" >&5 11849echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
10506echo "${ECHO_T}$ac_cv_sizeof_int" >&6 11850echo "${ECHO_T}$ac_cv_sizeof_int" >&6
10507cat >>confdefs.h <<EOF 11851cat >>confdefs.h <<_ACEOF
10508#define SIZEOF_INT $ac_cv_sizeof_int 11852#define SIZEOF_INT $ac_cv_sizeof_int
10509EOF 11853_ACEOF
11854
10510 11855
10511echo "$as_me:10511: checking for long int" >&5 11856echo "$as_me:$LINENO: checking for long int" >&5
10512echo $ECHO_N "checking for long int... $ECHO_C" >&6 11857echo $ECHO_N "checking for long int... $ECHO_C" >&6
10513if test "${ac_cv_type_long_int+set}" = set; then 11858if test "${ac_cv_type_long_int+set}" = set; then
10514 echo $ECHO_N "(cached) $ECHO_C" >&6 11859 echo $ECHO_N "(cached) $ECHO_C" >&6
10515else 11860else
10516 cat >conftest.$ac_ext <<_ACEOF 11861 cat >conftest.$ac_ext <<_ACEOF
10517#line 10517 "configure" 11862#line $LINENO "configure"
10518#include "confdefs.h" 11863/* confdefs.h. */
11864_ACEOF
11865cat confdefs.h >>conftest.$ac_ext
11866cat >>conftest.$ac_ext <<_ACEOF
11867/* end confdefs.h. */
10519$ac_includes_default 11868$ac_includes_default
10520int 11869int
10521main () 11870main ()
@@ -10529,209 +11878,328 @@ if (sizeof (long int))
10529} 11878}
10530_ACEOF 11879_ACEOF
10531rm -f conftest.$ac_objext 11880rm -f conftest.$ac_objext
10532if { (eval echo "$as_me:10532: \"$ac_compile\"") >&5 11881if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10533 (eval $ac_compile) 2>&5 11882 (eval $ac_compile) 2>&5
10534 ac_status=$? 11883 ac_status=$?
10535 echo "$as_me:10535: \$? = $ac_status" >&5 11884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10536 (exit $ac_status); } && 11885 (exit $ac_status); } &&
10537 { ac_try='test -s conftest.$ac_objext' 11886 { ac_try='test -s conftest.$ac_objext'
10538 { (eval echo "$as_me:10538: \"$ac_try\"") >&5 11887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10539 (eval $ac_try) 2>&5 11888 (eval $ac_try) 2>&5
10540 ac_status=$? 11889 ac_status=$?
10541 echo "$as_me:10541: \$? = $ac_status" >&5 11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10542 (exit $ac_status); }; }; then 11891 (exit $ac_status); }; }; then
10543 ac_cv_type_long_int=yes 11892 ac_cv_type_long_int=yes
10544else 11893else
10545 echo "$as_me: failed program was:" >&5 11894 echo "$as_me: failed program was:" >&5
10546cat conftest.$ac_ext >&5 11895sed 's/^/| /' conftest.$ac_ext >&5
11896
10547ac_cv_type_long_int=no 11897ac_cv_type_long_int=no
10548fi 11898fi
10549rm -f conftest.$ac_objext conftest.$ac_ext 11899rm -f conftest.$ac_objext conftest.$ac_ext
10550fi 11900fi
10551echo "$as_me:10551: result: $ac_cv_type_long_int" >&5 11901echo "$as_me:$LINENO: result: $ac_cv_type_long_int" >&5
10552echo "${ECHO_T}$ac_cv_type_long_int" >&6 11902echo "${ECHO_T}$ac_cv_type_long_int" >&6
10553 11903
10554echo "$as_me:10554: checking size of long int" >&5 11904echo "$as_me:$LINENO: checking size of long int" >&5
10555echo $ECHO_N "checking size of long int... $ECHO_C" >&6 11905echo $ECHO_N "checking size of long int... $ECHO_C" >&6
10556if test "${ac_cv_sizeof_long_int+set}" = set; then 11906if test "${ac_cv_sizeof_long_int+set}" = set; then
10557 echo $ECHO_N "(cached) $ECHO_C" >&6 11907 echo $ECHO_N "(cached) $ECHO_C" >&6
10558else 11908else
10559 if test "$ac_cv_type_long_int" = yes; then 11909 if test "$ac_cv_type_long_int" = yes; then
11910 # The cast to unsigned long works around a bug in the HP C Compiler
11911 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11912 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11913 # This bug is HP SR number 8606223364.
10560 if test "$cross_compiling" = yes; then 11914 if test "$cross_compiling" = yes; then
10561 # Depending upon the size, compute the lo and hi bounds. 11915 # Depending upon the size, compute the lo and hi bounds.
10562cat >conftest.$ac_ext <<_ACEOF 11916cat >conftest.$ac_ext <<_ACEOF
10563#line 10563 "configure" 11917#line $LINENO "configure"
10564#include "confdefs.h" 11918/* confdefs.h. */
11919_ACEOF
11920cat confdefs.h >>conftest.$ac_ext
11921cat >>conftest.$ac_ext <<_ACEOF
11922/* end confdefs.h. */
10565$ac_includes_default 11923$ac_includes_default
10566int 11924int
10567main () 11925main ()
10568{ 11926{
10569int _array_ [1 - 2 * !((sizeof (long int)) >= 0)] 11927static int test_array [1 - 2 * !(((long) (sizeof (long int))) >= 0)];
11928test_array [0] = 0
11929
10570 ; 11930 ;
10571 return 0; 11931 return 0;
10572} 11932}
10573_ACEOF 11933_ACEOF
10574rm -f conftest.$ac_objext 11934rm -f conftest.$ac_objext
10575if { (eval echo "$as_me:10575: \"$ac_compile\"") >&5 11935if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10576 (eval $ac_compile) 2>&5 11936 (eval $ac_compile) 2>&5
10577 ac_status=$? 11937 ac_status=$?
10578 echo "$as_me:10578: \$? = $ac_status" >&5 11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10579 (exit $ac_status); } && 11939 (exit $ac_status); } &&
10580 { ac_try='test -s conftest.$ac_objext' 11940 { ac_try='test -s conftest.$ac_objext'
10581 { (eval echo "$as_me:10581: \"$ac_try\"") >&5 11941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10582 (eval $ac_try) 2>&5 11942 (eval $ac_try) 2>&5
10583 ac_status=$? 11943 ac_status=$?
10584 echo "$as_me:10584: \$? = $ac_status" >&5 11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10585 (exit $ac_status); }; }; then 11945 (exit $ac_status); }; }; then
10586 ac_lo=0 ac_mid=0 11946 ac_lo=0 ac_mid=0
10587 while :; do 11947 while :; do
10588 cat >conftest.$ac_ext <<_ACEOF 11948 cat >conftest.$ac_ext <<_ACEOF
10589#line 10589 "configure" 11949#line $LINENO "configure"
10590#include "confdefs.h" 11950/* confdefs.h. */
11951_ACEOF
11952cat confdefs.h >>conftest.$ac_ext
11953cat >>conftest.$ac_ext <<_ACEOF
11954/* end confdefs.h. */
10591$ac_includes_default 11955$ac_includes_default
10592int 11956int
10593main () 11957main ()
10594{ 11958{
10595int _array_ [1 - 2 * !((sizeof (long int)) <= $ac_mid)] 11959static int test_array [1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)];
11960test_array [0] = 0
11961
10596 ; 11962 ;
10597 return 0; 11963 return 0;
10598} 11964}
10599_ACEOF 11965_ACEOF
10600rm -f conftest.$ac_objext 11966rm -f conftest.$ac_objext
10601if { (eval echo "$as_me:10601: \"$ac_compile\"") >&5 11967if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10602 (eval $ac_compile) 2>&5 11968 (eval $ac_compile) 2>&5
10603 ac_status=$? 11969 ac_status=$?
10604 echo "$as_me:10604: \$? = $ac_status" >&5 11970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10605 (exit $ac_status); } && 11971 (exit $ac_status); } &&
10606 { ac_try='test -s conftest.$ac_objext' 11972 { ac_try='test -s conftest.$ac_objext'
10607 { (eval echo "$as_me:10607: \"$ac_try\"") >&5 11973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10608 (eval $ac_try) 2>&5 11974 (eval $ac_try) 2>&5
10609 ac_status=$? 11975 ac_status=$?
10610 echo "$as_me:10610: \$? = $ac_status" >&5 11976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10611 (exit $ac_status); }; }; then 11977 (exit $ac_status); }; }; then
10612 ac_hi=$ac_mid; break 11978 ac_hi=$ac_mid; break
10613else 11979else
10614 echo "$as_me: failed program was:" >&5 11980 echo "$as_me: failed program was:" >&5
10615cat conftest.$ac_ext >&5 11981sed 's/^/| /' conftest.$ac_ext >&5
10616ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1` 11982
11983ac_lo=`expr $ac_mid + 1`
11984 if test $ac_lo -le $ac_mid; then
11985 ac_lo= ac_hi=
11986 break
11987 fi
11988 ac_mid=`expr 2 '*' $ac_mid + 1`
10617fi 11989fi
10618rm -f conftest.$ac_objext conftest.$ac_ext 11990rm -f conftest.$ac_objext conftest.$ac_ext
10619 done 11991 done
10620else 11992else
10621 echo "$as_me: failed program was:" >&5 11993 echo "$as_me: failed program was:" >&5
10622cat conftest.$ac_ext >&5 11994sed 's/^/| /' conftest.$ac_ext >&5
10623ac_hi=-1 ac_mid=-1 11995
11996cat >conftest.$ac_ext <<_ACEOF
11997#line $LINENO "configure"
11998/* confdefs.h. */
11999_ACEOF
12000cat confdefs.h >>conftest.$ac_ext
12001cat >>conftest.$ac_ext <<_ACEOF
12002/* end confdefs.h. */
12003$ac_includes_default
12004int
12005main ()
12006{
12007static int test_array [1 - 2 * !(((long) (sizeof (long int))) < 0)];
12008test_array [0] = 0
12009
12010 ;
12011 return 0;
12012}
12013_ACEOF
12014rm -f conftest.$ac_objext
12015if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12016 (eval $ac_compile) 2>&5
12017 ac_status=$?
12018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12019 (exit $ac_status); } &&
12020 { ac_try='test -s conftest.$ac_objext'
12021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12022 (eval $ac_try) 2>&5
12023 ac_status=$?
12024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12025 (exit $ac_status); }; }; then
12026 ac_hi=-1 ac_mid=-1
10624 while :; do 12027 while :; do
10625 cat >conftest.$ac_ext <<_ACEOF 12028 cat >conftest.$ac_ext <<_ACEOF
10626#line 10626 "configure" 12029#line $LINENO "configure"
10627#include "confdefs.h" 12030/* confdefs.h. */
12031_ACEOF
12032cat confdefs.h >>conftest.$ac_ext
12033cat >>conftest.$ac_ext <<_ACEOF
12034/* end confdefs.h. */
10628$ac_includes_default 12035$ac_includes_default
10629int 12036int
10630main () 12037main ()
10631{ 12038{
10632int _array_ [1 - 2 * !((sizeof (long int)) >= $ac_mid)] 12039static int test_array [1 - 2 * !(((long) (sizeof (long int))) >= $ac_mid)];
12040test_array [0] = 0
12041
10633 ; 12042 ;
10634 return 0; 12043 return 0;
10635} 12044}
10636_ACEOF 12045_ACEOF
10637rm -f conftest.$ac_objext 12046rm -f conftest.$ac_objext
10638if { (eval echo "$as_me:10638: \"$ac_compile\"") >&5 12047if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10639 (eval $ac_compile) 2>&5 12048 (eval $ac_compile) 2>&5
10640 ac_status=$? 12049 ac_status=$?
10641 echo "$as_me:10641: \$? = $ac_status" >&5 12050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10642 (exit $ac_status); } && 12051 (exit $ac_status); } &&
10643 { ac_try='test -s conftest.$ac_objext' 12052 { ac_try='test -s conftest.$ac_objext'
10644 { (eval echo "$as_me:10644: \"$ac_try\"") >&5 12053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10645 (eval $ac_try) 2>&5 12054 (eval $ac_try) 2>&5
10646 ac_status=$? 12055 ac_status=$?
10647 echo "$as_me:10647: \$? = $ac_status" >&5 12056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10648 (exit $ac_status); }; }; then 12057 (exit $ac_status); }; }; then
10649 ac_lo=$ac_mid; break 12058 ac_lo=$ac_mid; break
10650else 12059else
10651 echo "$as_me: failed program was:" >&5 12060 echo "$as_me: failed program was:" >&5
10652cat conftest.$ac_ext >&5 12061sed 's/^/| /' conftest.$ac_ext >&5
10653ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid` 12062
12063ac_hi=`expr '(' $ac_mid ')' - 1`
12064 if test $ac_mid -le $ac_hi; then
12065 ac_lo= ac_hi=
12066 break
12067 fi
12068 ac_mid=`expr 2 '*' $ac_mid`
10654fi 12069fi
10655rm -f conftest.$ac_objext conftest.$ac_ext 12070rm -f conftest.$ac_objext conftest.$ac_ext
10656 done 12071 done
12072else
12073 echo "$as_me: failed program was:" >&5
12074sed 's/^/| /' conftest.$ac_ext >&5
12075
12076ac_lo= ac_hi=
12077fi
12078rm -f conftest.$ac_objext conftest.$ac_ext
10657fi 12079fi
10658rm -f conftest.$ac_objext conftest.$ac_ext 12080rm -f conftest.$ac_objext conftest.$ac_ext
10659# Binary search between lo and hi bounds. 12081# Binary search between lo and hi bounds.
10660while test "x$ac_lo" != "x$ac_hi"; do 12082while test "x$ac_lo" != "x$ac_hi"; do
10661 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 12083 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10662 cat >conftest.$ac_ext <<_ACEOF 12084 cat >conftest.$ac_ext <<_ACEOF
10663#line 10663 "configure" 12085#line $LINENO "configure"
10664#include "confdefs.h" 12086/* confdefs.h. */
12087_ACEOF
12088cat confdefs.h >>conftest.$ac_ext
12089cat >>conftest.$ac_ext <<_ACEOF
12090/* end confdefs.h. */
10665$ac_includes_default 12091$ac_includes_default
10666int 12092int
10667main () 12093main ()
10668{ 12094{
10669int _array_ [1 - 2 * !((sizeof (long int)) <= $ac_mid)] 12095static int test_array [1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)];
12096test_array [0] = 0
12097
10670 ; 12098 ;
10671 return 0; 12099 return 0;
10672} 12100}
10673_ACEOF 12101_ACEOF
10674rm -f conftest.$ac_objext 12102rm -f conftest.$ac_objext
10675if { (eval echo "$as_me:10675: \"$ac_compile\"") >&5 12103if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10676 (eval $ac_compile) 2>&5 12104 (eval $ac_compile) 2>&5
10677 ac_status=$? 12105 ac_status=$?
10678 echo "$as_me:10678: \$? = $ac_status" >&5 12106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10679 (exit $ac_status); } && 12107 (exit $ac_status); } &&
10680 { ac_try='test -s conftest.$ac_objext' 12108 { ac_try='test -s conftest.$ac_objext'
10681 { (eval echo "$as_me:10681: \"$ac_try\"") >&5 12109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10682 (eval $ac_try) 2>&5 12110 (eval $ac_try) 2>&5
10683 ac_status=$? 12111 ac_status=$?
10684 echo "$as_me:10684: \$? = $ac_status" >&5 12112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10685 (exit $ac_status); }; }; then 12113 (exit $ac_status); }; }; then
10686 ac_hi=$ac_mid 12114 ac_hi=$ac_mid
10687else 12115else
10688 echo "$as_me: failed program was:" >&5 12116 echo "$as_me: failed program was:" >&5
10689cat conftest.$ac_ext >&5 12117sed 's/^/| /' conftest.$ac_ext >&5
10690ac_lo=`expr $ac_mid + 1` 12118
12119ac_lo=`expr '(' $ac_mid ')' + 1`
10691fi 12120fi
10692rm -f conftest.$ac_objext conftest.$ac_ext 12121rm -f conftest.$ac_objext conftest.$ac_ext
10693done 12122done
10694ac_cv_sizeof_long_int=$ac_lo 12123case $ac_lo in
12124?*) ac_cv_sizeof_long_int=$ac_lo;;
12125'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77
12126See \`config.log' for more details." >&5
12127echo "$as_me: error: cannot compute sizeof (long int), 77
12128See \`config.log' for more details." >&2;}
12129 { (exit 1); exit 1; }; } ;;
12130esac
10695else 12131else
10696 if test "$cross_compiling" = yes; then 12132 if test "$cross_compiling" = yes; then
10697 { { echo "$as_me:10697: error: cannot run test program while cross compiling" >&5 12133 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10698echo "$as_me: error: cannot run test program while cross compiling" >&2;} 12134See \`config.log' for more details." >&5
12135echo "$as_me: error: cannot run test program while cross compiling
12136See \`config.log' for more details." >&2;}
10699 { (exit 1); exit 1; }; } 12137 { (exit 1); exit 1; }; }
10700else 12138else
10701 cat >conftest.$ac_ext <<_ACEOF 12139 cat >conftest.$ac_ext <<_ACEOF
10702#line 10702 "configure" 12140#line $LINENO "configure"
10703#include "confdefs.h" 12141/* confdefs.h. */
12142_ACEOF
12143cat confdefs.h >>conftest.$ac_ext
12144cat >>conftest.$ac_ext <<_ACEOF
12145/* end confdefs.h. */
10704$ac_includes_default 12146$ac_includes_default
12147long longval () { return (long) (sizeof (long int)); }
12148unsigned long ulongval () { return (long) (sizeof (long int)); }
12149#include <stdio.h>
12150#include <stdlib.h>
10705int 12151int
10706main () 12152main ()
10707{ 12153{
10708FILE *f = fopen ("conftest.val", "w"); 12154
10709if (!f) 12155 FILE *f = fopen ("conftest.val", "w");
10710 exit (1); 12156 if (! f)
10711fprintf (f, "%d", (sizeof (long int))); 12157 exit (1);
10712fclose (f); 12158 if (((long) (sizeof (long int))) < 0)
12159 {
12160 long i = longval ();
12161 if (i != ((long) (sizeof (long int))))
12162 exit (1);
12163 fprintf (f, "%ld\n", i);
12164 }
12165 else
12166 {
12167 unsigned long i = ulongval ();
12168 if (i != ((long) (sizeof (long int))))
12169 exit (1);
12170 fprintf (f, "%lu\n", i);
12171 }
12172 exit (ferror (f) || fclose (f) != 0);
12173
10713 ; 12174 ;
10714 return 0; 12175 return 0;
10715} 12176}
10716_ACEOF 12177_ACEOF
10717rm -f conftest$ac_exeext 12178rm -f conftest$ac_exeext
10718if { (eval echo "$as_me:10718: \"$ac_link\"") >&5 12179if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10719 (eval $ac_link) 2>&5 12180 (eval $ac_link) 2>&5
10720 ac_status=$? 12181 ac_status=$?
10721 echo "$as_me:10721: \$? = $ac_status" >&5 12182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10722 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12183 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10723 { (eval echo "$as_me:10723: \"$ac_try\"") >&5 12184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10724 (eval $ac_try) 2>&5 12185 (eval $ac_try) 2>&5
10725 ac_status=$? 12186 ac_status=$?
10726 echo "$as_me:10726: \$? = $ac_status" >&5 12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10727 (exit $ac_status); }; }; then 12188 (exit $ac_status); }; }; then
10728 ac_cv_sizeof_long_int=`cat conftest.val` 12189 ac_cv_sizeof_long_int=`cat conftest.val`
10729else 12190else
10730 echo "$as_me: program exited with status $ac_status" >&5 12191 echo "$as_me: program exited with status $ac_status" >&5
10731echo "$as_me: failed program was:" >&5 12192echo "$as_me: failed program was:" >&5
10732cat conftest.$ac_ext >&5 12193sed 's/^/| /' conftest.$ac_ext >&5
12194
12195( exit $ac_status )
12196{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77
12197See \`config.log' for more details." >&5
12198echo "$as_me: error: cannot compute sizeof (long int), 77
12199See \`config.log' for more details." >&2;}
12200 { (exit 1); exit 1; }; }
10733fi 12201fi
10734rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12202rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10735fi 12203fi
10736fi 12204fi
10737rm -f conftest.val 12205rm -f conftest.val
@@ -10739,20 +12207,25 @@ else
10739 ac_cv_sizeof_long_int=0 12207 ac_cv_sizeof_long_int=0
10740fi 12208fi
10741fi 12209fi
10742echo "$as_me:10742: result: $ac_cv_sizeof_long_int" >&5 12210echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_int" >&5
10743echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6 12211echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6
10744cat >>confdefs.h <<EOF 12212cat >>confdefs.h <<_ACEOF
10745#define SIZEOF_LONG_INT $ac_cv_sizeof_long_int 12213#define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
10746EOF 12214_ACEOF
12215
10747 12216
10748echo "$as_me:10748: checking for long long int" >&5 12217echo "$as_me:$LINENO: checking for long long int" >&5
10749echo $ECHO_N "checking for long long int... $ECHO_C" >&6 12218echo $ECHO_N "checking for long long int... $ECHO_C" >&6
10750if test "${ac_cv_type_long_long_int+set}" = set; then 12219if test "${ac_cv_type_long_long_int+set}" = set; then
10751 echo $ECHO_N "(cached) $ECHO_C" >&6 12220 echo $ECHO_N "(cached) $ECHO_C" >&6
10752else 12221else
10753 cat >conftest.$ac_ext <<_ACEOF 12222 cat >conftest.$ac_ext <<_ACEOF
10754#line 10754 "configure" 12223#line $LINENO "configure"
10755#include "confdefs.h" 12224/* confdefs.h. */
12225_ACEOF
12226cat confdefs.h >>conftest.$ac_ext
12227cat >>conftest.$ac_ext <<_ACEOF
12228/* end confdefs.h. */
10756$ac_includes_default 12229$ac_includes_default
10757int 12230int
10758main () 12231main ()
@@ -10766,209 +12239,328 @@ if (sizeof (long long int))
10766} 12239}
10767_ACEOF 12240_ACEOF
10768rm -f conftest.$ac_objext 12241rm -f conftest.$ac_objext
10769if { (eval echo "$as_me:10769: \"$ac_compile\"") >&5 12242if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10770 (eval $ac_compile) 2>&5 12243 (eval $ac_compile) 2>&5
10771 ac_status=$? 12244 ac_status=$?
10772 echo "$as_me:10772: \$? = $ac_status" >&5 12245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 (exit $ac_status); } && 12246 (exit $ac_status); } &&
10774 { ac_try='test -s conftest.$ac_objext' 12247 { ac_try='test -s conftest.$ac_objext'
10775 { (eval echo "$as_me:10775: \"$ac_try\"") >&5 12248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10776 (eval $ac_try) 2>&5 12249 (eval $ac_try) 2>&5
10777 ac_status=$? 12250 ac_status=$?
10778 echo "$as_me:10778: \$? = $ac_status" >&5 12251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10779 (exit $ac_status); }; }; then 12252 (exit $ac_status); }; }; then
10780 ac_cv_type_long_long_int=yes 12253 ac_cv_type_long_long_int=yes
10781else 12254else
10782 echo "$as_me: failed program was:" >&5 12255 echo "$as_me: failed program was:" >&5
10783cat conftest.$ac_ext >&5 12256sed 's/^/| /' conftest.$ac_ext >&5
12257
10784ac_cv_type_long_long_int=no 12258ac_cv_type_long_long_int=no
10785fi 12259fi
10786rm -f conftest.$ac_objext conftest.$ac_ext 12260rm -f conftest.$ac_objext conftest.$ac_ext
10787fi 12261fi
10788echo "$as_me:10788: result: $ac_cv_type_long_long_int" >&5 12262echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
10789echo "${ECHO_T}$ac_cv_type_long_long_int" >&6 12263echo "${ECHO_T}$ac_cv_type_long_long_int" >&6
10790 12264
10791echo "$as_me:10791: checking size of long long int" >&5 12265echo "$as_me:$LINENO: checking size of long long int" >&5
10792echo $ECHO_N "checking size of long long int... $ECHO_C" >&6 12266echo $ECHO_N "checking size of long long int... $ECHO_C" >&6
10793if test "${ac_cv_sizeof_long_long_int+set}" = set; then 12267if test "${ac_cv_sizeof_long_long_int+set}" = set; then
10794 echo $ECHO_N "(cached) $ECHO_C" >&6 12268 echo $ECHO_N "(cached) $ECHO_C" >&6
10795else 12269else
10796 if test "$ac_cv_type_long_long_int" = yes; then 12270 if test "$ac_cv_type_long_long_int" = yes; then
12271 # The cast to unsigned long works around a bug in the HP C Compiler
12272 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12273 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12274 # This bug is HP SR number 8606223364.
10797 if test "$cross_compiling" = yes; then 12275 if test "$cross_compiling" = yes; then
10798 # Depending upon the size, compute the lo and hi bounds. 12276 # Depending upon the size, compute the lo and hi bounds.
10799cat >conftest.$ac_ext <<_ACEOF 12277cat >conftest.$ac_ext <<_ACEOF
10800#line 10800 "configure" 12278#line $LINENO "configure"
10801#include "confdefs.h" 12279/* confdefs.h. */
12280_ACEOF
12281cat confdefs.h >>conftest.$ac_ext
12282cat >>conftest.$ac_ext <<_ACEOF
12283/* end confdefs.h. */
10802$ac_includes_default 12284$ac_includes_default
10803int 12285int
10804main () 12286main ()
10805{ 12287{
10806int _array_ [1 - 2 * !((sizeof (long long int)) >= 0)] 12288static int test_array [1 - 2 * !(((long) (sizeof (long long int))) >= 0)];
12289test_array [0] = 0
12290
10807 ; 12291 ;
10808 return 0; 12292 return 0;
10809} 12293}
10810_ACEOF 12294_ACEOF
10811rm -f conftest.$ac_objext 12295rm -f conftest.$ac_objext
10812if { (eval echo "$as_me:10812: \"$ac_compile\"") >&5 12296if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10813 (eval $ac_compile) 2>&5 12297 (eval $ac_compile) 2>&5
10814 ac_status=$? 12298 ac_status=$?
10815 echo "$as_me:10815: \$? = $ac_status" >&5 12299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816 (exit $ac_status); } && 12300 (exit $ac_status); } &&
10817 { ac_try='test -s conftest.$ac_objext' 12301 { ac_try='test -s conftest.$ac_objext'
10818 { (eval echo "$as_me:10818: \"$ac_try\"") >&5 12302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10819 (eval $ac_try) 2>&5 12303 (eval $ac_try) 2>&5
10820 ac_status=$? 12304 ac_status=$?
10821 echo "$as_me:10821: \$? = $ac_status" >&5 12305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822 (exit $ac_status); }; }; then 12306 (exit $ac_status); }; }; then
10823 ac_lo=0 ac_mid=0 12307 ac_lo=0 ac_mid=0
10824 while :; do 12308 while :; do
10825 cat >conftest.$ac_ext <<_ACEOF 12309 cat >conftest.$ac_ext <<_ACEOF
10826#line 10826 "configure" 12310#line $LINENO "configure"
10827#include "confdefs.h" 12311/* confdefs.h. */
12312_ACEOF
12313cat confdefs.h >>conftest.$ac_ext
12314cat >>conftest.$ac_ext <<_ACEOF
12315/* end confdefs.h. */
10828$ac_includes_default 12316$ac_includes_default
10829int 12317int
10830main () 12318main ()
10831{ 12319{
10832int _array_ [1 - 2 * !((sizeof (long long int)) <= $ac_mid)] 12320static int test_array [1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)];
12321test_array [0] = 0
12322
10833 ; 12323 ;
10834 return 0; 12324 return 0;
10835} 12325}
10836_ACEOF 12326_ACEOF
10837rm -f conftest.$ac_objext 12327rm -f conftest.$ac_objext
10838if { (eval echo "$as_me:10838: \"$ac_compile\"") >&5 12328if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10839 (eval $ac_compile) 2>&5 12329 (eval $ac_compile) 2>&5
10840 ac_status=$? 12330 ac_status=$?
10841 echo "$as_me:10841: \$? = $ac_status" >&5 12331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); } && 12332 (exit $ac_status); } &&
10843 { ac_try='test -s conftest.$ac_objext' 12333 { ac_try='test -s conftest.$ac_objext'
10844 { (eval echo "$as_me:10844: \"$ac_try\"") >&5 12334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10845 (eval $ac_try) 2>&5 12335 (eval $ac_try) 2>&5
10846 ac_status=$? 12336 ac_status=$?
10847 echo "$as_me:10847: \$? = $ac_status" >&5 12337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10848 (exit $ac_status); }; }; then 12338 (exit $ac_status); }; }; then
10849 ac_hi=$ac_mid; break 12339 ac_hi=$ac_mid; break
10850else 12340else
10851 echo "$as_me: failed program was:" >&5 12341 echo "$as_me: failed program was:" >&5
10852cat conftest.$ac_ext >&5 12342sed 's/^/| /' conftest.$ac_ext >&5
10853ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1` 12343
12344ac_lo=`expr $ac_mid + 1`
12345 if test $ac_lo -le $ac_mid; then
12346 ac_lo= ac_hi=
12347 break
12348 fi
12349 ac_mid=`expr 2 '*' $ac_mid + 1`
10854fi 12350fi
10855rm -f conftest.$ac_objext conftest.$ac_ext 12351rm -f conftest.$ac_objext conftest.$ac_ext
10856 done 12352 done
10857else 12353else
10858 echo "$as_me: failed program was:" >&5 12354 echo "$as_me: failed program was:" >&5
10859cat conftest.$ac_ext >&5 12355sed 's/^/| /' conftest.$ac_ext >&5
10860ac_hi=-1 ac_mid=-1 12356
12357cat >conftest.$ac_ext <<_ACEOF
12358#line $LINENO "configure"
12359/* confdefs.h. */
12360_ACEOF
12361cat confdefs.h >>conftest.$ac_ext
12362cat >>conftest.$ac_ext <<_ACEOF
12363/* end confdefs.h. */
12364$ac_includes_default
12365int
12366main ()
12367{
12368static int test_array [1 - 2 * !(((long) (sizeof (long long int))) < 0)];
12369test_array [0] = 0
12370
12371 ;
12372 return 0;
12373}
12374_ACEOF
12375rm -f conftest.$ac_objext
12376if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12377 (eval $ac_compile) 2>&5
12378 ac_status=$?
12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380 (exit $ac_status); } &&
12381 { ac_try='test -s conftest.$ac_objext'
12382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12383 (eval $ac_try) 2>&5
12384 ac_status=$?
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); }; }; then
12387 ac_hi=-1 ac_mid=-1
10861 while :; do 12388 while :; do
10862 cat >conftest.$ac_ext <<_ACEOF 12389 cat >conftest.$ac_ext <<_ACEOF
10863#line 10863 "configure" 12390#line $LINENO "configure"
10864#include "confdefs.h" 12391/* confdefs.h. */
12392_ACEOF
12393cat confdefs.h >>conftest.$ac_ext
12394cat >>conftest.$ac_ext <<_ACEOF
12395/* end confdefs.h. */
10865$ac_includes_default 12396$ac_includes_default
10866int 12397int
10867main () 12398main ()
10868{ 12399{
10869int _array_ [1 - 2 * !((sizeof (long long int)) >= $ac_mid)] 12400static int test_array [1 - 2 * !(((long) (sizeof (long long int))) >= $ac_mid)];
12401test_array [0] = 0
12402
10870 ; 12403 ;
10871 return 0; 12404 return 0;
10872} 12405}
10873_ACEOF 12406_ACEOF
10874rm -f conftest.$ac_objext 12407rm -f conftest.$ac_objext
10875if { (eval echo "$as_me:10875: \"$ac_compile\"") >&5 12408if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10876 (eval $ac_compile) 2>&5 12409 (eval $ac_compile) 2>&5
10877 ac_status=$? 12410 ac_status=$?
10878 echo "$as_me:10878: \$? = $ac_status" >&5 12411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879 (exit $ac_status); } && 12412 (exit $ac_status); } &&
10880 { ac_try='test -s conftest.$ac_objext' 12413 { ac_try='test -s conftest.$ac_objext'
10881 { (eval echo "$as_me:10881: \"$ac_try\"") >&5 12414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10882 (eval $ac_try) 2>&5 12415 (eval $ac_try) 2>&5
10883 ac_status=$? 12416 ac_status=$?
10884 echo "$as_me:10884: \$? = $ac_status" >&5 12417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10885 (exit $ac_status); }; }; then 12418 (exit $ac_status); }; }; then
10886 ac_lo=$ac_mid; break 12419 ac_lo=$ac_mid; break
10887else 12420else
10888 echo "$as_me: failed program was:" >&5 12421 echo "$as_me: failed program was:" >&5
10889cat conftest.$ac_ext >&5 12422sed 's/^/| /' conftest.$ac_ext >&5
10890ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid` 12423
12424ac_hi=`expr '(' $ac_mid ')' - 1`
12425 if test $ac_mid -le $ac_hi; then
12426 ac_lo= ac_hi=
12427 break
12428 fi
12429 ac_mid=`expr 2 '*' $ac_mid`
10891fi 12430fi
10892rm -f conftest.$ac_objext conftest.$ac_ext 12431rm -f conftest.$ac_objext conftest.$ac_ext
10893 done 12432 done
12433else
12434 echo "$as_me: failed program was:" >&5
12435sed 's/^/| /' conftest.$ac_ext >&5
12436
12437ac_lo= ac_hi=
12438fi
12439rm -f conftest.$ac_objext conftest.$ac_ext
10894fi 12440fi
10895rm -f conftest.$ac_objext conftest.$ac_ext 12441rm -f conftest.$ac_objext conftest.$ac_ext
10896# Binary search between lo and hi bounds. 12442# Binary search between lo and hi bounds.
10897while test "x$ac_lo" != "x$ac_hi"; do 12443while test "x$ac_lo" != "x$ac_hi"; do
10898 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 12444 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10899 cat >conftest.$ac_ext <<_ACEOF 12445 cat >conftest.$ac_ext <<_ACEOF
10900#line 10900 "configure" 12446#line $LINENO "configure"
10901#include "confdefs.h" 12447/* confdefs.h. */
12448_ACEOF
12449cat confdefs.h >>conftest.$ac_ext
12450cat >>conftest.$ac_ext <<_ACEOF
12451/* end confdefs.h. */
10902$ac_includes_default 12452$ac_includes_default
10903int 12453int
10904main () 12454main ()
10905{ 12455{
10906int _array_ [1 - 2 * !((sizeof (long long int)) <= $ac_mid)] 12456static int test_array [1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)];
12457test_array [0] = 0
12458
10907 ; 12459 ;
10908 return 0; 12460 return 0;
10909} 12461}
10910_ACEOF 12462_ACEOF
10911rm -f conftest.$ac_objext 12463rm -f conftest.$ac_objext
10912if { (eval echo "$as_me:10912: \"$ac_compile\"") >&5 12464if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10913 (eval $ac_compile) 2>&5 12465 (eval $ac_compile) 2>&5
10914 ac_status=$? 12466 ac_status=$?
10915 echo "$as_me:10915: \$? = $ac_status" >&5 12467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10916 (exit $ac_status); } && 12468 (exit $ac_status); } &&
10917 { ac_try='test -s conftest.$ac_objext' 12469 { ac_try='test -s conftest.$ac_objext'
10918 { (eval echo "$as_me:10918: \"$ac_try\"") >&5 12470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10919 (eval $ac_try) 2>&5 12471 (eval $ac_try) 2>&5
10920 ac_status=$? 12472 ac_status=$?
10921 echo "$as_me:10921: \$? = $ac_status" >&5 12473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10922 (exit $ac_status); }; }; then 12474 (exit $ac_status); }; }; then
10923 ac_hi=$ac_mid 12475 ac_hi=$ac_mid
10924else 12476else
10925 echo "$as_me: failed program was:" >&5 12477 echo "$as_me: failed program was:" >&5
10926cat conftest.$ac_ext >&5 12478sed 's/^/| /' conftest.$ac_ext >&5
10927ac_lo=`expr $ac_mid + 1` 12479
12480ac_lo=`expr '(' $ac_mid ')' + 1`
10928fi 12481fi
10929rm -f conftest.$ac_objext conftest.$ac_ext 12482rm -f conftest.$ac_objext conftest.$ac_ext
10930done 12483done
10931ac_cv_sizeof_long_long_int=$ac_lo 12484case $ac_lo in
12485?*) ac_cv_sizeof_long_long_int=$ac_lo;;
12486'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int), 77
12487See \`config.log' for more details." >&5
12488echo "$as_me: error: cannot compute sizeof (long long int), 77
12489See \`config.log' for more details." >&2;}
12490 { (exit 1); exit 1; }; } ;;
12491esac
10932else 12492else
10933 if test "$cross_compiling" = yes; then 12493 if test "$cross_compiling" = yes; then
10934 { { echo "$as_me:10934: error: cannot run test program while cross compiling" >&5 12494 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10935echo "$as_me: error: cannot run test program while cross compiling" >&2;} 12495See \`config.log' for more details." >&5
12496echo "$as_me: error: cannot run test program while cross compiling
12497See \`config.log' for more details." >&2;}
10936 { (exit 1); exit 1; }; } 12498 { (exit 1); exit 1; }; }
10937else 12499else
10938 cat >conftest.$ac_ext <<_ACEOF 12500 cat >conftest.$ac_ext <<_ACEOF
10939#line 10939 "configure" 12501#line $LINENO "configure"
10940#include "confdefs.h" 12502/* confdefs.h. */
12503_ACEOF
12504cat confdefs.h >>conftest.$ac_ext
12505cat >>conftest.$ac_ext <<_ACEOF
12506/* end confdefs.h. */
10941$ac_includes_default 12507$ac_includes_default
12508long longval () { return (long) (sizeof (long long int)); }
12509unsigned long ulongval () { return (long) (sizeof (long long int)); }
12510#include <stdio.h>
12511#include <stdlib.h>
10942int 12512int
10943main () 12513main ()
10944{ 12514{
10945FILE *f = fopen ("conftest.val", "w"); 12515
10946if (!f) 12516 FILE *f = fopen ("conftest.val", "w");
10947 exit (1); 12517 if (! f)
10948fprintf (f, "%d", (sizeof (long long int))); 12518 exit (1);
10949fclose (f); 12519 if (((long) (sizeof (long long int))) < 0)
12520 {
12521 long i = longval ();
12522 if (i != ((long) (sizeof (long long int))))
12523 exit (1);
12524 fprintf (f, "%ld\n", i);
12525 }
12526 else
12527 {
12528 unsigned long i = ulongval ();
12529 if (i != ((long) (sizeof (long long int))))
12530 exit (1);
12531 fprintf (f, "%lu\n", i);
12532 }
12533 exit (ferror (f) || fclose (f) != 0);
12534
10950 ; 12535 ;
10951 return 0; 12536 return 0;
10952} 12537}
10953_ACEOF 12538_ACEOF
10954rm -f conftest$ac_exeext 12539rm -f conftest$ac_exeext
10955if { (eval echo "$as_me:10955: \"$ac_link\"") >&5 12540if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10956 (eval $ac_link) 2>&5 12541 (eval $ac_link) 2>&5
10957 ac_status=$? 12542 ac_status=$?
10958 echo "$as_me:10958: \$? = $ac_status" >&5 12543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10959 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12544 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10960 { (eval echo "$as_me:10960: \"$ac_try\"") >&5 12545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10961 (eval $ac_try) 2>&5 12546 (eval $ac_try) 2>&5
10962 ac_status=$? 12547 ac_status=$?
10963 echo "$as_me:10963: \$? = $ac_status" >&5 12548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10964 (exit $ac_status); }; }; then 12549 (exit $ac_status); }; }; then
10965 ac_cv_sizeof_long_long_int=`cat conftest.val` 12550 ac_cv_sizeof_long_long_int=`cat conftest.val`
10966else 12551else
10967 echo "$as_me: program exited with status $ac_status" >&5 12552 echo "$as_me: program exited with status $ac_status" >&5
10968echo "$as_me: failed program was:" >&5 12553echo "$as_me: failed program was:" >&5
10969cat conftest.$ac_ext >&5 12554sed 's/^/| /' conftest.$ac_ext >&5
12555
12556( exit $ac_status )
12557{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int), 77
12558See \`config.log' for more details." >&5
12559echo "$as_me: error: cannot compute sizeof (long long int), 77
12560See \`config.log' for more details." >&2;}
12561 { (exit 1); exit 1; }; }
10970fi 12562fi
10971rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12563rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10972fi 12564fi
10973fi 12565fi
10974rm -f conftest.val 12566rm -f conftest.val
@@ -10976,11 +12568,13 @@ else
10976 ac_cv_sizeof_long_long_int=0 12568 ac_cv_sizeof_long_long_int=0
10977fi 12569fi
10978fi 12570fi
10979echo "$as_me:10979: result: $ac_cv_sizeof_long_long_int" >&5 12571echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long_int" >&5
10980echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6 12572echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6
10981cat >>confdefs.h <<EOF 12573cat >>confdefs.h <<_ACEOF
10982#define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int 12574#define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
10983EOF 12575_ACEOF
12576
12577
10984 12578
10985# Sanity check long long for some platforms (AIX) 12579# Sanity check long long for some platforms (AIX)
10986if test "x$ac_cv_sizeof_long_long_int" = "x4" ; then 12580if test "x$ac_cv_sizeof_long_long_int" = "x4" ; then
@@ -10988,15 +12582,19 @@ if test "x$ac_cv_sizeof_long_long_int" = "x4" ; then
10988fi 12582fi
10989 12583
10990# More checks for data types 12584# More checks for data types
10991echo "$as_me:10991: checking for u_int type" >&5 12585echo "$as_me:$LINENO: checking for u_int type" >&5
10992echo $ECHO_N "checking for u_int type... $ECHO_C" >&6 12586echo $ECHO_N "checking for u_int type... $ECHO_C" >&6
10993if test "${ac_cv_have_u_int+set}" = set; then 12587if test "${ac_cv_have_u_int+set}" = set; then
10994 echo $ECHO_N "(cached) $ECHO_C" >&6 12588 echo $ECHO_N "(cached) $ECHO_C" >&6
10995else 12589else
10996 12590
10997 cat >conftest.$ac_ext <<_ACEOF 12591 cat >conftest.$ac_ext <<_ACEOF
10998#line 10998 "configure" 12592#line $LINENO "configure"
10999#include "confdefs.h" 12593/* confdefs.h. */
12594_ACEOF
12595cat confdefs.h >>conftest.$ac_ext
12596cat >>conftest.$ac_ext <<_ACEOF
12597/* end confdefs.h. */
11000 #include <sys/types.h> 12598 #include <sys/types.h>
11001int 12599int
11002main () 12600main ()
@@ -11007,46 +12605,51 @@ main ()
11007} 12605}
11008_ACEOF 12606_ACEOF
11009rm -f conftest.$ac_objext 12607rm -f conftest.$ac_objext
11010if { (eval echo "$as_me:11010: \"$ac_compile\"") >&5 12608if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11011 (eval $ac_compile) 2>&5 12609 (eval $ac_compile) 2>&5
11012 ac_status=$? 12610 ac_status=$?
11013 echo "$as_me:11013: \$? = $ac_status" >&5 12611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11014 (exit $ac_status); } && 12612 (exit $ac_status); } &&
11015 { ac_try='test -s conftest.$ac_objext' 12613 { ac_try='test -s conftest.$ac_objext'
11016 { (eval echo "$as_me:11016: \"$ac_try\"") >&5 12614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11017 (eval $ac_try) 2>&5 12615 (eval $ac_try) 2>&5
11018 ac_status=$? 12616 ac_status=$?
11019 echo "$as_me:11019: \$? = $ac_status" >&5 12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11020 (exit $ac_status); }; }; then 12618 (exit $ac_status); }; }; then
11021 ac_cv_have_u_int="yes" 12619 ac_cv_have_u_int="yes"
11022else 12620else
11023 echo "$as_me: failed program was:" >&5 12621 echo "$as_me: failed program was:" >&5
11024cat conftest.$ac_ext >&5 12622sed 's/^/| /' conftest.$ac_ext >&5
12623
11025 ac_cv_have_u_int="no" 12624 ac_cv_have_u_int="no"
11026 12625
11027fi 12626fi
11028rm -f conftest.$ac_objext conftest.$ac_ext 12627rm -f conftest.$ac_objext conftest.$ac_ext
11029 12628
11030fi 12629fi
11031echo "$as_me:11031: result: $ac_cv_have_u_int" >&5 12630echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5
11032echo "${ECHO_T}$ac_cv_have_u_int" >&6 12631echo "${ECHO_T}$ac_cv_have_u_int" >&6
11033if test "x$ac_cv_have_u_int" = "xyes" ; then 12632if test "x$ac_cv_have_u_int" = "xyes" ; then
11034 cat >>confdefs.h <<\EOF 12633 cat >>confdefs.h <<\_ACEOF
11035#define HAVE_U_INT 1 12634#define HAVE_U_INT 1
11036EOF 12635_ACEOF
11037 12636
11038 have_u_int=1 12637 have_u_int=1
11039fi 12638fi
11040 12639
11041echo "$as_me:11041: checking for intXX_t types" >&5 12640echo "$as_me:$LINENO: checking for intXX_t types" >&5
11042echo $ECHO_N "checking for intXX_t types... $ECHO_C" >&6 12641echo $ECHO_N "checking for intXX_t types... $ECHO_C" >&6
11043if test "${ac_cv_have_intxx_t+set}" = set; then 12642if test "${ac_cv_have_intxx_t+set}" = set; then
11044 echo $ECHO_N "(cached) $ECHO_C" >&6 12643 echo $ECHO_N "(cached) $ECHO_C" >&6
11045else 12644else
11046 12645
11047 cat >conftest.$ac_ext <<_ACEOF 12646 cat >conftest.$ac_ext <<_ACEOF
11048#line 11048 "configure" 12647#line $LINENO "configure"
11049#include "confdefs.h" 12648/* confdefs.h. */
12649_ACEOF
12650cat confdefs.h >>conftest.$ac_ext
12651cat >>conftest.$ac_ext <<_ACEOF
12652/* end confdefs.h. */
11050 #include <sys/types.h> 12653 #include <sys/types.h>
11051int 12654int
11052main () 12655main ()
@@ -11057,33 +12660,34 @@ main ()
11057} 12660}
11058_ACEOF 12661_ACEOF
11059rm -f conftest.$ac_objext 12662rm -f conftest.$ac_objext
11060if { (eval echo "$as_me:11060: \"$ac_compile\"") >&5 12663if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11061 (eval $ac_compile) 2>&5 12664 (eval $ac_compile) 2>&5
11062 ac_status=$? 12665 ac_status=$?
11063 echo "$as_me:11063: \$? = $ac_status" >&5 12666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064 (exit $ac_status); } && 12667 (exit $ac_status); } &&
11065 { ac_try='test -s conftest.$ac_objext' 12668 { ac_try='test -s conftest.$ac_objext'
11066 { (eval echo "$as_me:11066: \"$ac_try\"") >&5 12669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11067 (eval $ac_try) 2>&5 12670 (eval $ac_try) 2>&5
11068 ac_status=$? 12671 ac_status=$?
11069 echo "$as_me:11069: \$? = $ac_status" >&5 12672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); }; }; then 12673 (exit $ac_status); }; }; then
11071 ac_cv_have_intxx_t="yes" 12674 ac_cv_have_intxx_t="yes"
11072else 12675else
11073 echo "$as_me: failed program was:" >&5 12676 echo "$as_me: failed program was:" >&5
11074cat conftest.$ac_ext >&5 12677sed 's/^/| /' conftest.$ac_ext >&5
12678
11075 ac_cv_have_intxx_t="no" 12679 ac_cv_have_intxx_t="no"
11076 12680
11077fi 12681fi
11078rm -f conftest.$ac_objext conftest.$ac_ext 12682rm -f conftest.$ac_objext conftest.$ac_ext
11079 12683
11080fi 12684fi
11081echo "$as_me:11081: result: $ac_cv_have_intxx_t" >&5 12685echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5
11082echo "${ECHO_T}$ac_cv_have_intxx_t" >&6 12686echo "${ECHO_T}$ac_cv_have_intxx_t" >&6
11083if test "x$ac_cv_have_intxx_t" = "xyes" ; then 12687if test "x$ac_cv_have_intxx_t" = "xyes" ; then
11084 cat >>confdefs.h <<\EOF 12688 cat >>confdefs.h <<\_ACEOF
11085#define HAVE_INTXX_T 1 12689#define HAVE_INTXX_T 1
11086EOF 12690_ACEOF
11087 12691
11088 have_intxx_t=1 12692 have_intxx_t=1
11089fi 12693fi
@@ -11091,11 +12695,15 @@ fi
11091if (test -z "$have_intxx_t" && \ 12695if (test -z "$have_intxx_t" && \
11092 test "x$ac_cv_header_stdint_h" = "xyes") 12696 test "x$ac_cv_header_stdint_h" = "xyes")
11093then 12697then
11094 echo "$as_me:11094: checking for intXX_t types in stdint.h" >&5 12698 echo "$as_me:$LINENO: checking for intXX_t types in stdint.h" >&5
11095echo $ECHO_N "checking for intXX_t types in stdint.h... $ECHO_C" >&6 12699echo $ECHO_N "checking for intXX_t types in stdint.h... $ECHO_C" >&6
11096 cat >conftest.$ac_ext <<_ACEOF 12700 cat >conftest.$ac_ext <<_ACEOF
11097#line 11097 "configure" 12701#line $LINENO "configure"
11098#include "confdefs.h" 12702/* confdefs.h. */
12703_ACEOF
12704cat confdefs.h >>conftest.$ac_ext
12705cat >>conftest.$ac_ext <<_ACEOF
12706/* end confdefs.h. */
11099 #include <stdint.h> 12707 #include <stdint.h>
11100int 12708int
11101main () 12709main ()
@@ -11106,44 +12714,49 @@ main ()
11106} 12714}
11107_ACEOF 12715_ACEOF
11108rm -f conftest.$ac_objext 12716rm -f conftest.$ac_objext
11109if { (eval echo "$as_me:11109: \"$ac_compile\"") >&5 12717if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11110 (eval $ac_compile) 2>&5 12718 (eval $ac_compile) 2>&5
11111 ac_status=$? 12719 ac_status=$?
11112 echo "$as_me:11112: \$? = $ac_status" >&5 12720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11113 (exit $ac_status); } && 12721 (exit $ac_status); } &&
11114 { ac_try='test -s conftest.$ac_objext' 12722 { ac_try='test -s conftest.$ac_objext'
11115 { (eval echo "$as_me:11115: \"$ac_try\"") >&5 12723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11116 (eval $ac_try) 2>&5 12724 (eval $ac_try) 2>&5
11117 ac_status=$? 12725 ac_status=$?
11118 echo "$as_me:11118: \$? = $ac_status" >&5 12726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11119 (exit $ac_status); }; }; then 12727 (exit $ac_status); }; }; then
11120 12728
11121 cat >>confdefs.h <<\EOF 12729 cat >>confdefs.h <<\_ACEOF
11122#define HAVE_INTXX_T 1 12730#define HAVE_INTXX_T 1
11123EOF 12731_ACEOF
11124 12732
11125 echo "$as_me:11125: result: yes" >&5 12733 echo "$as_me:$LINENO: result: yes" >&5
11126echo "${ECHO_T}yes" >&6 12734echo "${ECHO_T}yes" >&6
11127 12735
11128else 12736else
11129 echo "$as_me: failed program was:" >&5 12737 echo "$as_me: failed program was:" >&5
11130cat conftest.$ac_ext >&5 12738sed 's/^/| /' conftest.$ac_ext >&5
11131 echo "$as_me:11131: result: no" >&5 12739
12740 echo "$as_me:$LINENO: result: no" >&5
11132echo "${ECHO_T}no" >&6 12741echo "${ECHO_T}no" >&6
11133 12742
11134fi 12743fi
11135rm -f conftest.$ac_objext conftest.$ac_ext 12744rm -f conftest.$ac_objext conftest.$ac_ext
11136fi 12745fi
11137 12746
11138echo "$as_me:11138: checking for int64_t type" >&5 12747echo "$as_me:$LINENO: checking for int64_t type" >&5
11139echo $ECHO_N "checking for int64_t type... $ECHO_C" >&6 12748echo $ECHO_N "checking for int64_t type... $ECHO_C" >&6
11140if test "${ac_cv_have_int64_t+set}" = set; then 12749if test "${ac_cv_have_int64_t+set}" = set; then
11141 echo $ECHO_N "(cached) $ECHO_C" >&6 12750 echo $ECHO_N "(cached) $ECHO_C" >&6
11142else 12751else
11143 12752
11144 cat >conftest.$ac_ext <<_ACEOF 12753 cat >conftest.$ac_ext <<_ACEOF
11145#line 11145 "configure" 12754#line $LINENO "configure"
11146#include "confdefs.h" 12755/* confdefs.h. */
12756_ACEOF
12757cat confdefs.h >>conftest.$ac_ext
12758cat >>conftest.$ac_ext <<_ACEOF
12759/* end confdefs.h. */
11147 12760
11148#include <sys/types.h> 12761#include <sys/types.h>
11149#ifdef HAVE_STDINT_H 12762#ifdef HAVE_STDINT_H
@@ -11163,45 +12776,50 @@ main ()
11163} 12776}
11164_ACEOF 12777_ACEOF
11165rm -f conftest.$ac_objext 12778rm -f conftest.$ac_objext
11166if { (eval echo "$as_me:11166: \"$ac_compile\"") >&5 12779if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11167 (eval $ac_compile) 2>&5 12780 (eval $ac_compile) 2>&5
11168 ac_status=$? 12781 ac_status=$?
11169 echo "$as_me:11169: \$? = $ac_status" >&5 12782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11170 (exit $ac_status); } && 12783 (exit $ac_status); } &&
11171 { ac_try='test -s conftest.$ac_objext' 12784 { ac_try='test -s conftest.$ac_objext'
11172 { (eval echo "$as_me:11172: \"$ac_try\"") >&5 12785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11173 (eval $ac_try) 2>&5 12786 (eval $ac_try) 2>&5
11174 ac_status=$? 12787 ac_status=$?
11175 echo "$as_me:11175: \$? = $ac_status" >&5 12788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11176 (exit $ac_status); }; }; then 12789 (exit $ac_status); }; }; then
11177 ac_cv_have_int64_t="yes" 12790 ac_cv_have_int64_t="yes"
11178else 12791else
11179 echo "$as_me: failed program was:" >&5 12792 echo "$as_me: failed program was:" >&5
11180cat conftest.$ac_ext >&5 12793sed 's/^/| /' conftest.$ac_ext >&5
12794
11181 ac_cv_have_int64_t="no" 12795 ac_cv_have_int64_t="no"
11182 12796
11183fi 12797fi
11184rm -f conftest.$ac_objext conftest.$ac_ext 12798rm -f conftest.$ac_objext conftest.$ac_ext
11185 12799
11186fi 12800fi
11187echo "$as_me:11187: result: $ac_cv_have_int64_t" >&5 12801echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5
11188echo "${ECHO_T}$ac_cv_have_int64_t" >&6 12802echo "${ECHO_T}$ac_cv_have_int64_t" >&6
11189if test "x$ac_cv_have_int64_t" = "xyes" ; then 12803if test "x$ac_cv_have_int64_t" = "xyes" ; then
11190 cat >>confdefs.h <<\EOF 12804 cat >>confdefs.h <<\_ACEOF
11191#define HAVE_INT64_T 1 12805#define HAVE_INT64_T 1
11192EOF 12806_ACEOF
11193 12807
11194fi 12808fi
11195 12809
11196echo "$as_me:11196: checking for u_intXX_t types" >&5 12810echo "$as_me:$LINENO: checking for u_intXX_t types" >&5
11197echo $ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6 12811echo $ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6
11198if test "${ac_cv_have_u_intxx_t+set}" = set; then 12812if test "${ac_cv_have_u_intxx_t+set}" = set; then
11199 echo $ECHO_N "(cached) $ECHO_C" >&6 12813 echo $ECHO_N "(cached) $ECHO_C" >&6
11200else 12814else
11201 12815
11202 cat >conftest.$ac_ext <<_ACEOF 12816 cat >conftest.$ac_ext <<_ACEOF
11203#line 11203 "configure" 12817#line $LINENO "configure"
11204#include "confdefs.h" 12818/* confdefs.h. */
12819_ACEOF
12820cat confdefs.h >>conftest.$ac_ext
12821cat >>conftest.$ac_ext <<_ACEOF
12822/* end confdefs.h. */
11205 #include <sys/types.h> 12823 #include <sys/types.h>
11206int 12824int
11207main () 12825main ()
@@ -11212,43 +12830,48 @@ main ()
11212} 12830}
11213_ACEOF 12831_ACEOF
11214rm -f conftest.$ac_objext 12832rm -f conftest.$ac_objext
11215if { (eval echo "$as_me:11215: \"$ac_compile\"") >&5 12833if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11216 (eval $ac_compile) 2>&5 12834 (eval $ac_compile) 2>&5
11217 ac_status=$? 12835 ac_status=$?
11218 echo "$as_me:11218: \$? = $ac_status" >&5 12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11219 (exit $ac_status); } && 12837 (exit $ac_status); } &&
11220 { ac_try='test -s conftest.$ac_objext' 12838 { ac_try='test -s conftest.$ac_objext'
11221 { (eval echo "$as_me:11221: \"$ac_try\"") >&5 12839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11222 (eval $ac_try) 2>&5 12840 (eval $ac_try) 2>&5
11223 ac_status=$? 12841 ac_status=$?
11224 echo "$as_me:11224: \$? = $ac_status" >&5 12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); }; }; then 12843 (exit $ac_status); }; }; then
11226 ac_cv_have_u_intxx_t="yes" 12844 ac_cv_have_u_intxx_t="yes"
11227else 12845else
11228 echo "$as_me: failed program was:" >&5 12846 echo "$as_me: failed program was:" >&5
11229cat conftest.$ac_ext >&5 12847sed 's/^/| /' conftest.$ac_ext >&5
12848
11230 ac_cv_have_u_intxx_t="no" 12849 ac_cv_have_u_intxx_t="no"
11231 12850
11232fi 12851fi
11233rm -f conftest.$ac_objext conftest.$ac_ext 12852rm -f conftest.$ac_objext conftest.$ac_ext
11234 12853
11235fi 12854fi
11236echo "$as_me:11236: result: $ac_cv_have_u_intxx_t" >&5 12855echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5
11237echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6 12856echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6
11238if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then 12857if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then
11239 cat >>confdefs.h <<\EOF 12858 cat >>confdefs.h <<\_ACEOF
11240#define HAVE_U_INTXX_T 1 12859#define HAVE_U_INTXX_T 1
11241EOF 12860_ACEOF
11242 12861
11243 have_u_intxx_t=1 12862 have_u_intxx_t=1
11244fi 12863fi
11245 12864
11246if test -z "$have_u_intxx_t" ; then 12865if test -z "$have_u_intxx_t" ; then
11247 echo "$as_me:11247: checking for u_intXX_t types in sys/socket.h" >&5 12866 echo "$as_me:$LINENO: checking for u_intXX_t types in sys/socket.h" >&5
11248echo $ECHO_N "checking for u_intXX_t types in sys/socket.h... $ECHO_C" >&6 12867echo $ECHO_N "checking for u_intXX_t types in sys/socket.h... $ECHO_C" >&6
11249 cat >conftest.$ac_ext <<_ACEOF 12868 cat >conftest.$ac_ext <<_ACEOF
11250#line 11250 "configure" 12869#line $LINENO "configure"
11251#include "confdefs.h" 12870/* confdefs.h. */
12871_ACEOF
12872cat confdefs.h >>conftest.$ac_ext
12873cat >>conftest.$ac_ext <<_ACEOF
12874/* end confdefs.h. */
11252 #include <sys/socket.h> 12875 #include <sys/socket.h>
11253int 12876int
11254main () 12877main ()
@@ -11259,44 +12882,49 @@ main ()
11259} 12882}
11260_ACEOF 12883_ACEOF
11261rm -f conftest.$ac_objext 12884rm -f conftest.$ac_objext
11262if { (eval echo "$as_me:11262: \"$ac_compile\"") >&5 12885if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11263 (eval $ac_compile) 2>&5 12886 (eval $ac_compile) 2>&5
11264 ac_status=$? 12887 ac_status=$?
11265 echo "$as_me:11265: \$? = $ac_status" >&5 12888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11266 (exit $ac_status); } && 12889 (exit $ac_status); } &&
11267 { ac_try='test -s conftest.$ac_objext' 12890 { ac_try='test -s conftest.$ac_objext'
11268 { (eval echo "$as_me:11268: \"$ac_try\"") >&5 12891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11269 (eval $ac_try) 2>&5 12892 (eval $ac_try) 2>&5
11270 ac_status=$? 12893 ac_status=$?
11271 echo "$as_me:11271: \$? = $ac_status" >&5 12894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11272 (exit $ac_status); }; }; then 12895 (exit $ac_status); }; }; then
11273 12896
11274 cat >>confdefs.h <<\EOF 12897 cat >>confdefs.h <<\_ACEOF
11275#define HAVE_U_INTXX_T 1 12898#define HAVE_U_INTXX_T 1
11276EOF 12899_ACEOF
11277 12900
11278 echo "$as_me:11278: result: yes" >&5 12901 echo "$as_me:$LINENO: result: yes" >&5
11279echo "${ECHO_T}yes" >&6 12902echo "${ECHO_T}yes" >&6
11280 12903
11281else 12904else
11282 echo "$as_me: failed program was:" >&5 12905 echo "$as_me: failed program was:" >&5
11283cat conftest.$ac_ext >&5 12906sed 's/^/| /' conftest.$ac_ext >&5
11284 echo "$as_me:11284: result: no" >&5 12907
12908 echo "$as_me:$LINENO: result: no" >&5
11285echo "${ECHO_T}no" >&6 12909echo "${ECHO_T}no" >&6
11286 12910
11287fi 12911fi
11288rm -f conftest.$ac_objext conftest.$ac_ext 12912rm -f conftest.$ac_objext conftest.$ac_ext
11289fi 12913fi
11290 12914
11291echo "$as_me:11291: checking for u_int64_t types" >&5 12915echo "$as_me:$LINENO: checking for u_int64_t types" >&5
11292echo $ECHO_N "checking for u_int64_t types... $ECHO_C" >&6 12916echo $ECHO_N "checking for u_int64_t types... $ECHO_C" >&6
11293if test "${ac_cv_have_u_int64_t+set}" = set; then 12917if test "${ac_cv_have_u_int64_t+set}" = set; then
11294 echo $ECHO_N "(cached) $ECHO_C" >&6 12918 echo $ECHO_N "(cached) $ECHO_C" >&6
11295else 12919else
11296 12920
11297 cat >conftest.$ac_ext <<_ACEOF 12921 cat >conftest.$ac_ext <<_ACEOF
11298#line 11298 "configure" 12922#line $LINENO "configure"
11299#include "confdefs.h" 12923/* confdefs.h. */
12924_ACEOF
12925cat confdefs.h >>conftest.$ac_ext
12926cat >>conftest.$ac_ext <<_ACEOF
12927/* end confdefs.h. */
11300 #include <sys/types.h> 12928 #include <sys/types.h>
11301int 12929int
11302main () 12930main ()
@@ -11307,43 +12935,48 @@ main ()
11307} 12935}
11308_ACEOF 12936_ACEOF
11309rm -f conftest.$ac_objext 12937rm -f conftest.$ac_objext
11310if { (eval echo "$as_me:11310: \"$ac_compile\"") >&5 12938if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11311 (eval $ac_compile) 2>&5 12939 (eval $ac_compile) 2>&5
11312 ac_status=$? 12940 ac_status=$?
11313 echo "$as_me:11313: \$? = $ac_status" >&5 12941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11314 (exit $ac_status); } && 12942 (exit $ac_status); } &&
11315 { ac_try='test -s conftest.$ac_objext' 12943 { ac_try='test -s conftest.$ac_objext'
11316 { (eval echo "$as_me:11316: \"$ac_try\"") >&5 12944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11317 (eval $ac_try) 2>&5 12945 (eval $ac_try) 2>&5
11318 ac_status=$? 12946 ac_status=$?
11319 echo "$as_me:11319: \$? = $ac_status" >&5 12947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11320 (exit $ac_status); }; }; then 12948 (exit $ac_status); }; }; then
11321 ac_cv_have_u_int64_t="yes" 12949 ac_cv_have_u_int64_t="yes"
11322else 12950else
11323 echo "$as_me: failed program was:" >&5 12951 echo "$as_me: failed program was:" >&5
11324cat conftest.$ac_ext >&5 12952sed 's/^/| /' conftest.$ac_ext >&5
12953
11325 ac_cv_have_u_int64_t="no" 12954 ac_cv_have_u_int64_t="no"
11326 12955
11327fi 12956fi
11328rm -f conftest.$ac_objext conftest.$ac_ext 12957rm -f conftest.$ac_objext conftest.$ac_ext
11329 12958
11330fi 12959fi
11331echo "$as_me:11331: result: $ac_cv_have_u_int64_t" >&5 12960echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5
11332echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6 12961echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6
11333if test "x$ac_cv_have_u_int64_t" = "xyes" ; then 12962if test "x$ac_cv_have_u_int64_t" = "xyes" ; then
11334 cat >>confdefs.h <<\EOF 12963 cat >>confdefs.h <<\_ACEOF
11335#define HAVE_U_INT64_T 1 12964#define HAVE_U_INT64_T 1
11336EOF 12965_ACEOF
11337 12966
11338 have_u_int64_t=1 12967 have_u_int64_t=1
11339fi 12968fi
11340 12969
11341if test -z "$have_u_int64_t" ; then 12970if test -z "$have_u_int64_t" ; then
11342 echo "$as_me:11342: checking for u_int64_t type in sys/bitypes.h" >&5 12971 echo "$as_me:$LINENO: checking for u_int64_t type in sys/bitypes.h" >&5
11343echo $ECHO_N "checking for u_int64_t type in sys/bitypes.h... $ECHO_C" >&6 12972echo $ECHO_N "checking for u_int64_t type in sys/bitypes.h... $ECHO_C" >&6
11344 cat >conftest.$ac_ext <<_ACEOF 12973 cat >conftest.$ac_ext <<_ACEOF
11345#line 11345 "configure" 12974#line $LINENO "configure"
11346#include "confdefs.h" 12975/* confdefs.h. */
12976_ACEOF
12977cat confdefs.h >>conftest.$ac_ext
12978cat >>conftest.$ac_ext <<_ACEOF
12979/* end confdefs.h. */
11347 #include <sys/bitypes.h> 12980 #include <sys/bitypes.h>
11348int 12981int
11349main () 12982main ()
@@ -11354,29 +12987,30 @@ main ()
11354} 12987}
11355_ACEOF 12988_ACEOF
11356rm -f conftest.$ac_objext 12989rm -f conftest.$ac_objext
11357if { (eval echo "$as_me:11357: \"$ac_compile\"") >&5 12990if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11358 (eval $ac_compile) 2>&5 12991 (eval $ac_compile) 2>&5
11359 ac_status=$? 12992 ac_status=$?
11360 echo "$as_me:11360: \$? = $ac_status" >&5 12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11361 (exit $ac_status); } && 12994 (exit $ac_status); } &&
11362 { ac_try='test -s conftest.$ac_objext' 12995 { ac_try='test -s conftest.$ac_objext'
11363 { (eval echo "$as_me:11363: \"$ac_try\"") >&5 12996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11364 (eval $ac_try) 2>&5 12997 (eval $ac_try) 2>&5
11365 ac_status=$? 12998 ac_status=$?
11366 echo "$as_me:11366: \$? = $ac_status" >&5 12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11367 (exit $ac_status); }; }; then 13000 (exit $ac_status); }; }; then
11368 13001
11369 cat >>confdefs.h <<\EOF 13002 cat >>confdefs.h <<\_ACEOF
11370#define HAVE_U_INT64_T 1 13003#define HAVE_U_INT64_T 1
11371EOF 13004_ACEOF
11372 13005
11373 echo "$as_me:11373: result: yes" >&5 13006 echo "$as_me:$LINENO: result: yes" >&5
11374echo "${ECHO_T}yes" >&6 13007echo "${ECHO_T}yes" >&6
11375 13008
11376else 13009else
11377 echo "$as_me: failed program was:" >&5 13010 echo "$as_me: failed program was:" >&5
11378cat conftest.$ac_ext >&5 13011sed 's/^/| /' conftest.$ac_ext >&5
11379 echo "$as_me:11379: result: no" >&5 13012
13013 echo "$as_me:$LINENO: result: no" >&5
11380echo "${ECHO_T}no" >&6 13014echo "${ECHO_T}no" >&6
11381 13015
11382fi 13016fi
@@ -11384,15 +13018,19 @@ rm -f conftest.$ac_objext conftest.$ac_ext
11384fi 13018fi
11385 13019
11386if test -z "$have_u_intxx_t" ; then 13020if test -z "$have_u_intxx_t" ; then
11387 echo "$as_me:11387: checking for uintXX_t types" >&5 13021 echo "$as_me:$LINENO: checking for uintXX_t types" >&5
11388echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6 13022echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6
11389if test "${ac_cv_have_uintxx_t+set}" = set; then 13023if test "${ac_cv_have_uintxx_t+set}" = set; then
11390 echo $ECHO_N "(cached) $ECHO_C" >&6 13024 echo $ECHO_N "(cached) $ECHO_C" >&6
11391else 13025else
11392 13026
11393 cat >conftest.$ac_ext <<_ACEOF 13027 cat >conftest.$ac_ext <<_ACEOF
11394#line 11394 "configure" 13028#line $LINENO "configure"
11395#include "confdefs.h" 13029/* confdefs.h. */
13030_ACEOF
13031cat confdefs.h >>conftest.$ac_ext
13032cat >>conftest.$ac_ext <<_ACEOF
13033/* end confdefs.h. */
11396 13034
11397#include <sys/types.h> 13035#include <sys/types.h>
11398 13036
@@ -11405,43 +13043,48 @@ main ()
11405} 13043}
11406_ACEOF 13044_ACEOF
11407rm -f conftest.$ac_objext 13045rm -f conftest.$ac_objext
11408if { (eval echo "$as_me:11408: \"$ac_compile\"") >&5 13046if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11409 (eval $ac_compile) 2>&5 13047 (eval $ac_compile) 2>&5
11410 ac_status=$? 13048 ac_status=$?
11411 echo "$as_me:11411: \$? = $ac_status" >&5 13049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412 (exit $ac_status); } && 13050 (exit $ac_status); } &&
11413 { ac_try='test -s conftest.$ac_objext' 13051 { ac_try='test -s conftest.$ac_objext'
11414 { (eval echo "$as_me:11414: \"$ac_try\"") >&5 13052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11415 (eval $ac_try) 2>&5 13053 (eval $ac_try) 2>&5
11416 ac_status=$? 13054 ac_status=$?
11417 echo "$as_me:11417: \$? = $ac_status" >&5 13055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11418 (exit $ac_status); }; }; then 13056 (exit $ac_status); }; }; then
11419 ac_cv_have_uintxx_t="yes" 13057 ac_cv_have_uintxx_t="yes"
11420else 13058else
11421 echo "$as_me: failed program was:" >&5 13059 echo "$as_me: failed program was:" >&5
11422cat conftest.$ac_ext >&5 13060sed 's/^/| /' conftest.$ac_ext >&5
13061
11423 ac_cv_have_uintxx_t="no" 13062 ac_cv_have_uintxx_t="no"
11424 13063
11425fi 13064fi
11426rm -f conftest.$ac_objext conftest.$ac_ext 13065rm -f conftest.$ac_objext conftest.$ac_ext
11427 13066
11428fi 13067fi
11429echo "$as_me:11429: result: $ac_cv_have_uintxx_t" >&5 13068echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5
11430echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6 13069echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6
11431 if test "x$ac_cv_have_uintxx_t" = "xyes" ; then 13070 if test "x$ac_cv_have_uintxx_t" = "xyes" ; then
11432 cat >>confdefs.h <<\EOF 13071 cat >>confdefs.h <<\_ACEOF
11433#define HAVE_UINTXX_T 1 13072#define HAVE_UINTXX_T 1
11434EOF 13073_ACEOF
11435 13074
11436 fi 13075 fi
11437fi 13076fi
11438 13077
11439if test -z "$have_uintxx_t" ; then 13078if test -z "$have_uintxx_t" ; then
11440 echo "$as_me:11440: checking for uintXX_t types in stdint.h" >&5 13079 echo "$as_me:$LINENO: checking for uintXX_t types in stdint.h" >&5
11441echo $ECHO_N "checking for uintXX_t types in stdint.h... $ECHO_C" >&6 13080echo $ECHO_N "checking for uintXX_t types in stdint.h... $ECHO_C" >&6
11442 cat >conftest.$ac_ext <<_ACEOF 13081 cat >conftest.$ac_ext <<_ACEOF
11443#line 11443 "configure" 13082#line $LINENO "configure"
11444#include "confdefs.h" 13083/* confdefs.h. */
13084_ACEOF
13085cat confdefs.h >>conftest.$ac_ext
13086cat >>conftest.$ac_ext <<_ACEOF
13087/* end confdefs.h. */
11445 #include <stdint.h> 13088 #include <stdint.h>
11446int 13089int
11447main () 13090main ()
@@ -11452,29 +13095,30 @@ main ()
11452} 13095}
11453_ACEOF 13096_ACEOF
11454rm -f conftest.$ac_objext 13097rm -f conftest.$ac_objext
11455if { (eval echo "$as_me:11455: \"$ac_compile\"") >&5 13098if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11456 (eval $ac_compile) 2>&5 13099 (eval $ac_compile) 2>&5
11457 ac_status=$? 13100 ac_status=$?
11458 echo "$as_me:11458: \$? = $ac_status" >&5 13101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11459 (exit $ac_status); } && 13102 (exit $ac_status); } &&
11460 { ac_try='test -s conftest.$ac_objext' 13103 { ac_try='test -s conftest.$ac_objext'
11461 { (eval echo "$as_me:11461: \"$ac_try\"") >&5 13104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11462 (eval $ac_try) 2>&5 13105 (eval $ac_try) 2>&5
11463 ac_status=$? 13106 ac_status=$?
11464 echo "$as_me:11464: \$? = $ac_status" >&5 13107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11465 (exit $ac_status); }; }; then 13108 (exit $ac_status); }; }; then
11466 13109
11467 cat >>confdefs.h <<\EOF 13110 cat >>confdefs.h <<\_ACEOF
11468#define HAVE_UINTXX_T 1 13111#define HAVE_UINTXX_T 1
11469EOF 13112_ACEOF
11470 13113
11471 echo "$as_me:11471: result: yes" >&5 13114 echo "$as_me:$LINENO: result: yes" >&5
11472echo "${ECHO_T}yes" >&6 13115echo "${ECHO_T}yes" >&6
11473 13116
11474else 13117else
11475 echo "$as_me: failed program was:" >&5 13118 echo "$as_me: failed program was:" >&5
11476cat conftest.$ac_ext >&5 13119sed 's/^/| /' conftest.$ac_ext >&5
11477 echo "$as_me:11477: result: no" >&5 13120
13121 echo "$as_me:$LINENO: result: no" >&5
11478echo "${ECHO_T}no" >&6 13122echo "${ECHO_T}no" >&6
11479 13123
11480fi 13124fi
@@ -11484,11 +13128,15 @@ fi
11484if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \ 13128if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \
11485 test "x$ac_cv_header_sys_bitypes_h" = "xyes") 13129 test "x$ac_cv_header_sys_bitypes_h" = "xyes")
11486then 13130then
11487 echo "$as_me:11487: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5 13131 echo "$as_me:$LINENO: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5
11488echo $ECHO_N "checking for intXX_t and u_intXX_t types in sys/bitypes.h... $ECHO_C" >&6 13132echo $ECHO_N "checking for intXX_t and u_intXX_t types in sys/bitypes.h... $ECHO_C" >&6
11489 cat >conftest.$ac_ext <<_ACEOF 13133 cat >conftest.$ac_ext <<_ACEOF
11490#line 11490 "configure" 13134#line $LINENO "configure"
11491#include "confdefs.h" 13135/* confdefs.h. */
13136_ACEOF
13137cat confdefs.h >>conftest.$ac_ext
13138cat >>conftest.$ac_ext <<_ACEOF
13139/* end confdefs.h. */
11492 13140
11493#include <sys/bitypes.h> 13141#include <sys/bitypes.h>
11494 13142
@@ -11505,48 +13153,54 @@ main ()
11505} 13153}
11506_ACEOF 13154_ACEOF
11507rm -f conftest.$ac_objext 13155rm -f conftest.$ac_objext
11508if { (eval echo "$as_me:11508: \"$ac_compile\"") >&5 13156if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11509 (eval $ac_compile) 2>&5 13157 (eval $ac_compile) 2>&5
11510 ac_status=$? 13158 ac_status=$?
11511 echo "$as_me:11511: \$? = $ac_status" >&5 13159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11512 (exit $ac_status); } && 13160 (exit $ac_status); } &&
11513 { ac_try='test -s conftest.$ac_objext' 13161 { ac_try='test -s conftest.$ac_objext'
11514 { (eval echo "$as_me:11514: \"$ac_try\"") >&5 13162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11515 (eval $ac_try) 2>&5 13163 (eval $ac_try) 2>&5
11516 ac_status=$? 13164 ac_status=$?
11517 echo "$as_me:11517: \$? = $ac_status" >&5 13165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11518 (exit $ac_status); }; }; then 13166 (exit $ac_status); }; }; then
11519 13167
11520 cat >>confdefs.h <<\EOF 13168 cat >>confdefs.h <<\_ACEOF
11521#define HAVE_U_INTXX_T 1 13169#define HAVE_U_INTXX_T 1
11522EOF 13170_ACEOF
11523 13171
11524 cat >>confdefs.h <<\EOF 13172 cat >>confdefs.h <<\_ACEOF
11525#define HAVE_INTXX_T 1 13173#define HAVE_INTXX_T 1
11526EOF 13174_ACEOF
11527 13175
11528 echo "$as_me:11528: result: yes" >&5 13176 echo "$as_me:$LINENO: result: yes" >&5
11529echo "${ECHO_T}yes" >&6 13177echo "${ECHO_T}yes" >&6
11530 13178
11531else 13179else
11532 echo "$as_me: failed program was:" >&5 13180 echo "$as_me: failed program was:" >&5
11533cat conftest.$ac_ext >&5 13181sed 's/^/| /' conftest.$ac_ext >&5
11534echo "$as_me:11534: result: no" >&5 13182
13183echo "$as_me:$LINENO: result: no" >&5
11535echo "${ECHO_T}no" >&6 13184echo "${ECHO_T}no" >&6
11536 13185
11537fi 13186fi
11538rm -f conftest.$ac_objext conftest.$ac_ext 13187rm -f conftest.$ac_objext conftest.$ac_ext
11539fi 13188fi
11540 13189
11541echo "$as_me:11541: checking for u_char" >&5 13190
13191echo "$as_me:$LINENO: checking for u_char" >&5
11542echo $ECHO_N "checking for u_char... $ECHO_C" >&6 13192echo $ECHO_N "checking for u_char... $ECHO_C" >&6
11543if test "${ac_cv_have_u_char+set}" = set; then 13193if test "${ac_cv_have_u_char+set}" = set; then
11544 echo $ECHO_N "(cached) $ECHO_C" >&6 13194 echo $ECHO_N "(cached) $ECHO_C" >&6
11545else 13195else
11546 13196
11547 cat >conftest.$ac_ext <<_ACEOF 13197 cat >conftest.$ac_ext <<_ACEOF
11548#line 11548 "configure" 13198#line $LINENO "configure"
11549#include "confdefs.h" 13199/* confdefs.h. */
13200_ACEOF
13201cat confdefs.h >>conftest.$ac_ext
13202cat >>conftest.$ac_ext <<_ACEOF
13203/* end confdefs.h. */
11550 13204
11551#include <sys/types.h> 13205#include <sys/types.h>
11552 13206
@@ -11559,44 +13213,50 @@ main ()
11559} 13213}
11560_ACEOF 13214_ACEOF
11561rm -f conftest.$ac_objext 13215rm -f conftest.$ac_objext
11562if { (eval echo "$as_me:11562: \"$ac_compile\"") >&5 13216if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11563 (eval $ac_compile) 2>&5 13217 (eval $ac_compile) 2>&5
11564 ac_status=$? 13218 ac_status=$?
11565 echo "$as_me:11565: \$? = $ac_status" >&5 13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 (exit $ac_status); } && 13220 (exit $ac_status); } &&
11567 { ac_try='test -s conftest.$ac_objext' 13221 { ac_try='test -s conftest.$ac_objext'
11568 { (eval echo "$as_me:11568: \"$ac_try\"") >&5 13222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11569 (eval $ac_try) 2>&5 13223 (eval $ac_try) 2>&5
11570 ac_status=$? 13224 ac_status=$?
11571 echo "$as_me:11571: \$? = $ac_status" >&5 13225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11572 (exit $ac_status); }; }; then 13226 (exit $ac_status); }; }; then
11573 ac_cv_have_u_char="yes" 13227 ac_cv_have_u_char="yes"
11574else 13228else
11575 echo "$as_me: failed program was:" >&5 13229 echo "$as_me: failed program was:" >&5
11576cat conftest.$ac_ext >&5 13230sed 's/^/| /' conftest.$ac_ext >&5
13231
11577 ac_cv_have_u_char="no" 13232 ac_cv_have_u_char="no"
11578 13233
11579fi 13234fi
11580rm -f conftest.$ac_objext conftest.$ac_ext 13235rm -f conftest.$ac_objext conftest.$ac_ext
11581 13236
11582fi 13237fi
11583echo "$as_me:11583: result: $ac_cv_have_u_char" >&5 13238echo "$as_me:$LINENO: result: $ac_cv_have_u_char" >&5
11584echo "${ECHO_T}$ac_cv_have_u_char" >&6 13239echo "${ECHO_T}$ac_cv_have_u_char" >&6
11585if test "x$ac_cv_have_u_char" = "xyes" ; then 13240if test "x$ac_cv_have_u_char" = "xyes" ; then
11586 cat >>confdefs.h <<\EOF 13241 cat >>confdefs.h <<\_ACEOF
11587#define HAVE_U_CHAR 1 13242#define HAVE_U_CHAR 1
11588EOF 13243_ACEOF
11589 13244
11590fi 13245fi
11591 13246
11592 echo "$as_me:11592: checking for socklen_t" >&5 13247
13248 echo "$as_me:$LINENO: checking for socklen_t" >&5
11593echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 13249echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
11594if test "${ac_cv_type_socklen_t+set}" = set; then 13250if test "${ac_cv_type_socklen_t+set}" = set; then
11595 echo $ECHO_N "(cached) $ECHO_C" >&6 13251 echo $ECHO_N "(cached) $ECHO_C" >&6
11596else 13252else
11597 cat >conftest.$ac_ext <<_ACEOF 13253 cat >conftest.$ac_ext <<_ACEOF
11598#line 11598 "configure" 13254#line $LINENO "configure"
11599#include "confdefs.h" 13255/* confdefs.h. */
13256_ACEOF
13257cat confdefs.h >>conftest.$ac_ext
13258cat >>conftest.$ac_ext <<_ACEOF
13259/* end confdefs.h. */
11600#include <sys/types.h> 13260#include <sys/types.h>
11601#include <sys/socket.h> 13261#include <sys/socket.h>
11602 13262
@@ -11612,32 +13272,33 @@ if (sizeof (socklen_t))
11612} 13272}
11613_ACEOF 13273_ACEOF
11614rm -f conftest.$ac_objext 13274rm -f conftest.$ac_objext
11615if { (eval echo "$as_me:11615: \"$ac_compile\"") >&5 13275if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11616 (eval $ac_compile) 2>&5 13276 (eval $ac_compile) 2>&5
11617 ac_status=$? 13277 ac_status=$?
11618 echo "$as_me:11618: \$? = $ac_status" >&5 13278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11619 (exit $ac_status); } && 13279 (exit $ac_status); } &&
11620 { ac_try='test -s conftest.$ac_objext' 13280 { ac_try='test -s conftest.$ac_objext'
11621 { (eval echo "$as_me:11621: \"$ac_try\"") >&5 13281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11622 (eval $ac_try) 2>&5 13282 (eval $ac_try) 2>&5
11623 ac_status=$? 13283 ac_status=$?
11624 echo "$as_me:11624: \$? = $ac_status" >&5 13284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11625 (exit $ac_status); }; }; then 13285 (exit $ac_status); }; }; then
11626 ac_cv_type_socklen_t=yes 13286 ac_cv_type_socklen_t=yes
11627else 13287else
11628 echo "$as_me: failed program was:" >&5 13288 echo "$as_me: failed program was:" >&5
11629cat conftest.$ac_ext >&5 13289sed 's/^/| /' conftest.$ac_ext >&5
13290
11630ac_cv_type_socklen_t=no 13291ac_cv_type_socklen_t=no
11631fi 13292fi
11632rm -f conftest.$ac_objext conftest.$ac_ext 13293rm -f conftest.$ac_objext conftest.$ac_ext
11633fi 13294fi
11634echo "$as_me:11634: result: $ac_cv_type_socklen_t" >&5 13295echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
11635echo "${ECHO_T}$ac_cv_type_socklen_t" >&6 13296echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
11636if test $ac_cv_type_socklen_t = yes; then 13297if test $ac_cv_type_socklen_t = yes; then
11637 : 13298 :
11638else 13299else
11639 13300
11640 echo "$as_me:11640: checking for socklen_t equivalent" >&5 13301 echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5
11641echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6 13302echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6
11642 if test "${curl_cv_socklen_t_equiv+set}" = set; then 13303 if test "${curl_cv_socklen_t_equiv+set}" = set; then
11643 echo $ECHO_N "(cached) $ECHO_C" >&6 13304 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -11649,8 +13310,12 @@ else
11649 for arg2 in "struct sockaddr" void; do 13310 for arg2 in "struct sockaddr" void; do
11650 for t in int size_t unsigned long "unsigned long"; do 13311 for t in int size_t unsigned long "unsigned long"; do
11651 cat >conftest.$ac_ext <<_ACEOF 13312 cat >conftest.$ac_ext <<_ACEOF
11652#line 11652 "configure" 13313#line $LINENO "configure"
11653#include "confdefs.h" 13314/* confdefs.h. */
13315_ACEOF
13316cat confdefs.h >>conftest.$ac_ext
13317cat >>conftest.$ac_ext <<_ACEOF
13318/* end confdefs.h. */
11654 13319
11655 #include <sys/types.h> 13320 #include <sys/types.h>
11656 #include <sys/socket.h> 13321 #include <sys/socket.h>
@@ -11669,16 +13334,16 @@ main ()
11669} 13334}
11670_ACEOF 13335_ACEOF
11671rm -f conftest.$ac_objext 13336rm -f conftest.$ac_objext
11672if { (eval echo "$as_me:11672: \"$ac_compile\"") >&5 13337if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11673 (eval $ac_compile) 2>&5 13338 (eval $ac_compile) 2>&5
11674 ac_status=$? 13339 ac_status=$?
11675 echo "$as_me:11675: \$? = $ac_status" >&5 13340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11676 (exit $ac_status); } && 13341 (exit $ac_status); } &&
11677 { ac_try='test -s conftest.$ac_objext' 13342 { ac_try='test -s conftest.$ac_objext'
11678 { (eval echo "$as_me:11678: \"$ac_try\"") >&5 13343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11679 (eval $ac_try) 2>&5 13344 (eval $ac_try) 2>&5
11680 ac_status=$? 13345 ac_status=$?
11681 echo "$as_me:11681: \$? = $ac_status" >&5 13346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); }; }; then 13347 (exit $ac_status); }; }; then
11683 13348
11684 curl_cv_socklen_t_equiv="$t" 13349 curl_cv_socklen_t_equiv="$t"
@@ -11686,37 +13351,44 @@ if { (eval echo "$as_me:11672: \"$ac_compile\"") >&5
11686 13351
11687else 13352else
11688 echo "$as_me: failed program was:" >&5 13353 echo "$as_me: failed program was:" >&5
11689cat conftest.$ac_ext >&5 13354sed 's/^/| /' conftest.$ac_ext >&5
13355
11690fi 13356fi
11691rm -f conftest.$ac_objext conftest.$ac_ext 13357rm -f conftest.$ac_objext conftest.$ac_ext
11692 done 13358 done
11693 done 13359 done
11694 13360
11695 if test "x$curl_cv_socklen_t_equiv" = x; then 13361 if test "x$curl_cv_socklen_t_equiv" = x; then
11696 { { echo "$as_me:11696: error: Cannot find a type to use in place of socklen_t" >&5 13362 { { echo "$as_me:$LINENO: error: Cannot find a type to use in place of socklen_t" >&5
11697echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;} 13363echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;}
11698 { (exit 1); exit 1; }; } 13364 { (exit 1); exit 1; }; }
11699 fi 13365 fi
11700 13366
11701fi 13367fi
11702 13368
11703 echo "$as_me:11703: result: $curl_cv_socklen_t_equiv" >&5 13369 echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5
11704echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6 13370echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6
11705 13371
11706cat >>confdefs.h <<EOF 13372cat >>confdefs.h <<_ACEOF
11707#define socklen_t $curl_cv_socklen_t_equiv 13373#define socklen_t $curl_cv_socklen_t_equiv
11708EOF 13374_ACEOF
11709 13375
11710fi 13376fi
11711 13377
11712echo "$as_me:11712: checking for sig_atomic_t" >&5 13378
13379
13380echo "$as_me:$LINENO: checking for sig_atomic_t" >&5
11713echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6 13381echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
11714if test "${ac_cv_type_sig_atomic_t+set}" = set; then 13382if test "${ac_cv_type_sig_atomic_t+set}" = set; then
11715 echo $ECHO_N "(cached) $ECHO_C" >&6 13383 echo $ECHO_N "(cached) $ECHO_C" >&6
11716else 13384else
11717 cat >conftest.$ac_ext <<_ACEOF 13385 cat >conftest.$ac_ext <<_ACEOF
11718#line 11718 "configure" 13386#line $LINENO "configure"
11719#include "confdefs.h" 13387/* confdefs.h. */
13388_ACEOF
13389cat confdefs.h >>conftest.$ac_ext
13390cat >>conftest.$ac_ext <<_ACEOF
13391/* end confdefs.h. */
11720#include <signal.h> 13392#include <signal.h>
11721 13393
11722int 13394int
@@ -11731,44 +13403,51 @@ if (sizeof (sig_atomic_t))
11731} 13403}
11732_ACEOF 13404_ACEOF
11733rm -f conftest.$ac_objext 13405rm -f conftest.$ac_objext
11734if { (eval echo "$as_me:11734: \"$ac_compile\"") >&5 13406if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11735 (eval $ac_compile) 2>&5 13407 (eval $ac_compile) 2>&5
11736 ac_status=$? 13408 ac_status=$?
11737 echo "$as_me:11737: \$? = $ac_status" >&5 13409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11738 (exit $ac_status); } && 13410 (exit $ac_status); } &&
11739 { ac_try='test -s conftest.$ac_objext' 13411 { ac_try='test -s conftest.$ac_objext'
11740 { (eval echo "$as_me:11740: \"$ac_try\"") >&5 13412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11741 (eval $ac_try) 2>&5 13413 (eval $ac_try) 2>&5
11742 ac_status=$? 13414 ac_status=$?
11743 echo "$as_me:11743: \$? = $ac_status" >&5 13415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); }; }; then 13416 (exit $ac_status); }; }; then
11745 ac_cv_type_sig_atomic_t=yes 13417 ac_cv_type_sig_atomic_t=yes
11746else 13418else
11747 echo "$as_me: failed program was:" >&5 13419 echo "$as_me: failed program was:" >&5
11748cat conftest.$ac_ext >&5 13420sed 's/^/| /' conftest.$ac_ext >&5
13421
11749ac_cv_type_sig_atomic_t=no 13422ac_cv_type_sig_atomic_t=no
11750fi 13423fi
11751rm -f conftest.$ac_objext conftest.$ac_ext 13424rm -f conftest.$ac_objext conftest.$ac_ext
11752fi 13425fi
11753echo "$as_me:11753: result: $ac_cv_type_sig_atomic_t" >&5 13426echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5
11754echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6 13427echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
11755if test $ac_cv_type_sig_atomic_t = yes; then 13428if test $ac_cv_type_sig_atomic_t = yes; then
11756 13429
11757cat >>confdefs.h <<EOF 13430cat >>confdefs.h <<_ACEOF
11758#define HAVE_SIG_ATOMIC_T 1 13431#define HAVE_SIG_ATOMIC_T 1
11759EOF 13432_ACEOF
13433
11760 13434
11761fi 13435fi
11762 13436
11763echo "$as_me:11763: checking for size_t" >&5 13437
13438echo "$as_me:$LINENO: checking for size_t" >&5
11764echo $ECHO_N "checking for size_t... $ECHO_C" >&6 13439echo $ECHO_N "checking for size_t... $ECHO_C" >&6
11765if test "${ac_cv_have_size_t+set}" = set; then 13440if test "${ac_cv_have_size_t+set}" = set; then
11766 echo $ECHO_N "(cached) $ECHO_C" >&6 13441 echo $ECHO_N "(cached) $ECHO_C" >&6
11767else 13442else
11768 13443
11769 cat >conftest.$ac_ext <<_ACEOF 13444 cat >conftest.$ac_ext <<_ACEOF
11770#line 11770 "configure" 13445#line $LINENO "configure"
11771#include "confdefs.h" 13446/* confdefs.h. */
13447_ACEOF
13448cat confdefs.h >>conftest.$ac_ext
13449cat >>conftest.$ac_ext <<_ACEOF
13450/* end confdefs.h. */
11772 13451
11773#include <sys/types.h> 13452#include <sys/types.h>
11774 13453
@@ -11781,45 +13460,50 @@ main ()
11781} 13460}
11782_ACEOF 13461_ACEOF
11783rm -f conftest.$ac_objext 13462rm -f conftest.$ac_objext
11784if { (eval echo "$as_me:11784: \"$ac_compile\"") >&5 13463if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11785 (eval $ac_compile) 2>&5 13464 (eval $ac_compile) 2>&5
11786 ac_status=$? 13465 ac_status=$?
11787 echo "$as_me:11787: \$? = $ac_status" >&5 13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11788 (exit $ac_status); } && 13467 (exit $ac_status); } &&
11789 { ac_try='test -s conftest.$ac_objext' 13468 { ac_try='test -s conftest.$ac_objext'
11790 { (eval echo "$as_me:11790: \"$ac_try\"") >&5 13469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11791 (eval $ac_try) 2>&5 13470 (eval $ac_try) 2>&5
11792 ac_status=$? 13471 ac_status=$?
11793 echo "$as_me:11793: \$? = $ac_status" >&5 13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11794 (exit $ac_status); }; }; then 13473 (exit $ac_status); }; }; then
11795 ac_cv_have_size_t="yes" 13474 ac_cv_have_size_t="yes"
11796else 13475else
11797 echo "$as_me: failed program was:" >&5 13476 echo "$as_me: failed program was:" >&5
11798cat conftest.$ac_ext >&5 13477sed 's/^/| /' conftest.$ac_ext >&5
13478
11799 ac_cv_have_size_t="no" 13479 ac_cv_have_size_t="no"
11800 13480
11801fi 13481fi
11802rm -f conftest.$ac_objext conftest.$ac_ext 13482rm -f conftest.$ac_objext conftest.$ac_ext
11803 13483
11804fi 13484fi
11805echo "$as_me:11805: result: $ac_cv_have_size_t" >&5 13485echo "$as_me:$LINENO: result: $ac_cv_have_size_t" >&5
11806echo "${ECHO_T}$ac_cv_have_size_t" >&6 13486echo "${ECHO_T}$ac_cv_have_size_t" >&6
11807if test "x$ac_cv_have_size_t" = "xyes" ; then 13487if test "x$ac_cv_have_size_t" = "xyes" ; then
11808 cat >>confdefs.h <<\EOF 13488 cat >>confdefs.h <<\_ACEOF
11809#define HAVE_SIZE_T 1 13489#define HAVE_SIZE_T 1
11810EOF 13490_ACEOF
11811 13491
11812fi 13492fi
11813 13493
11814echo "$as_me:11814: checking for ssize_t" >&5 13494echo "$as_me:$LINENO: checking for ssize_t" >&5
11815echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 13495echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
11816if test "${ac_cv_have_ssize_t+set}" = set; then 13496if test "${ac_cv_have_ssize_t+set}" = set; then
11817 echo $ECHO_N "(cached) $ECHO_C" >&6 13497 echo $ECHO_N "(cached) $ECHO_C" >&6
11818else 13498else
11819 13499
11820 cat >conftest.$ac_ext <<_ACEOF 13500 cat >conftest.$ac_ext <<_ACEOF
11821#line 11821 "configure" 13501#line $LINENO "configure"
11822#include "confdefs.h" 13502/* confdefs.h. */
13503_ACEOF
13504cat confdefs.h >>conftest.$ac_ext
13505cat >>conftest.$ac_ext <<_ACEOF
13506/* end confdefs.h. */
11823 13507
11824#include <sys/types.h> 13508#include <sys/types.h>
11825 13509
@@ -11832,45 +13516,50 @@ main ()
11832} 13516}
11833_ACEOF 13517_ACEOF
11834rm -f conftest.$ac_objext 13518rm -f conftest.$ac_objext
11835if { (eval echo "$as_me:11835: \"$ac_compile\"") >&5 13519if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11836 (eval $ac_compile) 2>&5 13520 (eval $ac_compile) 2>&5
11837 ac_status=$? 13521 ac_status=$?
11838 echo "$as_me:11838: \$? = $ac_status" >&5 13522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11839 (exit $ac_status); } && 13523 (exit $ac_status); } &&
11840 { ac_try='test -s conftest.$ac_objext' 13524 { ac_try='test -s conftest.$ac_objext'
11841 { (eval echo "$as_me:11841: \"$ac_try\"") >&5 13525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11842 (eval $ac_try) 2>&5 13526 (eval $ac_try) 2>&5
11843 ac_status=$? 13527 ac_status=$?
11844 echo "$as_me:11844: \$? = $ac_status" >&5 13528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11845 (exit $ac_status); }; }; then 13529 (exit $ac_status); }; }; then
11846 ac_cv_have_ssize_t="yes" 13530 ac_cv_have_ssize_t="yes"
11847else 13531else
11848 echo "$as_me: failed program was:" >&5 13532 echo "$as_me: failed program was:" >&5
11849cat conftest.$ac_ext >&5 13533sed 's/^/| /' conftest.$ac_ext >&5
13534
11850 ac_cv_have_ssize_t="no" 13535 ac_cv_have_ssize_t="no"
11851 13536
11852fi 13537fi
11853rm -f conftest.$ac_objext conftest.$ac_ext 13538rm -f conftest.$ac_objext conftest.$ac_ext
11854 13539
11855fi 13540fi
11856echo "$as_me:11856: result: $ac_cv_have_ssize_t" >&5 13541echo "$as_me:$LINENO: result: $ac_cv_have_ssize_t" >&5
11857echo "${ECHO_T}$ac_cv_have_ssize_t" >&6 13542echo "${ECHO_T}$ac_cv_have_ssize_t" >&6
11858if test "x$ac_cv_have_ssize_t" = "xyes" ; then 13543if test "x$ac_cv_have_ssize_t" = "xyes" ; then
11859 cat >>confdefs.h <<\EOF 13544 cat >>confdefs.h <<\_ACEOF
11860#define HAVE_SSIZE_T 1 13545#define HAVE_SSIZE_T 1
11861EOF 13546_ACEOF
11862 13547
11863fi 13548fi
11864 13549
11865echo "$as_me:11865: checking for clock_t" >&5 13550echo "$as_me:$LINENO: checking for clock_t" >&5
11866echo $ECHO_N "checking for clock_t... $ECHO_C" >&6 13551echo $ECHO_N "checking for clock_t... $ECHO_C" >&6
11867if test "${ac_cv_have_clock_t+set}" = set; then 13552if test "${ac_cv_have_clock_t+set}" = set; then
11868 echo $ECHO_N "(cached) $ECHO_C" >&6 13553 echo $ECHO_N "(cached) $ECHO_C" >&6
11869else 13554else
11870 13555
11871 cat >conftest.$ac_ext <<_ACEOF 13556 cat >conftest.$ac_ext <<_ACEOF
11872#line 11872 "configure" 13557#line $LINENO "configure"
11873#include "confdefs.h" 13558/* confdefs.h. */
13559_ACEOF
13560cat confdefs.h >>conftest.$ac_ext
13561cat >>conftest.$ac_ext <<_ACEOF
13562/* end confdefs.h. */
11874 13563
11875#include <time.h> 13564#include <time.h>
11876 13565
@@ -11883,45 +13572,50 @@ main ()
11883} 13572}
11884_ACEOF 13573_ACEOF
11885rm -f conftest.$ac_objext 13574rm -f conftest.$ac_objext
11886if { (eval echo "$as_me:11886: \"$ac_compile\"") >&5 13575if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11887 (eval $ac_compile) 2>&5 13576 (eval $ac_compile) 2>&5
11888 ac_status=$? 13577 ac_status=$?
11889 echo "$as_me:11889: \$? = $ac_status" >&5 13578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11890 (exit $ac_status); } && 13579 (exit $ac_status); } &&
11891 { ac_try='test -s conftest.$ac_objext' 13580 { ac_try='test -s conftest.$ac_objext'
11892 { (eval echo "$as_me:11892: \"$ac_try\"") >&5 13581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11893 (eval $ac_try) 2>&5 13582 (eval $ac_try) 2>&5
11894 ac_status=$? 13583 ac_status=$?
11895 echo "$as_me:11895: \$? = $ac_status" >&5 13584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11896 (exit $ac_status); }; }; then 13585 (exit $ac_status); }; }; then
11897 ac_cv_have_clock_t="yes" 13586 ac_cv_have_clock_t="yes"
11898else 13587else
11899 echo "$as_me: failed program was:" >&5 13588 echo "$as_me: failed program was:" >&5
11900cat conftest.$ac_ext >&5 13589sed 's/^/| /' conftest.$ac_ext >&5
13590
11901 ac_cv_have_clock_t="no" 13591 ac_cv_have_clock_t="no"
11902 13592
11903fi 13593fi
11904rm -f conftest.$ac_objext conftest.$ac_ext 13594rm -f conftest.$ac_objext conftest.$ac_ext
11905 13595
11906fi 13596fi
11907echo "$as_me:11907: result: $ac_cv_have_clock_t" >&5 13597echo "$as_me:$LINENO: result: $ac_cv_have_clock_t" >&5
11908echo "${ECHO_T}$ac_cv_have_clock_t" >&6 13598echo "${ECHO_T}$ac_cv_have_clock_t" >&6
11909if test "x$ac_cv_have_clock_t" = "xyes" ; then 13599if test "x$ac_cv_have_clock_t" = "xyes" ; then
11910 cat >>confdefs.h <<\EOF 13600 cat >>confdefs.h <<\_ACEOF
11911#define HAVE_CLOCK_T 1 13601#define HAVE_CLOCK_T 1
11912EOF 13602_ACEOF
11913 13603
11914fi 13604fi
11915 13605
11916echo "$as_me:11916: checking for sa_family_t" >&5 13606echo "$as_me:$LINENO: checking for sa_family_t" >&5
11917echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6 13607echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
11918if test "${ac_cv_have_sa_family_t+set}" = set; then 13608if test "${ac_cv_have_sa_family_t+set}" = set; then
11919 echo $ECHO_N "(cached) $ECHO_C" >&6 13609 echo $ECHO_N "(cached) $ECHO_C" >&6
11920else 13610else
11921 13611
11922 cat >conftest.$ac_ext <<_ACEOF 13612 cat >conftest.$ac_ext <<_ACEOF
11923#line 11923 "configure" 13613#line $LINENO "configure"
11924#include "confdefs.h" 13614/* confdefs.h. */
13615_ACEOF
13616cat confdefs.h >>conftest.$ac_ext
13617cat >>conftest.$ac_ext <<_ACEOF
13618/* end confdefs.h. */
11925 13619
11926#include <sys/types.h> 13620#include <sys/types.h>
11927#include <sys/socket.h> 13621#include <sys/socket.h>
@@ -11935,24 +13629,29 @@ main ()
11935} 13629}
11936_ACEOF 13630_ACEOF
11937rm -f conftest.$ac_objext 13631rm -f conftest.$ac_objext
11938if { (eval echo "$as_me:11938: \"$ac_compile\"") >&5 13632if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11939 (eval $ac_compile) 2>&5 13633 (eval $ac_compile) 2>&5
11940 ac_status=$? 13634 ac_status=$?
11941 echo "$as_me:11941: \$? = $ac_status" >&5 13635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11942 (exit $ac_status); } && 13636 (exit $ac_status); } &&
11943 { ac_try='test -s conftest.$ac_objext' 13637 { ac_try='test -s conftest.$ac_objext'
11944 { (eval echo "$as_me:11944: \"$ac_try\"") >&5 13638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11945 (eval $ac_try) 2>&5 13639 (eval $ac_try) 2>&5
11946 ac_status=$? 13640 ac_status=$?
11947 echo "$as_me:11947: \$? = $ac_status" >&5 13641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11948 (exit $ac_status); }; }; then 13642 (exit $ac_status); }; }; then
11949 ac_cv_have_sa_family_t="yes" 13643 ac_cv_have_sa_family_t="yes"
11950else 13644else
11951 echo "$as_me: failed program was:" >&5 13645 echo "$as_me: failed program was:" >&5
11952cat conftest.$ac_ext >&5 13646sed 's/^/| /' conftest.$ac_ext >&5
13647
11953 cat >conftest.$ac_ext <<_ACEOF 13648 cat >conftest.$ac_ext <<_ACEOF
11954#line 11954 "configure" 13649#line $LINENO "configure"
11955#include "confdefs.h" 13650/* confdefs.h. */
13651_ACEOF
13652cat confdefs.h >>conftest.$ac_ext
13653cat >>conftest.$ac_ext <<_ACEOF
13654/* end confdefs.h. */
11956 13655
11957#include <sys/types.h> 13656#include <sys/types.h>
11958#include <sys/socket.h> 13657#include <sys/socket.h>
@@ -11967,21 +13666,22 @@ main ()
11967} 13666}
11968_ACEOF 13667_ACEOF
11969rm -f conftest.$ac_objext 13668rm -f conftest.$ac_objext
11970if { (eval echo "$as_me:11970: \"$ac_compile\"") >&5 13669if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11971 (eval $ac_compile) 2>&5 13670 (eval $ac_compile) 2>&5
11972 ac_status=$? 13671 ac_status=$?
11973 echo "$as_me:11973: \$? = $ac_status" >&5 13672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11974 (exit $ac_status); } && 13673 (exit $ac_status); } &&
11975 { ac_try='test -s conftest.$ac_objext' 13674 { ac_try='test -s conftest.$ac_objext'
11976 { (eval echo "$as_me:11976: \"$ac_try\"") >&5 13675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11977 (eval $ac_try) 2>&5 13676 (eval $ac_try) 2>&5
11978 ac_status=$? 13677 ac_status=$?
11979 echo "$as_me:11979: \$? = $ac_status" >&5 13678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11980 (exit $ac_status); }; }; then 13679 (exit $ac_status); }; }; then
11981 ac_cv_have_sa_family_t="yes" 13680 ac_cv_have_sa_family_t="yes"
11982else 13681else
11983 echo "$as_me: failed program was:" >&5 13682 echo "$as_me: failed program was:" >&5
11984cat conftest.$ac_ext >&5 13683sed 's/^/| /' conftest.$ac_ext >&5
13684
11985 ac_cv_have_sa_family_t="no" 13685 ac_cv_have_sa_family_t="no"
11986 13686
11987fi 13687fi
@@ -11991,24 +13691,28 @@ fi
11991rm -f conftest.$ac_objext conftest.$ac_ext 13691rm -f conftest.$ac_objext conftest.$ac_ext
11992 13692
11993fi 13693fi
11994echo "$as_me:11994: result: $ac_cv_have_sa_family_t" >&5 13694echo "$as_me:$LINENO: result: $ac_cv_have_sa_family_t" >&5
11995echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6 13695echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6
11996if test "x$ac_cv_have_sa_family_t" = "xyes" ; then 13696if test "x$ac_cv_have_sa_family_t" = "xyes" ; then
11997 cat >>confdefs.h <<\EOF 13697 cat >>confdefs.h <<\_ACEOF
11998#define HAVE_SA_FAMILY_T 1 13698#define HAVE_SA_FAMILY_T 1
11999EOF 13699_ACEOF
12000 13700
12001fi 13701fi
12002 13702
12003echo "$as_me:12003: checking for pid_t" >&5 13703echo "$as_me:$LINENO: checking for pid_t" >&5
12004echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 13704echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
12005if test "${ac_cv_have_pid_t+set}" = set; then 13705if test "${ac_cv_have_pid_t+set}" = set; then
12006 echo $ECHO_N "(cached) $ECHO_C" >&6 13706 echo $ECHO_N "(cached) $ECHO_C" >&6
12007else 13707else
12008 13708
12009 cat >conftest.$ac_ext <<_ACEOF 13709 cat >conftest.$ac_ext <<_ACEOF
12010#line 12010 "configure" 13710#line $LINENO "configure"
12011#include "confdefs.h" 13711/* confdefs.h. */
13712_ACEOF
13713cat confdefs.h >>conftest.$ac_ext
13714cat >>conftest.$ac_ext <<_ACEOF
13715/* end confdefs.h. */
12012 13716
12013#include <sys/types.h> 13717#include <sys/types.h>
12014 13718
@@ -12021,45 +13725,50 @@ main ()
12021} 13725}
12022_ACEOF 13726_ACEOF
12023rm -f conftest.$ac_objext 13727rm -f conftest.$ac_objext
12024if { (eval echo "$as_me:12024: \"$ac_compile\"") >&5 13728if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12025 (eval $ac_compile) 2>&5 13729 (eval $ac_compile) 2>&5
12026 ac_status=$? 13730 ac_status=$?
12027 echo "$as_me:12027: \$? = $ac_status" >&5 13731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12028 (exit $ac_status); } && 13732 (exit $ac_status); } &&
12029 { ac_try='test -s conftest.$ac_objext' 13733 { ac_try='test -s conftest.$ac_objext'
12030 { (eval echo "$as_me:12030: \"$ac_try\"") >&5 13734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12031 (eval $ac_try) 2>&5 13735 (eval $ac_try) 2>&5
12032 ac_status=$? 13736 ac_status=$?
12033 echo "$as_me:12033: \$? = $ac_status" >&5 13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12034 (exit $ac_status); }; }; then 13738 (exit $ac_status); }; }; then
12035 ac_cv_have_pid_t="yes" 13739 ac_cv_have_pid_t="yes"
12036else 13740else
12037 echo "$as_me: failed program was:" >&5 13741 echo "$as_me: failed program was:" >&5
12038cat conftest.$ac_ext >&5 13742sed 's/^/| /' conftest.$ac_ext >&5
13743
12039 ac_cv_have_pid_t="no" 13744 ac_cv_have_pid_t="no"
12040 13745
12041fi 13746fi
12042rm -f conftest.$ac_objext conftest.$ac_ext 13747rm -f conftest.$ac_objext conftest.$ac_ext
12043 13748
12044fi 13749fi
12045echo "$as_me:12045: result: $ac_cv_have_pid_t" >&5 13750echo "$as_me:$LINENO: result: $ac_cv_have_pid_t" >&5
12046echo "${ECHO_T}$ac_cv_have_pid_t" >&6 13751echo "${ECHO_T}$ac_cv_have_pid_t" >&6
12047if test "x$ac_cv_have_pid_t" = "xyes" ; then 13752if test "x$ac_cv_have_pid_t" = "xyes" ; then
12048 cat >>confdefs.h <<\EOF 13753 cat >>confdefs.h <<\_ACEOF
12049#define HAVE_PID_T 1 13754#define HAVE_PID_T 1
12050EOF 13755_ACEOF
12051 13756
12052fi 13757fi
12053 13758
12054echo "$as_me:12054: checking for mode_t" >&5 13759echo "$as_me:$LINENO: checking for mode_t" >&5
12055echo $ECHO_N "checking for mode_t... $ECHO_C" >&6 13760echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
12056if test "${ac_cv_have_mode_t+set}" = set; then 13761if test "${ac_cv_have_mode_t+set}" = set; then
12057 echo $ECHO_N "(cached) $ECHO_C" >&6 13762 echo $ECHO_N "(cached) $ECHO_C" >&6
12058else 13763else
12059 13764
12060 cat >conftest.$ac_ext <<_ACEOF 13765 cat >conftest.$ac_ext <<_ACEOF
12061#line 12061 "configure" 13766#line $LINENO "configure"
12062#include "confdefs.h" 13767/* confdefs.h. */
13768_ACEOF
13769cat confdefs.h >>conftest.$ac_ext
13770cat >>conftest.$ac_ext <<_ACEOF
13771/* end confdefs.h. */
12063 13772
12064#include <sys/types.h> 13773#include <sys/types.h>
12065 13774
@@ -12072,45 +13781,51 @@ main ()
12072} 13781}
12073_ACEOF 13782_ACEOF
12074rm -f conftest.$ac_objext 13783rm -f conftest.$ac_objext
12075if { (eval echo "$as_me:12075: \"$ac_compile\"") >&5 13784if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12076 (eval $ac_compile) 2>&5 13785 (eval $ac_compile) 2>&5
12077 ac_status=$? 13786 ac_status=$?
12078 echo "$as_me:12078: \$? = $ac_status" >&5 13787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079 (exit $ac_status); } && 13788 (exit $ac_status); } &&
12080 { ac_try='test -s conftest.$ac_objext' 13789 { ac_try='test -s conftest.$ac_objext'
12081 { (eval echo "$as_me:12081: \"$ac_try\"") >&5 13790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12082 (eval $ac_try) 2>&5 13791 (eval $ac_try) 2>&5
12083 ac_status=$? 13792 ac_status=$?
12084 echo "$as_me:12084: \$? = $ac_status" >&5 13793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12085 (exit $ac_status); }; }; then 13794 (exit $ac_status); }; }; then
12086 ac_cv_have_mode_t="yes" 13795 ac_cv_have_mode_t="yes"
12087else 13796else
12088 echo "$as_me: failed program was:" >&5 13797 echo "$as_me: failed program was:" >&5
12089cat conftest.$ac_ext >&5 13798sed 's/^/| /' conftest.$ac_ext >&5
13799
12090 ac_cv_have_mode_t="no" 13800 ac_cv_have_mode_t="no"
12091 13801
12092fi 13802fi
12093rm -f conftest.$ac_objext conftest.$ac_ext 13803rm -f conftest.$ac_objext conftest.$ac_ext
12094 13804
12095fi 13805fi
12096echo "$as_me:12096: result: $ac_cv_have_mode_t" >&5 13806echo "$as_me:$LINENO: result: $ac_cv_have_mode_t" >&5
12097echo "${ECHO_T}$ac_cv_have_mode_t" >&6 13807echo "${ECHO_T}$ac_cv_have_mode_t" >&6
12098if test "x$ac_cv_have_mode_t" = "xyes" ; then 13808if test "x$ac_cv_have_mode_t" = "xyes" ; then
12099 cat >>confdefs.h <<\EOF 13809 cat >>confdefs.h <<\_ACEOF
12100#define HAVE_MODE_T 1 13810#define HAVE_MODE_T 1
12101EOF 13811_ACEOF
12102 13812
12103fi 13813fi
12104 13814
12105echo "$as_me:12105: checking for struct sockaddr_storage" >&5 13815
13816echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
12106echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6 13817echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
12107if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then 13818if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then
12108 echo $ECHO_N "(cached) $ECHO_C" >&6 13819 echo $ECHO_N "(cached) $ECHO_C" >&6
12109else 13820else
12110 13821
12111 cat >conftest.$ac_ext <<_ACEOF 13822 cat >conftest.$ac_ext <<_ACEOF
12112#line 12112 "configure" 13823#line $LINENO "configure"
12113#include "confdefs.h" 13824/* confdefs.h. */
13825_ACEOF
13826cat confdefs.h >>conftest.$ac_ext
13827cat >>conftest.$ac_ext <<_ACEOF
13828/* end confdefs.h. */
12114 13829
12115#include <sys/types.h> 13830#include <sys/types.h>
12116#include <sys/socket.h> 13831#include <sys/socket.h>
@@ -12124,45 +13839,50 @@ main ()
12124} 13839}
12125_ACEOF 13840_ACEOF
12126rm -f conftest.$ac_objext 13841rm -f conftest.$ac_objext
12127if { (eval echo "$as_me:12127: \"$ac_compile\"") >&5 13842if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12128 (eval $ac_compile) 2>&5 13843 (eval $ac_compile) 2>&5
12129 ac_status=$? 13844 ac_status=$?
12130 echo "$as_me:12130: \$? = $ac_status" >&5 13845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12131 (exit $ac_status); } && 13846 (exit $ac_status); } &&
12132 { ac_try='test -s conftest.$ac_objext' 13847 { ac_try='test -s conftest.$ac_objext'
12133 { (eval echo "$as_me:12133: \"$ac_try\"") >&5 13848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12134 (eval $ac_try) 2>&5 13849 (eval $ac_try) 2>&5
12135 ac_status=$? 13850 ac_status=$?
12136 echo "$as_me:12136: \$? = $ac_status" >&5 13851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12137 (exit $ac_status); }; }; then 13852 (exit $ac_status); }; }; then
12138 ac_cv_have_struct_sockaddr_storage="yes" 13853 ac_cv_have_struct_sockaddr_storage="yes"
12139else 13854else
12140 echo "$as_me: failed program was:" >&5 13855 echo "$as_me: failed program was:" >&5
12141cat conftest.$ac_ext >&5 13856sed 's/^/| /' conftest.$ac_ext >&5
13857
12142 ac_cv_have_struct_sockaddr_storage="no" 13858 ac_cv_have_struct_sockaddr_storage="no"
12143 13859
12144fi 13860fi
12145rm -f conftest.$ac_objext conftest.$ac_ext 13861rm -f conftest.$ac_objext conftest.$ac_ext
12146 13862
12147fi 13863fi
12148echo "$as_me:12148: result: $ac_cv_have_struct_sockaddr_storage" >&5 13864echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5
12149echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6 13865echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6
12150if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then 13866if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then
12151 cat >>confdefs.h <<\EOF 13867 cat >>confdefs.h <<\_ACEOF
12152#define HAVE_STRUCT_SOCKADDR_STORAGE 1 13868#define HAVE_STRUCT_SOCKADDR_STORAGE 1
12153EOF 13869_ACEOF
12154 13870
12155fi 13871fi
12156 13872
12157echo "$as_me:12157: checking for struct sockaddr_in6" >&5 13873echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5
12158echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6 13874echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6
12159if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then 13875if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then
12160 echo $ECHO_N "(cached) $ECHO_C" >&6 13876 echo $ECHO_N "(cached) $ECHO_C" >&6
12161else 13877else
12162 13878
12163 cat >conftest.$ac_ext <<_ACEOF 13879 cat >conftest.$ac_ext <<_ACEOF
12164#line 12164 "configure" 13880#line $LINENO "configure"
12165#include "confdefs.h" 13881/* confdefs.h. */
13882_ACEOF
13883cat confdefs.h >>conftest.$ac_ext
13884cat >>conftest.$ac_ext <<_ACEOF
13885/* end confdefs.h. */
12166 13886
12167#include <sys/types.h> 13887#include <sys/types.h>
12168#include <netinet/in.h> 13888#include <netinet/in.h>
@@ -12176,45 +13896,50 @@ main ()
12176} 13896}
12177_ACEOF 13897_ACEOF
12178rm -f conftest.$ac_objext 13898rm -f conftest.$ac_objext
12179if { (eval echo "$as_me:12179: \"$ac_compile\"") >&5 13899if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12180 (eval $ac_compile) 2>&5 13900 (eval $ac_compile) 2>&5
12181 ac_status=$? 13901 ac_status=$?
12182 echo "$as_me:12182: \$? = $ac_status" >&5 13902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183 (exit $ac_status); } && 13903 (exit $ac_status); } &&
12184 { ac_try='test -s conftest.$ac_objext' 13904 { ac_try='test -s conftest.$ac_objext'
12185 { (eval echo "$as_me:12185: \"$ac_try\"") >&5 13905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12186 (eval $ac_try) 2>&5 13906 (eval $ac_try) 2>&5
12187 ac_status=$? 13907 ac_status=$?
12188 echo "$as_me:12188: \$? = $ac_status" >&5 13908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12189 (exit $ac_status); }; }; then 13909 (exit $ac_status); }; }; then
12190 ac_cv_have_struct_sockaddr_in6="yes" 13910 ac_cv_have_struct_sockaddr_in6="yes"
12191else 13911else
12192 echo "$as_me: failed program was:" >&5 13912 echo "$as_me: failed program was:" >&5
12193cat conftest.$ac_ext >&5 13913sed 's/^/| /' conftest.$ac_ext >&5
13914
12194 ac_cv_have_struct_sockaddr_in6="no" 13915 ac_cv_have_struct_sockaddr_in6="no"
12195 13916
12196fi 13917fi
12197rm -f conftest.$ac_objext conftest.$ac_ext 13918rm -f conftest.$ac_objext conftest.$ac_ext
12198 13919
12199fi 13920fi
12200echo "$as_me:12200: result: $ac_cv_have_struct_sockaddr_in6" >&5 13921echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5
12201echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6 13922echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6
12202if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then 13923if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then
12203 cat >>confdefs.h <<\EOF 13924 cat >>confdefs.h <<\_ACEOF
12204#define HAVE_STRUCT_SOCKADDR_IN6 1 13925#define HAVE_STRUCT_SOCKADDR_IN6 1
12205EOF 13926_ACEOF
12206 13927
12207fi 13928fi
12208 13929
12209echo "$as_me:12209: checking for struct in6_addr" >&5 13930echo "$as_me:$LINENO: checking for struct in6_addr" >&5
12210echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6 13931echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6
12211if test "${ac_cv_have_struct_in6_addr+set}" = set; then 13932if test "${ac_cv_have_struct_in6_addr+set}" = set; then
12212 echo $ECHO_N "(cached) $ECHO_C" >&6 13933 echo $ECHO_N "(cached) $ECHO_C" >&6
12213else 13934else
12214 13935
12215 cat >conftest.$ac_ext <<_ACEOF 13936 cat >conftest.$ac_ext <<_ACEOF
12216#line 12216 "configure" 13937#line $LINENO "configure"
12217#include "confdefs.h" 13938/* confdefs.h. */
13939_ACEOF
13940cat confdefs.h >>conftest.$ac_ext
13941cat >>conftest.$ac_ext <<_ACEOF
13942/* end confdefs.h. */
12218 13943
12219#include <sys/types.h> 13944#include <sys/types.h>
12220#include <netinet/in.h> 13945#include <netinet/in.h>
@@ -12228,45 +13953,50 @@ main ()
12228} 13953}
12229_ACEOF 13954_ACEOF
12230rm -f conftest.$ac_objext 13955rm -f conftest.$ac_objext
12231if { (eval echo "$as_me:12231: \"$ac_compile\"") >&5 13956if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12232 (eval $ac_compile) 2>&5 13957 (eval $ac_compile) 2>&5
12233 ac_status=$? 13958 ac_status=$?
12234 echo "$as_me:12234: \$? = $ac_status" >&5 13959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235 (exit $ac_status); } && 13960 (exit $ac_status); } &&
12236 { ac_try='test -s conftest.$ac_objext' 13961 { ac_try='test -s conftest.$ac_objext'
12237 { (eval echo "$as_me:12237: \"$ac_try\"") >&5 13962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12238 (eval $ac_try) 2>&5 13963 (eval $ac_try) 2>&5
12239 ac_status=$? 13964 ac_status=$?
12240 echo "$as_me:12240: \$? = $ac_status" >&5 13965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 (exit $ac_status); }; }; then 13966 (exit $ac_status); }; }; then
12242 ac_cv_have_struct_in6_addr="yes" 13967 ac_cv_have_struct_in6_addr="yes"
12243else 13968else
12244 echo "$as_me: failed program was:" >&5 13969 echo "$as_me: failed program was:" >&5
12245cat conftest.$ac_ext >&5 13970sed 's/^/| /' conftest.$ac_ext >&5
13971
12246 ac_cv_have_struct_in6_addr="no" 13972 ac_cv_have_struct_in6_addr="no"
12247 13973
12248fi 13974fi
12249rm -f conftest.$ac_objext conftest.$ac_ext 13975rm -f conftest.$ac_objext conftest.$ac_ext
12250 13976
12251fi 13977fi
12252echo "$as_me:12252: result: $ac_cv_have_struct_in6_addr" >&5 13978echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5
12253echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6 13979echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6
12254if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then 13980if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then
12255 cat >>confdefs.h <<\EOF 13981 cat >>confdefs.h <<\_ACEOF
12256#define HAVE_STRUCT_IN6_ADDR 1 13982#define HAVE_STRUCT_IN6_ADDR 1
12257EOF 13983_ACEOF
12258 13984
12259fi 13985fi
12260 13986
12261echo "$as_me:12261: checking for struct addrinfo" >&5 13987echo "$as_me:$LINENO: checking for struct addrinfo" >&5
12262echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6 13988echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
12263if test "${ac_cv_have_struct_addrinfo+set}" = set; then 13989if test "${ac_cv_have_struct_addrinfo+set}" = set; then
12264 echo $ECHO_N "(cached) $ECHO_C" >&6 13990 echo $ECHO_N "(cached) $ECHO_C" >&6
12265else 13991else
12266 13992
12267 cat >conftest.$ac_ext <<_ACEOF 13993 cat >conftest.$ac_ext <<_ACEOF
12268#line 12268 "configure" 13994#line $LINENO "configure"
12269#include "confdefs.h" 13995/* confdefs.h. */
13996_ACEOF
13997cat confdefs.h >>conftest.$ac_ext
13998cat >>conftest.$ac_ext <<_ACEOF
13999/* end confdefs.h. */
12270 14000
12271#include <sys/types.h> 14001#include <sys/types.h>
12272#include <sys/socket.h> 14002#include <sys/socket.h>
@@ -12281,45 +14011,50 @@ main ()
12281} 14011}
12282_ACEOF 14012_ACEOF
12283rm -f conftest.$ac_objext 14013rm -f conftest.$ac_objext
12284if { (eval echo "$as_me:12284: \"$ac_compile\"") >&5 14014if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12285 (eval $ac_compile) 2>&5 14015 (eval $ac_compile) 2>&5
12286 ac_status=$? 14016 ac_status=$?
12287 echo "$as_me:12287: \$? = $ac_status" >&5 14017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12288 (exit $ac_status); } && 14018 (exit $ac_status); } &&
12289 { ac_try='test -s conftest.$ac_objext' 14019 { ac_try='test -s conftest.$ac_objext'
12290 { (eval echo "$as_me:12290: \"$ac_try\"") >&5 14020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12291 (eval $ac_try) 2>&5 14021 (eval $ac_try) 2>&5
12292 ac_status=$? 14022 ac_status=$?
12293 echo "$as_me:12293: \$? = $ac_status" >&5 14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12294 (exit $ac_status); }; }; then 14024 (exit $ac_status); }; }; then
12295 ac_cv_have_struct_addrinfo="yes" 14025 ac_cv_have_struct_addrinfo="yes"
12296else 14026else
12297 echo "$as_me: failed program was:" >&5 14027 echo "$as_me: failed program was:" >&5
12298cat conftest.$ac_ext >&5 14028sed 's/^/| /' conftest.$ac_ext >&5
14029
12299 ac_cv_have_struct_addrinfo="no" 14030 ac_cv_have_struct_addrinfo="no"
12300 14031
12301fi 14032fi
12302rm -f conftest.$ac_objext conftest.$ac_ext 14033rm -f conftest.$ac_objext conftest.$ac_ext
12303 14034
12304fi 14035fi
12305echo "$as_me:12305: result: $ac_cv_have_struct_addrinfo" >&5 14036echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5
12306echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6 14037echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6
12307if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then 14038if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then
12308 cat >>confdefs.h <<\EOF 14039 cat >>confdefs.h <<\_ACEOF
12309#define HAVE_STRUCT_ADDRINFO 1 14040#define HAVE_STRUCT_ADDRINFO 1
12310EOF 14041_ACEOF
12311 14042
12312fi 14043fi
12313 14044
12314echo "$as_me:12314: checking for struct timeval" >&5 14045echo "$as_me:$LINENO: checking for struct timeval" >&5
12315echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 14046echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
12316if test "${ac_cv_have_struct_timeval+set}" = set; then 14047if test "${ac_cv_have_struct_timeval+set}" = set; then
12317 echo $ECHO_N "(cached) $ECHO_C" >&6 14048 echo $ECHO_N "(cached) $ECHO_C" >&6
12318else 14049else
12319 14050
12320 cat >conftest.$ac_ext <<_ACEOF 14051 cat >conftest.$ac_ext <<_ACEOF
12321#line 12321 "configure" 14052#line $LINENO "configure"
12322#include "confdefs.h" 14053/* confdefs.h. */
14054_ACEOF
14055cat confdefs.h >>conftest.$ac_ext
14056cat >>conftest.$ac_ext <<_ACEOF
14057/* end confdefs.h. */
12323 #include <sys/time.h> 14058 #include <sys/time.h>
12324int 14059int
12325main () 14060main ()
@@ -12330,45 +14065,50 @@ main ()
12330} 14065}
12331_ACEOF 14066_ACEOF
12332rm -f conftest.$ac_objext 14067rm -f conftest.$ac_objext
12333if { (eval echo "$as_me:12333: \"$ac_compile\"") >&5 14068if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12334 (eval $ac_compile) 2>&5 14069 (eval $ac_compile) 2>&5
12335 ac_status=$? 14070 ac_status=$?
12336 echo "$as_me:12336: \$? = $ac_status" >&5 14071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337 (exit $ac_status); } && 14072 (exit $ac_status); } &&
12338 { ac_try='test -s conftest.$ac_objext' 14073 { ac_try='test -s conftest.$ac_objext'
12339 { (eval echo "$as_me:12339: \"$ac_try\"") >&5 14074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12340 (eval $ac_try) 2>&5 14075 (eval $ac_try) 2>&5
12341 ac_status=$? 14076 ac_status=$?
12342 echo "$as_me:12342: \$? = $ac_status" >&5 14077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12343 (exit $ac_status); }; }; then 14078 (exit $ac_status); }; }; then
12344 ac_cv_have_struct_timeval="yes" 14079 ac_cv_have_struct_timeval="yes"
12345else 14080else
12346 echo "$as_me: failed program was:" >&5 14081 echo "$as_me: failed program was:" >&5
12347cat conftest.$ac_ext >&5 14082sed 's/^/| /' conftest.$ac_ext >&5
14083
12348 ac_cv_have_struct_timeval="no" 14084 ac_cv_have_struct_timeval="no"
12349 14085
12350fi 14086fi
12351rm -f conftest.$ac_objext conftest.$ac_ext 14087rm -f conftest.$ac_objext conftest.$ac_ext
12352 14088
12353fi 14089fi
12354echo "$as_me:12354: result: $ac_cv_have_struct_timeval" >&5 14090echo "$as_me:$LINENO: result: $ac_cv_have_struct_timeval" >&5
12355echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6 14091echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6
12356if test "x$ac_cv_have_struct_timeval" = "xyes" ; then 14092if test "x$ac_cv_have_struct_timeval" = "xyes" ; then
12357 cat >>confdefs.h <<\EOF 14093 cat >>confdefs.h <<\_ACEOF
12358#define HAVE_STRUCT_TIMEVAL 1 14094#define HAVE_STRUCT_TIMEVAL 1
12359EOF 14095_ACEOF
12360 14096
12361 have_struct_timeval=1 14097 have_struct_timeval=1
12362fi 14098fi
12363 14099
12364echo "$as_me:12364: checking for struct timespec" >&5 14100echo "$as_me:$LINENO: checking for struct timespec" >&5
12365echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6 14101echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6
12366if test "${ac_cv_type_struct_timespec+set}" = set; then 14102if test "${ac_cv_type_struct_timespec+set}" = set; then
12367 echo $ECHO_N "(cached) $ECHO_C" >&6 14103 echo $ECHO_N "(cached) $ECHO_C" >&6
12368else 14104else
12369 cat >conftest.$ac_ext <<_ACEOF 14105 cat >conftest.$ac_ext <<_ACEOF
12370#line 12370 "configure" 14106#line $LINENO "configure"
12371#include "confdefs.h" 14107/* confdefs.h. */
14108_ACEOF
14109cat confdefs.h >>conftest.$ac_ext
14110cat >>conftest.$ac_ext <<_ACEOF
14111/* end confdefs.h. */
12372$ac_includes_default 14112$ac_includes_default
12373int 14113int
12374main () 14114main ()
@@ -12382,35 +14122,38 @@ if (sizeof (struct timespec))
12382} 14122}
12383_ACEOF 14123_ACEOF
12384rm -f conftest.$ac_objext 14124rm -f conftest.$ac_objext
12385if { (eval echo "$as_me:12385: \"$ac_compile\"") >&5 14125if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12386 (eval $ac_compile) 2>&5 14126 (eval $ac_compile) 2>&5
12387 ac_status=$? 14127 ac_status=$?
12388 echo "$as_me:12388: \$? = $ac_status" >&5 14128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 (exit $ac_status); } && 14129 (exit $ac_status); } &&
12390 { ac_try='test -s conftest.$ac_objext' 14130 { ac_try='test -s conftest.$ac_objext'
12391 { (eval echo "$as_me:12391: \"$ac_try\"") >&5 14131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12392 (eval $ac_try) 2>&5 14132 (eval $ac_try) 2>&5
12393 ac_status=$? 14133 ac_status=$?
12394 echo "$as_me:12394: \$? = $ac_status" >&5 14134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12395 (exit $ac_status); }; }; then 14135 (exit $ac_status); }; }; then
12396 ac_cv_type_struct_timespec=yes 14136 ac_cv_type_struct_timespec=yes
12397else 14137else
12398 echo "$as_me: failed program was:" >&5 14138 echo "$as_me: failed program was:" >&5
12399cat conftest.$ac_ext >&5 14139sed 's/^/| /' conftest.$ac_ext >&5
14140
12400ac_cv_type_struct_timespec=no 14141ac_cv_type_struct_timespec=no
12401fi 14142fi
12402rm -f conftest.$ac_objext conftest.$ac_ext 14143rm -f conftest.$ac_objext conftest.$ac_ext
12403fi 14144fi
12404echo "$as_me:12404: result: $ac_cv_type_struct_timespec" >&5 14145echo "$as_me:$LINENO: result: $ac_cv_type_struct_timespec" >&5
12405echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6 14146echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6
12406if test $ac_cv_type_struct_timespec = yes; then 14147if test $ac_cv_type_struct_timespec = yes; then
12407 14148
12408cat >>confdefs.h <<EOF 14149cat >>confdefs.h <<_ACEOF
12409#define HAVE_STRUCT_TIMESPEC 1 14150#define HAVE_STRUCT_TIMESPEC 1
12410EOF 14151_ACEOF
14152
12411 14153
12412fi 14154fi
12413 14155
14156
12414# We need int64_t or else certian parts of the compile will fail. 14157# We need int64_t or else certian parts of the compile will fail.
12415if test "x$ac_cv_have_int64_t" = "xno" -a \ 14158if test "x$ac_cv_have_int64_t" = "xno" -a \
12416 "x$ac_cv_sizeof_long_int" != "x8" -a \ 14159 "x$ac_cv_sizeof_long_int" != "x8" -a \
@@ -12421,13 +14164,19 @@ if test "x$ac_cv_have_int64_t" = "xno" -a \
12421 exit 1; 14164 exit 1;
12422else 14165else
12423 if test "$cross_compiling" = yes; then 14166 if test "$cross_compiling" = yes; then
12424 { { echo "$as_me:12424: error: cannot run test program while cross compiling" >&5 14167 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12425echo "$as_me: error: cannot run test program while cross compiling" >&2;} 14168See \`config.log' for more details." >&5
14169echo "$as_me: error: cannot run test program while cross compiling
14170See \`config.log' for more details." >&2;}
12426 { (exit 1); exit 1; }; } 14171 { (exit 1); exit 1; }; }
12427else 14172else
12428 cat >conftest.$ac_ext <<_ACEOF 14173 cat >conftest.$ac_ext <<_ACEOF
12429#line 12429 "configure" 14174#line $LINENO "configure"
12430#include "confdefs.h" 14175/* confdefs.h. */
14176_ACEOF
14177cat confdefs.h >>conftest.$ac_ext
14178cat >>conftest.$ac_ext <<_ACEOF
14179/* end confdefs.h. */
12431 14180
12432#include <stdio.h> 14181#include <stdio.h>
12433#include <string.h> 14182#include <string.h>
@@ -12454,47 +14203,55 @@ main() { exit(0); }
12454 14203
12455_ACEOF 14204_ACEOF
12456rm -f conftest$ac_exeext 14205rm -f conftest$ac_exeext
12457if { (eval echo "$as_me:12457: \"$ac_link\"") >&5 14206if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12458 (eval $ac_link) 2>&5 14207 (eval $ac_link) 2>&5
12459 ac_status=$? 14208 ac_status=$?
12460 echo "$as_me:12460: \$? = $ac_status" >&5 14209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12461 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14210 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12462 { (eval echo "$as_me:12462: \"$ac_try\"") >&5 14211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12463 (eval $ac_try) 2>&5 14212 (eval $ac_try) 2>&5
12464 ac_status=$? 14213 ac_status=$?
12465 echo "$as_me:12465: \$? = $ac_status" >&5 14214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12466 (exit $ac_status); }; }; then 14215 (exit $ac_status); }; }; then
12467 true 14216 true
12468else 14217else
12469 echo "$as_me: program exited with status $ac_status" >&5 14218 echo "$as_me: program exited with status $ac_status" >&5
12470echo "$as_me: failed program was:" >&5 14219echo "$as_me: failed program was:" >&5
12471cat conftest.$ac_ext >&5 14220sed 's/^/| /' conftest.$ac_ext >&5
12472 cat >>confdefs.h <<\EOF 14221
14222( exit $ac_status )
14223 cat >>confdefs.h <<\_ACEOF
12473#define BROKEN_SNPRINTF 1 14224#define BROKEN_SNPRINTF 1
12474EOF 14225_ACEOF
14226
12475 14227
12476fi 14228fi
12477rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14229rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12478fi 14230fi
12479fi 14231fi
12480 14232
14233
12481# look for field 'ut_host' in header 'utmp.h' 14234# look for field 'ut_host' in header 'utmp.h'
12482 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 14235 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
12483 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host 14236 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host
12484 echo "$as_me:12484: checking for ut_host field in utmp.h" >&5 14237 echo "$as_me:$LINENO: checking for ut_host field in utmp.h" >&5
12485echo $ECHO_N "checking for ut_host field in utmp.h... $ECHO_C" >&6 14238echo $ECHO_N "checking for ut_host field in utmp.h... $ECHO_C" >&6
12486 if eval "test \"\${$ossh_varname+set}\" = set"; then 14239 if eval "test \"\${$ossh_varname+set}\" = set"; then
12487 echo $ECHO_N "(cached) $ECHO_C" >&6 14240 echo $ECHO_N "(cached) $ECHO_C" >&6
12488else 14241else
12489 14242
12490 cat >conftest.$ac_ext <<_ACEOF 14243 cat >conftest.$ac_ext <<_ACEOF
12491#line 12491 "configure" 14244#line $LINENO "configure"
12492#include "confdefs.h" 14245/* confdefs.h. */
14246_ACEOF
14247cat confdefs.h >>conftest.$ac_ext
14248cat >>conftest.$ac_ext <<_ACEOF
14249/* end confdefs.h. */
12493#include <utmp.h> 14250#include <utmp.h>
12494 14251
12495_ACEOF 14252_ACEOF
12496if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14253if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12497 egrep "ut_host" >/dev/null 2>&1; then 14254 $EGREP "ut_host" >/dev/null 2>&1; then
12498 eval "$ossh_varname=yes" 14255 eval "$ossh_varname=yes"
12499else 14256else
12500 eval "$ossh_varname=no" 14257 eval "$ossh_varname=no"
@@ -12505,36 +14262,41 @@ fi
12505 14262
12506 ossh_result=`eval 'echo $'"$ossh_varname"` 14263 ossh_result=`eval 'echo $'"$ossh_varname"`
12507 if test -n "`echo $ossh_varname`"; then 14264 if test -n "`echo $ossh_varname`"; then
12508 echo "$as_me:12508: result: $ossh_result" >&5 14265 echo "$as_me:$LINENO: result: $ossh_result" >&5
12509echo "${ECHO_T}$ossh_result" >&6 14266echo "${ECHO_T}$ossh_result" >&6
12510 if test "x$ossh_result" = "xyes"; then 14267 if test "x$ossh_result" = "xyes"; then
12511 cat >>confdefs.h <<\EOF 14268 cat >>confdefs.h <<\_ACEOF
12512#define HAVE_HOST_IN_UTMP 1 14269#define HAVE_HOST_IN_UTMP 1
12513EOF 14270_ACEOF
12514 14271
12515 fi 14272 fi
12516 else 14273 else
12517 echo "$as_me:12517: result: no" >&5 14274 echo "$as_me:$LINENO: result: no" >&5
12518echo "${ECHO_T}no" >&6 14275echo "${ECHO_T}no" >&6
12519 fi 14276 fi
12520 14277
14278
12521# look for field 'ut_host' in header 'utmpx.h' 14279# look for field 'ut_host' in header 'utmpx.h'
12522 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 14280 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
12523 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host 14281 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host
12524 echo "$as_me:12524: checking for ut_host field in utmpx.h" >&5 14282 echo "$as_me:$LINENO: checking for ut_host field in utmpx.h" >&5
12525echo $ECHO_N "checking for ut_host field in utmpx.h... $ECHO_C" >&6 14283echo $ECHO_N "checking for ut_host field in utmpx.h... $ECHO_C" >&6
12526 if eval "test \"\${$ossh_varname+set}\" = set"; then 14284 if eval "test \"\${$ossh_varname+set}\" = set"; then
12527 echo $ECHO_N "(cached) $ECHO_C" >&6 14285 echo $ECHO_N "(cached) $ECHO_C" >&6
12528else 14286else
12529 14287
12530 cat >conftest.$ac_ext <<_ACEOF 14288 cat >conftest.$ac_ext <<_ACEOF
12531#line 12531 "configure" 14289#line $LINENO "configure"
12532#include "confdefs.h" 14290/* confdefs.h. */
14291_ACEOF
14292cat confdefs.h >>conftest.$ac_ext
14293cat >>conftest.$ac_ext <<_ACEOF
14294/* end confdefs.h. */
12533#include <utmpx.h> 14295#include <utmpx.h>
12534 14296
12535_ACEOF 14297_ACEOF
12536if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14298if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12537 egrep "ut_host" >/dev/null 2>&1; then 14299 $EGREP "ut_host" >/dev/null 2>&1; then
12538 eval "$ossh_varname=yes" 14300 eval "$ossh_varname=yes"
12539else 14301else
12540 eval "$ossh_varname=no" 14302 eval "$ossh_varname=no"
@@ -12545,36 +14307,41 @@ fi
12545 14307
12546 ossh_result=`eval 'echo $'"$ossh_varname"` 14308 ossh_result=`eval 'echo $'"$ossh_varname"`
12547 if test -n "`echo $ossh_varname`"; then 14309 if test -n "`echo $ossh_varname`"; then
12548 echo "$as_me:12548: result: $ossh_result" >&5 14310 echo "$as_me:$LINENO: result: $ossh_result" >&5
12549echo "${ECHO_T}$ossh_result" >&6 14311echo "${ECHO_T}$ossh_result" >&6
12550 if test "x$ossh_result" = "xyes"; then 14312 if test "x$ossh_result" = "xyes"; then
12551 cat >>confdefs.h <<\EOF 14313 cat >>confdefs.h <<\_ACEOF
12552#define HAVE_HOST_IN_UTMPX 1 14314#define HAVE_HOST_IN_UTMPX 1
12553EOF 14315_ACEOF
12554 14316
12555 fi 14317 fi
12556 else 14318 else
12557 echo "$as_me:12557: result: no" >&5 14319 echo "$as_me:$LINENO: result: no" >&5
12558echo "${ECHO_T}no" >&6 14320echo "${ECHO_T}no" >&6
12559 fi 14321 fi
12560 14322
14323
12561# look for field 'syslen' in header 'utmpx.h' 14324# look for field 'syslen' in header 'utmpx.h'
12562 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 14325 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
12563 ossh_varname="ossh_cv_$ossh_safe""_has_"syslen 14326 ossh_varname="ossh_cv_$ossh_safe""_has_"syslen
12564 echo "$as_me:12564: checking for syslen field in utmpx.h" >&5 14327 echo "$as_me:$LINENO: checking for syslen field in utmpx.h" >&5
12565echo $ECHO_N "checking for syslen field in utmpx.h... $ECHO_C" >&6 14328echo $ECHO_N "checking for syslen field in utmpx.h... $ECHO_C" >&6
12566 if eval "test \"\${$ossh_varname+set}\" = set"; then 14329 if eval "test \"\${$ossh_varname+set}\" = set"; then
12567 echo $ECHO_N "(cached) $ECHO_C" >&6 14330 echo $ECHO_N "(cached) $ECHO_C" >&6
12568else 14331else
12569 14332
12570 cat >conftest.$ac_ext <<_ACEOF 14333 cat >conftest.$ac_ext <<_ACEOF
12571#line 12571 "configure" 14334#line $LINENO "configure"
12572#include "confdefs.h" 14335/* confdefs.h. */
14336_ACEOF
14337cat confdefs.h >>conftest.$ac_ext
14338cat >>conftest.$ac_ext <<_ACEOF
14339/* end confdefs.h. */
12573#include <utmpx.h> 14340#include <utmpx.h>
12574 14341
12575_ACEOF 14342_ACEOF
12576if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14343if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12577 egrep "syslen" >/dev/null 2>&1; then 14344 $EGREP "syslen" >/dev/null 2>&1; then
12578 eval "$ossh_varname=yes" 14345 eval "$ossh_varname=yes"
12579else 14346else
12580 eval "$ossh_varname=no" 14347 eval "$ossh_varname=no"
@@ -12585,36 +14352,41 @@ fi
12585 14352
12586 ossh_result=`eval 'echo $'"$ossh_varname"` 14353 ossh_result=`eval 'echo $'"$ossh_varname"`
12587 if test -n "`echo $ossh_varname`"; then 14354 if test -n "`echo $ossh_varname`"; then
12588 echo "$as_me:12588: result: $ossh_result" >&5 14355 echo "$as_me:$LINENO: result: $ossh_result" >&5
12589echo "${ECHO_T}$ossh_result" >&6 14356echo "${ECHO_T}$ossh_result" >&6
12590 if test "x$ossh_result" = "xyes"; then 14357 if test "x$ossh_result" = "xyes"; then
12591 cat >>confdefs.h <<\EOF 14358 cat >>confdefs.h <<\_ACEOF
12592#define HAVE_SYSLEN_IN_UTMPX 1 14359#define HAVE_SYSLEN_IN_UTMPX 1
12593EOF 14360_ACEOF
12594 14361
12595 fi 14362 fi
12596 else 14363 else
12597 echo "$as_me:12597: result: no" >&5 14364 echo "$as_me:$LINENO: result: no" >&5
12598echo "${ECHO_T}no" >&6 14365echo "${ECHO_T}no" >&6
12599 fi 14366 fi
12600 14367
14368
12601# look for field 'ut_pid' in header 'utmp.h' 14369# look for field 'ut_pid' in header 'utmp.h'
12602 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 14370 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
12603 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_pid 14371 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_pid
12604 echo "$as_me:12604: checking for ut_pid field in utmp.h" >&5 14372 echo "$as_me:$LINENO: checking for ut_pid field in utmp.h" >&5
12605echo $ECHO_N "checking for ut_pid field in utmp.h... $ECHO_C" >&6 14373echo $ECHO_N "checking for ut_pid field in utmp.h... $ECHO_C" >&6
12606 if eval "test \"\${$ossh_varname+set}\" = set"; then 14374 if eval "test \"\${$ossh_varname+set}\" = set"; then
12607 echo $ECHO_N "(cached) $ECHO_C" >&6 14375 echo $ECHO_N "(cached) $ECHO_C" >&6
12608else 14376else
12609 14377
12610 cat >conftest.$ac_ext <<_ACEOF 14378 cat >conftest.$ac_ext <<_ACEOF
12611#line 12611 "configure" 14379#line $LINENO "configure"
12612#include "confdefs.h" 14380/* confdefs.h. */
14381_ACEOF
14382cat confdefs.h >>conftest.$ac_ext
14383cat >>conftest.$ac_ext <<_ACEOF
14384/* end confdefs.h. */
12613#include <utmp.h> 14385#include <utmp.h>
12614 14386
12615_ACEOF 14387_ACEOF
12616if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14388if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12617 egrep "ut_pid" >/dev/null 2>&1; then 14389 $EGREP "ut_pid" >/dev/null 2>&1; then
12618 eval "$ossh_varname=yes" 14390 eval "$ossh_varname=yes"
12619else 14391else
12620 eval "$ossh_varname=no" 14392 eval "$ossh_varname=no"
@@ -12625,36 +14397,41 @@ fi
12625 14397
12626 ossh_result=`eval 'echo $'"$ossh_varname"` 14398 ossh_result=`eval 'echo $'"$ossh_varname"`
12627 if test -n "`echo $ossh_varname`"; then 14399 if test -n "`echo $ossh_varname`"; then
12628 echo "$as_me:12628: result: $ossh_result" >&5 14400 echo "$as_me:$LINENO: result: $ossh_result" >&5
12629echo "${ECHO_T}$ossh_result" >&6 14401echo "${ECHO_T}$ossh_result" >&6
12630 if test "x$ossh_result" = "xyes"; then 14402 if test "x$ossh_result" = "xyes"; then
12631 cat >>confdefs.h <<\EOF 14403 cat >>confdefs.h <<\_ACEOF
12632#define HAVE_PID_IN_UTMP 1 14404#define HAVE_PID_IN_UTMP 1
12633EOF 14405_ACEOF
12634 14406
12635 fi 14407 fi
12636 else 14408 else
12637 echo "$as_me:12637: result: no" >&5 14409 echo "$as_me:$LINENO: result: no" >&5
12638echo "${ECHO_T}no" >&6 14410echo "${ECHO_T}no" >&6
12639 fi 14411 fi
12640 14412
14413
12641# look for field 'ut_type' in header 'utmp.h' 14414# look for field 'ut_type' in header 'utmp.h'
12642 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 14415 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
12643 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type 14416 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type
12644 echo "$as_me:12644: checking for ut_type field in utmp.h" >&5 14417 echo "$as_me:$LINENO: checking for ut_type field in utmp.h" >&5
12645echo $ECHO_N "checking for ut_type field in utmp.h... $ECHO_C" >&6 14418echo $ECHO_N "checking for ut_type field in utmp.h... $ECHO_C" >&6
12646 if eval "test \"\${$ossh_varname+set}\" = set"; then 14419 if eval "test \"\${$ossh_varname+set}\" = set"; then
12647 echo $ECHO_N "(cached) $ECHO_C" >&6 14420 echo $ECHO_N "(cached) $ECHO_C" >&6
12648else 14421else
12649 14422
12650 cat >conftest.$ac_ext <<_ACEOF 14423 cat >conftest.$ac_ext <<_ACEOF
12651#line 12651 "configure" 14424#line $LINENO "configure"
12652#include "confdefs.h" 14425/* confdefs.h. */
14426_ACEOF
14427cat confdefs.h >>conftest.$ac_ext
14428cat >>conftest.$ac_ext <<_ACEOF
14429/* end confdefs.h. */
12653#include <utmp.h> 14430#include <utmp.h>
12654 14431
12655_ACEOF 14432_ACEOF
12656if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14433if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12657 egrep "ut_type" >/dev/null 2>&1; then 14434 $EGREP "ut_type" >/dev/null 2>&1; then
12658 eval "$ossh_varname=yes" 14435 eval "$ossh_varname=yes"
12659else 14436else
12660 eval "$ossh_varname=no" 14437 eval "$ossh_varname=no"
@@ -12665,36 +14442,41 @@ fi
12665 14442
12666 ossh_result=`eval 'echo $'"$ossh_varname"` 14443 ossh_result=`eval 'echo $'"$ossh_varname"`
12667 if test -n "`echo $ossh_varname`"; then 14444 if test -n "`echo $ossh_varname`"; then
12668 echo "$as_me:12668: result: $ossh_result" >&5 14445 echo "$as_me:$LINENO: result: $ossh_result" >&5
12669echo "${ECHO_T}$ossh_result" >&6 14446echo "${ECHO_T}$ossh_result" >&6
12670 if test "x$ossh_result" = "xyes"; then 14447 if test "x$ossh_result" = "xyes"; then
12671 cat >>confdefs.h <<\EOF 14448 cat >>confdefs.h <<\_ACEOF
12672#define HAVE_TYPE_IN_UTMP 1 14449#define HAVE_TYPE_IN_UTMP 1
12673EOF 14450_ACEOF
12674 14451
12675 fi 14452 fi
12676 else 14453 else
12677 echo "$as_me:12677: result: no" >&5 14454 echo "$as_me:$LINENO: result: no" >&5
12678echo "${ECHO_T}no" >&6 14455echo "${ECHO_T}no" >&6
12679 fi 14456 fi
12680 14457
14458
12681# look for field 'ut_type' in header 'utmpx.h' 14459# look for field 'ut_type' in header 'utmpx.h'
12682 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 14460 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
12683 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type 14461 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type
12684 echo "$as_me:12684: checking for ut_type field in utmpx.h" >&5 14462 echo "$as_me:$LINENO: checking for ut_type field in utmpx.h" >&5
12685echo $ECHO_N "checking for ut_type field in utmpx.h... $ECHO_C" >&6 14463echo $ECHO_N "checking for ut_type field in utmpx.h... $ECHO_C" >&6
12686 if eval "test \"\${$ossh_varname+set}\" = set"; then 14464 if eval "test \"\${$ossh_varname+set}\" = set"; then
12687 echo $ECHO_N "(cached) $ECHO_C" >&6 14465 echo $ECHO_N "(cached) $ECHO_C" >&6
12688else 14466else
12689 14467
12690 cat >conftest.$ac_ext <<_ACEOF 14468 cat >conftest.$ac_ext <<_ACEOF
12691#line 12691 "configure" 14469#line $LINENO "configure"
12692#include "confdefs.h" 14470/* confdefs.h. */
14471_ACEOF
14472cat confdefs.h >>conftest.$ac_ext
14473cat >>conftest.$ac_ext <<_ACEOF
14474/* end confdefs.h. */
12693#include <utmpx.h> 14475#include <utmpx.h>
12694 14476
12695_ACEOF 14477_ACEOF
12696if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14478if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12697 egrep "ut_type" >/dev/null 2>&1; then 14479 $EGREP "ut_type" >/dev/null 2>&1; then
12698 eval "$ossh_varname=yes" 14480 eval "$ossh_varname=yes"
12699else 14481else
12700 eval "$ossh_varname=no" 14482 eval "$ossh_varname=no"
@@ -12705,36 +14487,41 @@ fi
12705 14487
12706 ossh_result=`eval 'echo $'"$ossh_varname"` 14488 ossh_result=`eval 'echo $'"$ossh_varname"`
12707 if test -n "`echo $ossh_varname`"; then 14489 if test -n "`echo $ossh_varname`"; then
12708 echo "$as_me:12708: result: $ossh_result" >&5 14490 echo "$as_me:$LINENO: result: $ossh_result" >&5
12709echo "${ECHO_T}$ossh_result" >&6 14491echo "${ECHO_T}$ossh_result" >&6
12710 if test "x$ossh_result" = "xyes"; then 14492 if test "x$ossh_result" = "xyes"; then
12711 cat >>confdefs.h <<\EOF 14493 cat >>confdefs.h <<\_ACEOF
12712#define HAVE_TYPE_IN_UTMPX 1 14494#define HAVE_TYPE_IN_UTMPX 1
12713EOF 14495_ACEOF
12714 14496
12715 fi 14497 fi
12716 else 14498 else
12717 echo "$as_me:12717: result: no" >&5 14499 echo "$as_me:$LINENO: result: no" >&5
12718echo "${ECHO_T}no" >&6 14500echo "${ECHO_T}no" >&6
12719 fi 14501 fi
12720 14502
14503
12721# look for field 'ut_tv' in header 'utmp.h' 14504# look for field 'ut_tv' in header 'utmp.h'
12722 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 14505 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
12723 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv 14506 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv
12724 echo "$as_me:12724: checking for ut_tv field in utmp.h" >&5 14507 echo "$as_me:$LINENO: checking for ut_tv field in utmp.h" >&5
12725echo $ECHO_N "checking for ut_tv field in utmp.h... $ECHO_C" >&6 14508echo $ECHO_N "checking for ut_tv field in utmp.h... $ECHO_C" >&6
12726 if eval "test \"\${$ossh_varname+set}\" = set"; then 14509 if eval "test \"\${$ossh_varname+set}\" = set"; then
12727 echo $ECHO_N "(cached) $ECHO_C" >&6 14510 echo $ECHO_N "(cached) $ECHO_C" >&6
12728else 14511else
12729 14512
12730 cat >conftest.$ac_ext <<_ACEOF 14513 cat >conftest.$ac_ext <<_ACEOF
12731#line 12731 "configure" 14514#line $LINENO "configure"
12732#include "confdefs.h" 14515/* confdefs.h. */
14516_ACEOF
14517cat confdefs.h >>conftest.$ac_ext
14518cat >>conftest.$ac_ext <<_ACEOF
14519/* end confdefs.h. */
12733#include <utmp.h> 14520#include <utmp.h>
12734 14521
12735_ACEOF 14522_ACEOF
12736if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14523if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12737 egrep "ut_tv" >/dev/null 2>&1; then 14524 $EGREP "ut_tv" >/dev/null 2>&1; then
12738 eval "$ossh_varname=yes" 14525 eval "$ossh_varname=yes"
12739else 14526else
12740 eval "$ossh_varname=no" 14527 eval "$ossh_varname=no"
@@ -12745,36 +14532,41 @@ fi
12745 14532
12746 ossh_result=`eval 'echo $'"$ossh_varname"` 14533 ossh_result=`eval 'echo $'"$ossh_varname"`
12747 if test -n "`echo $ossh_varname`"; then 14534 if test -n "`echo $ossh_varname`"; then
12748 echo "$as_me:12748: result: $ossh_result" >&5 14535 echo "$as_me:$LINENO: result: $ossh_result" >&5
12749echo "${ECHO_T}$ossh_result" >&6 14536echo "${ECHO_T}$ossh_result" >&6
12750 if test "x$ossh_result" = "xyes"; then 14537 if test "x$ossh_result" = "xyes"; then
12751 cat >>confdefs.h <<\EOF 14538 cat >>confdefs.h <<\_ACEOF
12752#define HAVE_TV_IN_UTMP 1 14539#define HAVE_TV_IN_UTMP 1
12753EOF 14540_ACEOF
12754 14541
12755 fi 14542 fi
12756 else 14543 else
12757 echo "$as_me:12757: result: no" >&5 14544 echo "$as_me:$LINENO: result: no" >&5
12758echo "${ECHO_T}no" >&6 14545echo "${ECHO_T}no" >&6
12759 fi 14546 fi
12760 14547
14548
12761# look for field 'ut_id' in header 'utmp.h' 14549# look for field 'ut_id' in header 'utmp.h'
12762 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 14550 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
12763 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id 14551 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id
12764 echo "$as_me:12764: checking for ut_id field in utmp.h" >&5 14552 echo "$as_me:$LINENO: checking for ut_id field in utmp.h" >&5
12765echo $ECHO_N "checking for ut_id field in utmp.h... $ECHO_C" >&6 14553echo $ECHO_N "checking for ut_id field in utmp.h... $ECHO_C" >&6
12766 if eval "test \"\${$ossh_varname+set}\" = set"; then 14554 if eval "test \"\${$ossh_varname+set}\" = set"; then
12767 echo $ECHO_N "(cached) $ECHO_C" >&6 14555 echo $ECHO_N "(cached) $ECHO_C" >&6
12768else 14556else
12769 14557
12770 cat >conftest.$ac_ext <<_ACEOF 14558 cat >conftest.$ac_ext <<_ACEOF
12771#line 12771 "configure" 14559#line $LINENO "configure"
12772#include "confdefs.h" 14560/* confdefs.h. */
14561_ACEOF
14562cat confdefs.h >>conftest.$ac_ext
14563cat >>conftest.$ac_ext <<_ACEOF
14564/* end confdefs.h. */
12773#include <utmp.h> 14565#include <utmp.h>
12774 14566
12775_ACEOF 14567_ACEOF
12776if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14568if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12777 egrep "ut_id" >/dev/null 2>&1; then 14569 $EGREP "ut_id" >/dev/null 2>&1; then
12778 eval "$ossh_varname=yes" 14570 eval "$ossh_varname=yes"
12779else 14571else
12780 eval "$ossh_varname=no" 14572 eval "$ossh_varname=no"
@@ -12785,36 +14577,41 @@ fi
12785 14577
12786 ossh_result=`eval 'echo $'"$ossh_varname"` 14578 ossh_result=`eval 'echo $'"$ossh_varname"`
12787 if test -n "`echo $ossh_varname`"; then 14579 if test -n "`echo $ossh_varname`"; then
12788 echo "$as_me:12788: result: $ossh_result" >&5 14580 echo "$as_me:$LINENO: result: $ossh_result" >&5
12789echo "${ECHO_T}$ossh_result" >&6 14581echo "${ECHO_T}$ossh_result" >&6
12790 if test "x$ossh_result" = "xyes"; then 14582 if test "x$ossh_result" = "xyes"; then
12791 cat >>confdefs.h <<\EOF 14583 cat >>confdefs.h <<\_ACEOF
12792#define HAVE_ID_IN_UTMP 1 14584#define HAVE_ID_IN_UTMP 1
12793EOF 14585_ACEOF
12794 14586
12795 fi 14587 fi
12796 else 14588 else
12797 echo "$as_me:12797: result: no" >&5 14589 echo "$as_me:$LINENO: result: no" >&5
12798echo "${ECHO_T}no" >&6 14590echo "${ECHO_T}no" >&6
12799 fi 14591 fi
12800 14592
14593
12801# look for field 'ut_id' in header 'utmpx.h' 14594# look for field 'ut_id' in header 'utmpx.h'
12802 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 14595 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
12803 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id 14596 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id
12804 echo "$as_me:12804: checking for ut_id field in utmpx.h" >&5 14597 echo "$as_me:$LINENO: checking for ut_id field in utmpx.h" >&5
12805echo $ECHO_N "checking for ut_id field in utmpx.h... $ECHO_C" >&6 14598echo $ECHO_N "checking for ut_id field in utmpx.h... $ECHO_C" >&6
12806 if eval "test \"\${$ossh_varname+set}\" = set"; then 14599 if eval "test \"\${$ossh_varname+set}\" = set"; then
12807 echo $ECHO_N "(cached) $ECHO_C" >&6 14600 echo $ECHO_N "(cached) $ECHO_C" >&6
12808else 14601else
12809 14602
12810 cat >conftest.$ac_ext <<_ACEOF 14603 cat >conftest.$ac_ext <<_ACEOF
12811#line 12811 "configure" 14604#line $LINENO "configure"
12812#include "confdefs.h" 14605/* confdefs.h. */
14606_ACEOF
14607cat confdefs.h >>conftest.$ac_ext
14608cat >>conftest.$ac_ext <<_ACEOF
14609/* end confdefs.h. */
12813#include <utmpx.h> 14610#include <utmpx.h>
12814 14611
12815_ACEOF 14612_ACEOF
12816if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14613if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12817 egrep "ut_id" >/dev/null 2>&1; then 14614 $EGREP "ut_id" >/dev/null 2>&1; then
12818 eval "$ossh_varname=yes" 14615 eval "$ossh_varname=yes"
12819else 14616else
12820 eval "$ossh_varname=no" 14617 eval "$ossh_varname=no"
@@ -12825,36 +14622,41 @@ fi
12825 14622
12826 ossh_result=`eval 'echo $'"$ossh_varname"` 14623 ossh_result=`eval 'echo $'"$ossh_varname"`
12827 if test -n "`echo $ossh_varname`"; then 14624 if test -n "`echo $ossh_varname`"; then
12828 echo "$as_me:12828: result: $ossh_result" >&5 14625 echo "$as_me:$LINENO: result: $ossh_result" >&5
12829echo "${ECHO_T}$ossh_result" >&6 14626echo "${ECHO_T}$ossh_result" >&6
12830 if test "x$ossh_result" = "xyes"; then 14627 if test "x$ossh_result" = "xyes"; then
12831 cat >>confdefs.h <<\EOF 14628 cat >>confdefs.h <<\_ACEOF
12832#define HAVE_ID_IN_UTMPX 1 14629#define HAVE_ID_IN_UTMPX 1
12833EOF 14630_ACEOF
12834 14631
12835 fi 14632 fi
12836 else 14633 else
12837 echo "$as_me:12837: result: no" >&5 14634 echo "$as_me:$LINENO: result: no" >&5
12838echo "${ECHO_T}no" >&6 14635echo "${ECHO_T}no" >&6
12839 fi 14636 fi
12840 14637
14638
12841# look for field 'ut_addr' in header 'utmp.h' 14639# look for field 'ut_addr' in header 'utmp.h'
12842 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 14640 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
12843 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr 14641 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr
12844 echo "$as_me:12844: checking for ut_addr field in utmp.h" >&5 14642 echo "$as_me:$LINENO: checking for ut_addr field in utmp.h" >&5
12845echo $ECHO_N "checking for ut_addr field in utmp.h... $ECHO_C" >&6 14643echo $ECHO_N "checking for ut_addr field in utmp.h... $ECHO_C" >&6
12846 if eval "test \"\${$ossh_varname+set}\" = set"; then 14644 if eval "test \"\${$ossh_varname+set}\" = set"; then
12847 echo $ECHO_N "(cached) $ECHO_C" >&6 14645 echo $ECHO_N "(cached) $ECHO_C" >&6
12848else 14646else
12849 14647
12850 cat >conftest.$ac_ext <<_ACEOF 14648 cat >conftest.$ac_ext <<_ACEOF
12851#line 12851 "configure" 14649#line $LINENO "configure"
12852#include "confdefs.h" 14650/* confdefs.h. */
14651_ACEOF
14652cat confdefs.h >>conftest.$ac_ext
14653cat >>conftest.$ac_ext <<_ACEOF
14654/* end confdefs.h. */
12853#include <utmp.h> 14655#include <utmp.h>
12854 14656
12855_ACEOF 14657_ACEOF
12856if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14658if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12857 egrep "ut_addr" >/dev/null 2>&1; then 14659 $EGREP "ut_addr" >/dev/null 2>&1; then
12858 eval "$ossh_varname=yes" 14660 eval "$ossh_varname=yes"
12859else 14661else
12860 eval "$ossh_varname=no" 14662 eval "$ossh_varname=no"
@@ -12865,36 +14667,41 @@ fi
12865 14667
12866 ossh_result=`eval 'echo $'"$ossh_varname"` 14668 ossh_result=`eval 'echo $'"$ossh_varname"`
12867 if test -n "`echo $ossh_varname`"; then 14669 if test -n "`echo $ossh_varname`"; then
12868 echo "$as_me:12868: result: $ossh_result" >&5 14670 echo "$as_me:$LINENO: result: $ossh_result" >&5
12869echo "${ECHO_T}$ossh_result" >&6 14671echo "${ECHO_T}$ossh_result" >&6
12870 if test "x$ossh_result" = "xyes"; then 14672 if test "x$ossh_result" = "xyes"; then
12871 cat >>confdefs.h <<\EOF 14673 cat >>confdefs.h <<\_ACEOF
12872#define HAVE_ADDR_IN_UTMP 1 14674#define HAVE_ADDR_IN_UTMP 1
12873EOF 14675_ACEOF
12874 14676
12875 fi 14677 fi
12876 else 14678 else
12877 echo "$as_me:12877: result: no" >&5 14679 echo "$as_me:$LINENO: result: no" >&5
12878echo "${ECHO_T}no" >&6 14680echo "${ECHO_T}no" >&6
12879 fi 14681 fi
12880 14682
14683
12881# look for field 'ut_addr' in header 'utmpx.h' 14684# look for field 'ut_addr' in header 'utmpx.h'
12882 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 14685 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
12883 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr 14686 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr
12884 echo "$as_me:12884: checking for ut_addr field in utmpx.h" >&5 14687 echo "$as_me:$LINENO: checking for ut_addr field in utmpx.h" >&5
12885echo $ECHO_N "checking for ut_addr field in utmpx.h... $ECHO_C" >&6 14688echo $ECHO_N "checking for ut_addr field in utmpx.h... $ECHO_C" >&6
12886 if eval "test \"\${$ossh_varname+set}\" = set"; then 14689 if eval "test \"\${$ossh_varname+set}\" = set"; then
12887 echo $ECHO_N "(cached) $ECHO_C" >&6 14690 echo $ECHO_N "(cached) $ECHO_C" >&6
12888else 14691else
12889 14692
12890 cat >conftest.$ac_ext <<_ACEOF 14693 cat >conftest.$ac_ext <<_ACEOF
12891#line 12891 "configure" 14694#line $LINENO "configure"
12892#include "confdefs.h" 14695/* confdefs.h. */
14696_ACEOF
14697cat confdefs.h >>conftest.$ac_ext
14698cat >>conftest.$ac_ext <<_ACEOF
14699/* end confdefs.h. */
12893#include <utmpx.h> 14700#include <utmpx.h>
12894 14701
12895_ACEOF 14702_ACEOF
12896if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14703if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12897 egrep "ut_addr" >/dev/null 2>&1; then 14704 $EGREP "ut_addr" >/dev/null 2>&1; then
12898 eval "$ossh_varname=yes" 14705 eval "$ossh_varname=yes"
12899else 14706else
12900 eval "$ossh_varname=no" 14707 eval "$ossh_varname=no"
@@ -12905,36 +14712,41 @@ fi
12905 14712
12906 ossh_result=`eval 'echo $'"$ossh_varname"` 14713 ossh_result=`eval 'echo $'"$ossh_varname"`
12907 if test -n "`echo $ossh_varname`"; then 14714 if test -n "`echo $ossh_varname`"; then
12908 echo "$as_me:12908: result: $ossh_result" >&5 14715 echo "$as_me:$LINENO: result: $ossh_result" >&5
12909echo "${ECHO_T}$ossh_result" >&6 14716echo "${ECHO_T}$ossh_result" >&6
12910 if test "x$ossh_result" = "xyes"; then 14717 if test "x$ossh_result" = "xyes"; then
12911 cat >>confdefs.h <<\EOF 14718 cat >>confdefs.h <<\_ACEOF
12912#define HAVE_ADDR_IN_UTMPX 1 14719#define HAVE_ADDR_IN_UTMPX 1
12913EOF 14720_ACEOF
12914 14721
12915 fi 14722 fi
12916 else 14723 else
12917 echo "$as_me:12917: result: no" >&5 14724 echo "$as_me:$LINENO: result: no" >&5
12918echo "${ECHO_T}no" >&6 14725echo "${ECHO_T}no" >&6
12919 fi 14726 fi
12920 14727
14728
12921# look for field 'ut_addr_v6' in header 'utmp.h' 14729# look for field 'ut_addr_v6' in header 'utmp.h'
12922 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 14730 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
12923 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 14731 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6
12924 echo "$as_me:12924: checking for ut_addr_v6 field in utmp.h" >&5 14732 echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmp.h" >&5
12925echo $ECHO_N "checking for ut_addr_v6 field in utmp.h... $ECHO_C" >&6 14733echo $ECHO_N "checking for ut_addr_v6 field in utmp.h... $ECHO_C" >&6
12926 if eval "test \"\${$ossh_varname+set}\" = set"; then 14734 if eval "test \"\${$ossh_varname+set}\" = set"; then
12927 echo $ECHO_N "(cached) $ECHO_C" >&6 14735 echo $ECHO_N "(cached) $ECHO_C" >&6
12928else 14736else
12929 14737
12930 cat >conftest.$ac_ext <<_ACEOF 14738 cat >conftest.$ac_ext <<_ACEOF
12931#line 12931 "configure" 14739#line $LINENO "configure"
12932#include "confdefs.h" 14740/* confdefs.h. */
14741_ACEOF
14742cat confdefs.h >>conftest.$ac_ext
14743cat >>conftest.$ac_ext <<_ACEOF
14744/* end confdefs.h. */
12933#include <utmp.h> 14745#include <utmp.h>
12934 14746
12935_ACEOF 14747_ACEOF
12936if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14748if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12937 egrep "ut_addr_v6" >/dev/null 2>&1; then 14749 $EGREP "ut_addr_v6" >/dev/null 2>&1; then
12938 eval "$ossh_varname=yes" 14750 eval "$ossh_varname=yes"
12939else 14751else
12940 eval "$ossh_varname=no" 14752 eval "$ossh_varname=no"
@@ -12945,36 +14757,41 @@ fi
12945 14757
12946 ossh_result=`eval 'echo $'"$ossh_varname"` 14758 ossh_result=`eval 'echo $'"$ossh_varname"`
12947 if test -n "`echo $ossh_varname`"; then 14759 if test -n "`echo $ossh_varname`"; then
12948 echo "$as_me:12948: result: $ossh_result" >&5 14760 echo "$as_me:$LINENO: result: $ossh_result" >&5
12949echo "${ECHO_T}$ossh_result" >&6 14761echo "${ECHO_T}$ossh_result" >&6
12950 if test "x$ossh_result" = "xyes"; then 14762 if test "x$ossh_result" = "xyes"; then
12951 cat >>confdefs.h <<\EOF 14763 cat >>confdefs.h <<\_ACEOF
12952#define HAVE_ADDR_V6_IN_UTMP 1 14764#define HAVE_ADDR_V6_IN_UTMP 1
12953EOF 14765_ACEOF
12954 14766
12955 fi 14767 fi
12956 else 14768 else
12957 echo "$as_me:12957: result: no" >&5 14769 echo "$as_me:$LINENO: result: no" >&5
12958echo "${ECHO_T}no" >&6 14770echo "${ECHO_T}no" >&6
12959 fi 14771 fi
12960 14772
14773
12961# look for field 'ut_addr_v6' in header 'utmpx.h' 14774# look for field 'ut_addr_v6' in header 'utmpx.h'
12962 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 14775 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
12963 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 14776 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6
12964 echo "$as_me:12964: checking for ut_addr_v6 field in utmpx.h" >&5 14777 echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmpx.h" >&5
12965echo $ECHO_N "checking for ut_addr_v6 field in utmpx.h... $ECHO_C" >&6 14778echo $ECHO_N "checking for ut_addr_v6 field in utmpx.h... $ECHO_C" >&6
12966 if eval "test \"\${$ossh_varname+set}\" = set"; then 14779 if eval "test \"\${$ossh_varname+set}\" = set"; then
12967 echo $ECHO_N "(cached) $ECHO_C" >&6 14780 echo $ECHO_N "(cached) $ECHO_C" >&6
12968else 14781else
12969 14782
12970 cat >conftest.$ac_ext <<_ACEOF 14783 cat >conftest.$ac_ext <<_ACEOF
12971#line 12971 "configure" 14784#line $LINENO "configure"
12972#include "confdefs.h" 14785/* confdefs.h. */
14786_ACEOF
14787cat confdefs.h >>conftest.$ac_ext
14788cat >>conftest.$ac_ext <<_ACEOF
14789/* end confdefs.h. */
12973#include <utmpx.h> 14790#include <utmpx.h>
12974 14791
12975_ACEOF 14792_ACEOF
12976if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14793if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12977 egrep "ut_addr_v6" >/dev/null 2>&1; then 14794 $EGREP "ut_addr_v6" >/dev/null 2>&1; then
12978 eval "$ossh_varname=yes" 14795 eval "$ossh_varname=yes"
12979else 14796else
12980 eval "$ossh_varname=no" 14797 eval "$ossh_varname=no"
@@ -12985,36 +14802,41 @@ fi
12985 14802
12986 ossh_result=`eval 'echo $'"$ossh_varname"` 14803 ossh_result=`eval 'echo $'"$ossh_varname"`
12987 if test -n "`echo $ossh_varname`"; then 14804 if test -n "`echo $ossh_varname`"; then
12988 echo "$as_me:12988: result: $ossh_result" >&5 14805 echo "$as_me:$LINENO: result: $ossh_result" >&5
12989echo "${ECHO_T}$ossh_result" >&6 14806echo "${ECHO_T}$ossh_result" >&6
12990 if test "x$ossh_result" = "xyes"; then 14807 if test "x$ossh_result" = "xyes"; then
12991 cat >>confdefs.h <<\EOF 14808 cat >>confdefs.h <<\_ACEOF
12992#define HAVE_ADDR_V6_IN_UTMPX 1 14809#define HAVE_ADDR_V6_IN_UTMPX 1
12993EOF 14810_ACEOF
12994 14811
12995 fi 14812 fi
12996 else 14813 else
12997 echo "$as_me:12997: result: no" >&5 14814 echo "$as_me:$LINENO: result: no" >&5
12998echo "${ECHO_T}no" >&6 14815echo "${ECHO_T}no" >&6
12999 fi 14816 fi
13000 14817
14818
13001# look for field 'ut_exit' in header 'utmp.h' 14819# look for field 'ut_exit' in header 'utmp.h'
13002 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 14820 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
13003 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_exit 14821 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_exit
13004 echo "$as_me:13004: checking for ut_exit field in utmp.h" >&5 14822 echo "$as_me:$LINENO: checking for ut_exit field in utmp.h" >&5
13005echo $ECHO_N "checking for ut_exit field in utmp.h... $ECHO_C" >&6 14823echo $ECHO_N "checking for ut_exit field in utmp.h... $ECHO_C" >&6
13006 if eval "test \"\${$ossh_varname+set}\" = set"; then 14824 if eval "test \"\${$ossh_varname+set}\" = set"; then
13007 echo $ECHO_N "(cached) $ECHO_C" >&6 14825 echo $ECHO_N "(cached) $ECHO_C" >&6
13008else 14826else
13009 14827
13010 cat >conftest.$ac_ext <<_ACEOF 14828 cat >conftest.$ac_ext <<_ACEOF
13011#line 13011 "configure" 14829#line $LINENO "configure"
13012#include "confdefs.h" 14830/* confdefs.h. */
14831_ACEOF
14832cat confdefs.h >>conftest.$ac_ext
14833cat >>conftest.$ac_ext <<_ACEOF
14834/* end confdefs.h. */
13013#include <utmp.h> 14835#include <utmp.h>
13014 14836
13015_ACEOF 14837_ACEOF
13016if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14838if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13017 egrep "ut_exit" >/dev/null 2>&1; then 14839 $EGREP "ut_exit" >/dev/null 2>&1; then
13018 eval "$ossh_varname=yes" 14840 eval "$ossh_varname=yes"
13019else 14841else
13020 eval "$ossh_varname=no" 14842 eval "$ossh_varname=no"
@@ -13025,36 +14847,41 @@ fi
13025 14847
13026 ossh_result=`eval 'echo $'"$ossh_varname"` 14848 ossh_result=`eval 'echo $'"$ossh_varname"`
13027 if test -n "`echo $ossh_varname`"; then 14849 if test -n "`echo $ossh_varname`"; then
13028 echo "$as_me:13028: result: $ossh_result" >&5 14850 echo "$as_me:$LINENO: result: $ossh_result" >&5
13029echo "${ECHO_T}$ossh_result" >&6 14851echo "${ECHO_T}$ossh_result" >&6
13030 if test "x$ossh_result" = "xyes"; then 14852 if test "x$ossh_result" = "xyes"; then
13031 cat >>confdefs.h <<\EOF 14853 cat >>confdefs.h <<\_ACEOF
13032#define HAVE_EXIT_IN_UTMP 1 14854#define HAVE_EXIT_IN_UTMP 1
13033EOF 14855_ACEOF
13034 14856
13035 fi 14857 fi
13036 else 14858 else
13037 echo "$as_me:13037: result: no" >&5 14859 echo "$as_me:$LINENO: result: no" >&5
13038echo "${ECHO_T}no" >&6 14860echo "${ECHO_T}no" >&6
13039 fi 14861 fi
13040 14862
14863
13041# look for field 'ut_time' in header 'utmp.h' 14864# look for field 'ut_time' in header 'utmp.h'
13042 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 14865 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
13043 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time 14866 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time
13044 echo "$as_me:13044: checking for ut_time field in utmp.h" >&5 14867 echo "$as_me:$LINENO: checking for ut_time field in utmp.h" >&5
13045echo $ECHO_N "checking for ut_time field in utmp.h... $ECHO_C" >&6 14868echo $ECHO_N "checking for ut_time field in utmp.h... $ECHO_C" >&6
13046 if eval "test \"\${$ossh_varname+set}\" = set"; then 14869 if eval "test \"\${$ossh_varname+set}\" = set"; then
13047 echo $ECHO_N "(cached) $ECHO_C" >&6 14870 echo $ECHO_N "(cached) $ECHO_C" >&6
13048else 14871else
13049 14872
13050 cat >conftest.$ac_ext <<_ACEOF 14873 cat >conftest.$ac_ext <<_ACEOF
13051#line 13051 "configure" 14874#line $LINENO "configure"
13052#include "confdefs.h" 14875/* confdefs.h. */
14876_ACEOF
14877cat confdefs.h >>conftest.$ac_ext
14878cat >>conftest.$ac_ext <<_ACEOF
14879/* end confdefs.h. */
13053#include <utmp.h> 14880#include <utmp.h>
13054 14881
13055_ACEOF 14882_ACEOF
13056if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14883if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13057 egrep "ut_time" >/dev/null 2>&1; then 14884 $EGREP "ut_time" >/dev/null 2>&1; then
13058 eval "$ossh_varname=yes" 14885 eval "$ossh_varname=yes"
13059else 14886else
13060 eval "$ossh_varname=no" 14887 eval "$ossh_varname=no"
@@ -13065,36 +14892,41 @@ fi
13065 14892
13066 ossh_result=`eval 'echo $'"$ossh_varname"` 14893 ossh_result=`eval 'echo $'"$ossh_varname"`
13067 if test -n "`echo $ossh_varname`"; then 14894 if test -n "`echo $ossh_varname`"; then
13068 echo "$as_me:13068: result: $ossh_result" >&5 14895 echo "$as_me:$LINENO: result: $ossh_result" >&5
13069echo "${ECHO_T}$ossh_result" >&6 14896echo "${ECHO_T}$ossh_result" >&6
13070 if test "x$ossh_result" = "xyes"; then 14897 if test "x$ossh_result" = "xyes"; then
13071 cat >>confdefs.h <<\EOF 14898 cat >>confdefs.h <<\_ACEOF
13072#define HAVE_TIME_IN_UTMP 1 14899#define HAVE_TIME_IN_UTMP 1
13073EOF 14900_ACEOF
13074 14901
13075 fi 14902 fi
13076 else 14903 else
13077 echo "$as_me:13077: result: no" >&5 14904 echo "$as_me:$LINENO: result: no" >&5
13078echo "${ECHO_T}no" >&6 14905echo "${ECHO_T}no" >&6
13079 fi 14906 fi
13080 14907
14908
13081# look for field 'ut_time' in header 'utmpx.h' 14909# look for field 'ut_time' in header 'utmpx.h'
13082 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 14910 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
13083 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time 14911 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time
13084 echo "$as_me:13084: checking for ut_time field in utmpx.h" >&5 14912 echo "$as_me:$LINENO: checking for ut_time field in utmpx.h" >&5
13085echo $ECHO_N "checking for ut_time field in utmpx.h... $ECHO_C" >&6 14913echo $ECHO_N "checking for ut_time field in utmpx.h... $ECHO_C" >&6
13086 if eval "test \"\${$ossh_varname+set}\" = set"; then 14914 if eval "test \"\${$ossh_varname+set}\" = set"; then
13087 echo $ECHO_N "(cached) $ECHO_C" >&6 14915 echo $ECHO_N "(cached) $ECHO_C" >&6
13088else 14916else
13089 14917
13090 cat >conftest.$ac_ext <<_ACEOF 14918 cat >conftest.$ac_ext <<_ACEOF
13091#line 13091 "configure" 14919#line $LINENO "configure"
13092#include "confdefs.h" 14920/* confdefs.h. */
14921_ACEOF
14922cat confdefs.h >>conftest.$ac_ext
14923cat >>conftest.$ac_ext <<_ACEOF
14924/* end confdefs.h. */
13093#include <utmpx.h> 14925#include <utmpx.h>
13094 14926
13095_ACEOF 14927_ACEOF
13096if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14928if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13097 egrep "ut_time" >/dev/null 2>&1; then 14929 $EGREP "ut_time" >/dev/null 2>&1; then
13098 eval "$ossh_varname=yes" 14930 eval "$ossh_varname=yes"
13099else 14931else
13100 eval "$ossh_varname=no" 14932 eval "$ossh_varname=no"
@@ -13105,36 +14937,41 @@ fi
13105 14937
13106 ossh_result=`eval 'echo $'"$ossh_varname"` 14938 ossh_result=`eval 'echo $'"$ossh_varname"`
13107 if test -n "`echo $ossh_varname`"; then 14939 if test -n "`echo $ossh_varname`"; then
13108 echo "$as_me:13108: result: $ossh_result" >&5 14940 echo "$as_me:$LINENO: result: $ossh_result" >&5
13109echo "${ECHO_T}$ossh_result" >&6 14941echo "${ECHO_T}$ossh_result" >&6
13110 if test "x$ossh_result" = "xyes"; then 14942 if test "x$ossh_result" = "xyes"; then
13111 cat >>confdefs.h <<\EOF 14943 cat >>confdefs.h <<\_ACEOF
13112#define HAVE_TIME_IN_UTMPX 1 14944#define HAVE_TIME_IN_UTMPX 1
13113EOF 14945_ACEOF
13114 14946
13115 fi 14947 fi
13116 else 14948 else
13117 echo "$as_me:13117: result: no" >&5 14949 echo "$as_me:$LINENO: result: no" >&5
13118echo "${ECHO_T}no" >&6 14950echo "${ECHO_T}no" >&6
13119 fi 14951 fi
13120 14952
14953
13121# look for field 'ut_tv' in header 'utmpx.h' 14954# look for field 'ut_tv' in header 'utmpx.h'
13122 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 14955 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
13123 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv 14956 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv
13124 echo "$as_me:13124: checking for ut_tv field in utmpx.h" >&5 14957 echo "$as_me:$LINENO: checking for ut_tv field in utmpx.h" >&5
13125echo $ECHO_N "checking for ut_tv field in utmpx.h... $ECHO_C" >&6 14958echo $ECHO_N "checking for ut_tv field in utmpx.h... $ECHO_C" >&6
13126 if eval "test \"\${$ossh_varname+set}\" = set"; then 14959 if eval "test \"\${$ossh_varname+set}\" = set"; then
13127 echo $ECHO_N "(cached) $ECHO_C" >&6 14960 echo $ECHO_N "(cached) $ECHO_C" >&6
13128else 14961else
13129 14962
13130 cat >conftest.$ac_ext <<_ACEOF 14963 cat >conftest.$ac_ext <<_ACEOF
13131#line 13131 "configure" 14964#line $LINENO "configure"
13132#include "confdefs.h" 14965/* confdefs.h. */
14966_ACEOF
14967cat confdefs.h >>conftest.$ac_ext
14968cat >>conftest.$ac_ext <<_ACEOF
14969/* end confdefs.h. */
13133#include <utmpx.h> 14970#include <utmpx.h>
13134 14971
13135_ACEOF 14972_ACEOF
13136if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14973if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13137 egrep "ut_tv" >/dev/null 2>&1; then 14974 $EGREP "ut_tv" >/dev/null 2>&1; then
13138 eval "$ossh_varname=yes" 14975 eval "$ossh_varname=yes"
13139else 14976else
13140 eval "$ossh_varname=no" 14977 eval "$ossh_varname=no"
@@ -13145,27 +14982,32 @@ fi
13145 14982
13146 ossh_result=`eval 'echo $'"$ossh_varname"` 14983 ossh_result=`eval 'echo $'"$ossh_varname"`
13147 if test -n "`echo $ossh_varname`"; then 14984 if test -n "`echo $ossh_varname`"; then
13148 echo "$as_me:13148: result: $ossh_result" >&5 14985 echo "$as_me:$LINENO: result: $ossh_result" >&5
13149echo "${ECHO_T}$ossh_result" >&6 14986echo "${ECHO_T}$ossh_result" >&6
13150 if test "x$ossh_result" = "xyes"; then 14987 if test "x$ossh_result" = "xyes"; then
13151 cat >>confdefs.h <<\EOF 14988 cat >>confdefs.h <<\_ACEOF
13152#define HAVE_TV_IN_UTMPX 1 14989#define HAVE_TV_IN_UTMPX 1
13153EOF 14990_ACEOF
13154 14991
13155 fi 14992 fi
13156 else 14993 else
13157 echo "$as_me:13157: result: no" >&5 14994 echo "$as_me:$LINENO: result: no" >&5
13158echo "${ECHO_T}no" >&6 14995echo "${ECHO_T}no" >&6
13159 fi 14996 fi
13160 14997
13161echo "$as_me:13161: checking for struct stat.st_blksize" >&5 14998
14999echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
13162echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6 15000echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
13163if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then 15001if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
13164 echo $ECHO_N "(cached) $ECHO_C" >&6 15002 echo $ECHO_N "(cached) $ECHO_C" >&6
13165else 15003else
13166 cat >conftest.$ac_ext <<_ACEOF 15004 cat >conftest.$ac_ext <<_ACEOF
13167#line 13167 "configure" 15005#line $LINENO "configure"
13168#include "confdefs.h" 15006/* confdefs.h. */
15007_ACEOF
15008cat confdefs.h >>conftest.$ac_ext
15009cat >>conftest.$ac_ext <<_ACEOF
15010/* end confdefs.h. */
13169$ac_includes_default 15011$ac_includes_default
13170int 15012int
13171main () 15013main ()
@@ -13178,44 +15020,88 @@ return 0;
13178} 15020}
13179_ACEOF 15021_ACEOF
13180rm -f conftest.$ac_objext 15022rm -f conftest.$ac_objext
13181if { (eval echo "$as_me:13181: \"$ac_compile\"") >&5 15023if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15024 (eval $ac_compile) 2>&5
15025 ac_status=$?
15026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15027 (exit $ac_status); } &&
15028 { ac_try='test -s conftest.$ac_objext'
15029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15030 (eval $ac_try) 2>&5
15031 ac_status=$?
15032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15033 (exit $ac_status); }; }; then
15034 ac_cv_member_struct_stat_st_blksize=yes
15035else
15036 echo "$as_me: failed program was:" >&5
15037sed 's/^/| /' conftest.$ac_ext >&5
15038
15039cat >conftest.$ac_ext <<_ACEOF
15040#line $LINENO "configure"
15041/* confdefs.h. */
15042_ACEOF
15043cat confdefs.h >>conftest.$ac_ext
15044cat >>conftest.$ac_ext <<_ACEOF
15045/* end confdefs.h. */
15046$ac_includes_default
15047int
15048main ()
15049{
15050static struct stat ac_aggr;
15051if (sizeof ac_aggr.st_blksize)
15052return 0;
15053 ;
15054 return 0;
15055}
15056_ACEOF
15057rm -f conftest.$ac_objext
15058if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13182 (eval $ac_compile) 2>&5 15059 (eval $ac_compile) 2>&5
13183 ac_status=$? 15060 ac_status=$?
13184 echo "$as_me:13184: \$? = $ac_status" >&5 15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13185 (exit $ac_status); } && 15062 (exit $ac_status); } &&
13186 { ac_try='test -s conftest.$ac_objext' 15063 { ac_try='test -s conftest.$ac_objext'
13187 { (eval echo "$as_me:13187: \"$ac_try\"") >&5 15064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13188 (eval $ac_try) 2>&5 15065 (eval $ac_try) 2>&5
13189 ac_status=$? 15066 ac_status=$?
13190 echo "$as_me:13190: \$? = $ac_status" >&5 15067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13191 (exit $ac_status); }; }; then 15068 (exit $ac_status); }; }; then
13192 ac_cv_member_struct_stat_st_blksize=yes 15069 ac_cv_member_struct_stat_st_blksize=yes
13193else 15070else
13194 echo "$as_me: failed program was:" >&5 15071 echo "$as_me: failed program was:" >&5
13195cat conftest.$ac_ext >&5 15072sed 's/^/| /' conftest.$ac_ext >&5
15073
13196ac_cv_member_struct_stat_st_blksize=no 15074ac_cv_member_struct_stat_st_blksize=no
13197fi 15075fi
13198rm -f conftest.$ac_objext conftest.$ac_ext 15076rm -f conftest.$ac_objext conftest.$ac_ext
13199fi 15077fi
13200echo "$as_me:13200: result: $ac_cv_member_struct_stat_st_blksize" >&5 15078rm -f conftest.$ac_objext conftest.$ac_ext
15079fi
15080echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
13201echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6 15081echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
13202if test $ac_cv_member_struct_stat_st_blksize = yes; then 15082if test $ac_cv_member_struct_stat_st_blksize = yes; then
13203 15083
13204cat >>confdefs.h <<EOF 15084cat >>confdefs.h <<_ACEOF
13205#define HAVE_STRUCT_STAT_ST_BLKSIZE 1 15085#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
13206EOF 15086_ACEOF
15087
13207 15088
13208fi 15089fi
13209 15090
13210echo "$as_me:13210: checking for ss_family field in struct sockaddr_storage" >&5 15091
15092echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5
13211echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6 15093echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6
13212if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then 15094if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then
13213 echo $ECHO_N "(cached) $ECHO_C" >&6 15095 echo $ECHO_N "(cached) $ECHO_C" >&6
13214else 15096else
13215 15097
13216 cat >conftest.$ac_ext <<_ACEOF 15098 cat >conftest.$ac_ext <<_ACEOF
13217#line 13217 "configure" 15099#line $LINENO "configure"
13218#include "confdefs.h" 15100/* confdefs.h. */
15101_ACEOF
15102cat confdefs.h >>conftest.$ac_ext
15103cat >>conftest.$ac_ext <<_ACEOF
15104/* end confdefs.h. */
13219 15105
13220#include <sys/types.h> 15106#include <sys/types.h>
13221#include <sys/socket.h> 15107#include <sys/socket.h>
@@ -13229,44 +15115,49 @@ main ()
13229} 15115}
13230_ACEOF 15116_ACEOF
13231rm -f conftest.$ac_objext 15117rm -f conftest.$ac_objext
13232if { (eval echo "$as_me:13232: \"$ac_compile\"") >&5 15118if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13233 (eval $ac_compile) 2>&5 15119 (eval $ac_compile) 2>&5
13234 ac_status=$? 15120 ac_status=$?
13235 echo "$as_me:13235: \$? = $ac_status" >&5 15121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); } && 15122 (exit $ac_status); } &&
13237 { ac_try='test -s conftest.$ac_objext' 15123 { ac_try='test -s conftest.$ac_objext'
13238 { (eval echo "$as_me:13238: \"$ac_try\"") >&5 15124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13239 (eval $ac_try) 2>&5 15125 (eval $ac_try) 2>&5
13240 ac_status=$? 15126 ac_status=$?
13241 echo "$as_me:13241: \$? = $ac_status" >&5 15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); }; }; then 15128 (exit $ac_status); }; }; then
13243 ac_cv_have_ss_family_in_struct_ss="yes" 15129 ac_cv_have_ss_family_in_struct_ss="yes"
13244else 15130else
13245 echo "$as_me: failed program was:" >&5 15131 echo "$as_me: failed program was:" >&5
13246cat conftest.$ac_ext >&5 15132sed 's/^/| /' conftest.$ac_ext >&5
15133
13247 ac_cv_have_ss_family_in_struct_ss="no" 15134 ac_cv_have_ss_family_in_struct_ss="no"
13248fi 15135fi
13249rm -f conftest.$ac_objext conftest.$ac_ext 15136rm -f conftest.$ac_objext conftest.$ac_ext
13250 15137
13251fi 15138fi
13252echo "$as_me:13252: result: $ac_cv_have_ss_family_in_struct_ss" >&5 15139echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5
13253echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6 15140echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6
13254if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then 15141if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then
13255 cat >>confdefs.h <<\EOF 15142 cat >>confdefs.h <<\_ACEOF
13256#define HAVE_SS_FAMILY_IN_SS 1 15143#define HAVE_SS_FAMILY_IN_SS 1
13257EOF 15144_ACEOF
13258 15145
13259fi 15146fi
13260 15147
13261echo "$as_me:13261: checking for __ss_family field in struct sockaddr_storage" >&5 15148echo "$as_me:$LINENO: checking for __ss_family field in struct sockaddr_storage" >&5
13262echo $ECHO_N "checking for __ss_family field in struct sockaddr_storage... $ECHO_C" >&6 15149echo $ECHO_N "checking for __ss_family field in struct sockaddr_storage... $ECHO_C" >&6
13263if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then 15150if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then
13264 echo $ECHO_N "(cached) $ECHO_C" >&6 15151 echo $ECHO_N "(cached) $ECHO_C" >&6
13265else 15152else
13266 15153
13267 cat >conftest.$ac_ext <<_ACEOF 15154 cat >conftest.$ac_ext <<_ACEOF
13268#line 13268 "configure" 15155#line $LINENO "configure"
13269#include "confdefs.h" 15156/* confdefs.h. */
15157_ACEOF
15158cat confdefs.h >>conftest.$ac_ext
15159cat >>conftest.$ac_ext <<_ACEOF
15160/* end confdefs.h. */
13270 15161
13271#include <sys/types.h> 15162#include <sys/types.h>
13272#include <sys/socket.h> 15163#include <sys/socket.h>
@@ -13280,45 +15171,50 @@ main ()
13280} 15171}
13281_ACEOF 15172_ACEOF
13282rm -f conftest.$ac_objext 15173rm -f conftest.$ac_objext
13283if { (eval echo "$as_me:13283: \"$ac_compile\"") >&5 15174if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13284 (eval $ac_compile) 2>&5 15175 (eval $ac_compile) 2>&5
13285 ac_status=$? 15176 ac_status=$?
13286 echo "$as_me:13286: \$? = $ac_status" >&5 15177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13287 (exit $ac_status); } && 15178 (exit $ac_status); } &&
13288 { ac_try='test -s conftest.$ac_objext' 15179 { ac_try='test -s conftest.$ac_objext'
13289 { (eval echo "$as_me:13289: \"$ac_try\"") >&5 15180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13290 (eval $ac_try) 2>&5 15181 (eval $ac_try) 2>&5
13291 ac_status=$? 15182 ac_status=$?
13292 echo "$as_me:13292: \$? = $ac_status" >&5 15183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13293 (exit $ac_status); }; }; then 15184 (exit $ac_status); }; }; then
13294 ac_cv_have___ss_family_in_struct_ss="yes" 15185 ac_cv_have___ss_family_in_struct_ss="yes"
13295else 15186else
13296 echo "$as_me: failed program was:" >&5 15187 echo "$as_me: failed program was:" >&5
13297cat conftest.$ac_ext >&5 15188sed 's/^/| /' conftest.$ac_ext >&5
15189
13298 ac_cv_have___ss_family_in_struct_ss="no" 15190 ac_cv_have___ss_family_in_struct_ss="no"
13299 15191
13300fi 15192fi
13301rm -f conftest.$ac_objext conftest.$ac_ext 15193rm -f conftest.$ac_objext conftest.$ac_ext
13302 15194
13303fi 15195fi
13304echo "$as_me:13304: result: $ac_cv_have___ss_family_in_struct_ss" >&5 15196echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5
13305echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6 15197echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6
13306if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then 15198if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then
13307 cat >>confdefs.h <<\EOF 15199 cat >>confdefs.h <<\_ACEOF
13308#define HAVE___SS_FAMILY_IN_SS 1 15200#define HAVE___SS_FAMILY_IN_SS 1
13309EOF 15201_ACEOF
13310 15202
13311fi 15203fi
13312 15204
13313echo "$as_me:13313: checking for pw_class field in struct passwd" >&5 15205echo "$as_me:$LINENO: checking for pw_class field in struct passwd" >&5
13314echo $ECHO_N "checking for pw_class field in struct passwd... $ECHO_C" >&6 15206echo $ECHO_N "checking for pw_class field in struct passwd... $ECHO_C" >&6
13315if test "${ac_cv_have_pw_class_in_struct_passwd+set}" = set; then 15207if test "${ac_cv_have_pw_class_in_struct_passwd+set}" = set; then
13316 echo $ECHO_N "(cached) $ECHO_C" >&6 15208 echo $ECHO_N "(cached) $ECHO_C" >&6
13317else 15209else
13318 15210
13319 cat >conftest.$ac_ext <<_ACEOF 15211 cat >conftest.$ac_ext <<_ACEOF
13320#line 13320 "configure" 15212#line $LINENO "configure"
13321#include "confdefs.h" 15213/* confdefs.h. */
15214_ACEOF
15215cat confdefs.h >>conftest.$ac_ext
15216cat >>conftest.$ac_ext <<_ACEOF
15217/* end confdefs.h. */
13322 15218
13323#include <pwd.h> 15219#include <pwd.h>
13324 15220
@@ -13331,45 +15227,50 @@ main ()
13331} 15227}
13332_ACEOF 15228_ACEOF
13333rm -f conftest.$ac_objext 15229rm -f conftest.$ac_objext
13334if { (eval echo "$as_me:13334: \"$ac_compile\"") >&5 15230if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13335 (eval $ac_compile) 2>&5 15231 (eval $ac_compile) 2>&5
13336 ac_status=$? 15232 ac_status=$?
13337 echo "$as_me:13337: \$? = $ac_status" >&5 15233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13338 (exit $ac_status); } && 15234 (exit $ac_status); } &&
13339 { ac_try='test -s conftest.$ac_objext' 15235 { ac_try='test -s conftest.$ac_objext'
13340 { (eval echo "$as_me:13340: \"$ac_try\"") >&5 15236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13341 (eval $ac_try) 2>&5 15237 (eval $ac_try) 2>&5
13342 ac_status=$? 15238 ac_status=$?
13343 echo "$as_me:13343: \$? = $ac_status" >&5 15239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13344 (exit $ac_status); }; }; then 15240 (exit $ac_status); }; }; then
13345 ac_cv_have_pw_class_in_struct_passwd="yes" 15241 ac_cv_have_pw_class_in_struct_passwd="yes"
13346else 15242else
13347 echo "$as_me: failed program was:" >&5 15243 echo "$as_me: failed program was:" >&5
13348cat conftest.$ac_ext >&5 15244sed 's/^/| /' conftest.$ac_ext >&5
15245
13349 ac_cv_have_pw_class_in_struct_passwd="no" 15246 ac_cv_have_pw_class_in_struct_passwd="no"
13350 15247
13351fi 15248fi
13352rm -f conftest.$ac_objext conftest.$ac_ext 15249rm -f conftest.$ac_objext conftest.$ac_ext
13353 15250
13354fi 15251fi
13355echo "$as_me:13355: result: $ac_cv_have_pw_class_in_struct_passwd" >&5 15252echo "$as_me:$LINENO: result: $ac_cv_have_pw_class_in_struct_passwd" >&5
13356echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6 15253echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6
13357if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then 15254if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then
13358 cat >>confdefs.h <<\EOF 15255 cat >>confdefs.h <<\_ACEOF
13359#define HAVE_PW_CLASS_IN_PASSWD 1 15256#define HAVE_PW_CLASS_IN_PASSWD 1
13360EOF 15257_ACEOF
13361 15258
13362fi 15259fi
13363 15260
13364echo "$as_me:13364: checking for pw_expire field in struct passwd" >&5 15261echo "$as_me:$LINENO: checking for pw_expire field in struct passwd" >&5
13365echo $ECHO_N "checking for pw_expire field in struct passwd... $ECHO_C" >&6 15262echo $ECHO_N "checking for pw_expire field in struct passwd... $ECHO_C" >&6
13366if test "${ac_cv_have_pw_expire_in_struct_passwd+set}" = set; then 15263if test "${ac_cv_have_pw_expire_in_struct_passwd+set}" = set; then
13367 echo $ECHO_N "(cached) $ECHO_C" >&6 15264 echo $ECHO_N "(cached) $ECHO_C" >&6
13368else 15265else
13369 15266
13370 cat >conftest.$ac_ext <<_ACEOF 15267 cat >conftest.$ac_ext <<_ACEOF
13371#line 13371 "configure" 15268#line $LINENO "configure"
13372#include "confdefs.h" 15269/* confdefs.h. */
15270_ACEOF
15271cat confdefs.h >>conftest.$ac_ext
15272cat >>conftest.$ac_ext <<_ACEOF
15273/* end confdefs.h. */
13373 15274
13374#include <pwd.h> 15275#include <pwd.h>
13375 15276
@@ -13382,45 +15283,50 @@ main ()
13382} 15283}
13383_ACEOF 15284_ACEOF
13384rm -f conftest.$ac_objext 15285rm -f conftest.$ac_objext
13385if { (eval echo "$as_me:13385: \"$ac_compile\"") >&5 15286if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13386 (eval $ac_compile) 2>&5 15287 (eval $ac_compile) 2>&5
13387 ac_status=$? 15288 ac_status=$?
13388 echo "$as_me:13388: \$? = $ac_status" >&5 15289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13389 (exit $ac_status); } && 15290 (exit $ac_status); } &&
13390 { ac_try='test -s conftest.$ac_objext' 15291 { ac_try='test -s conftest.$ac_objext'
13391 { (eval echo "$as_me:13391: \"$ac_try\"") >&5 15292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13392 (eval $ac_try) 2>&5 15293 (eval $ac_try) 2>&5
13393 ac_status=$? 15294 ac_status=$?
13394 echo "$as_me:13394: \$? = $ac_status" >&5 15295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13395 (exit $ac_status); }; }; then 15296 (exit $ac_status); }; }; then
13396 ac_cv_have_pw_expire_in_struct_passwd="yes" 15297 ac_cv_have_pw_expire_in_struct_passwd="yes"
13397else 15298else
13398 echo "$as_me: failed program was:" >&5 15299 echo "$as_me: failed program was:" >&5
13399cat conftest.$ac_ext >&5 15300sed 's/^/| /' conftest.$ac_ext >&5
15301
13400 ac_cv_have_pw_expire_in_struct_passwd="no" 15302 ac_cv_have_pw_expire_in_struct_passwd="no"
13401 15303
13402fi 15304fi
13403rm -f conftest.$ac_objext conftest.$ac_ext 15305rm -f conftest.$ac_objext conftest.$ac_ext
13404 15306
13405fi 15307fi
13406echo "$as_me:13406: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5 15308echo "$as_me:$LINENO: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5
13407echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6 15309echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6
13408if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then 15310if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then
13409 cat >>confdefs.h <<\EOF 15311 cat >>confdefs.h <<\_ACEOF
13410#define HAVE_PW_EXPIRE_IN_PASSWD 1 15312#define HAVE_PW_EXPIRE_IN_PASSWD 1
13411EOF 15313_ACEOF
13412 15314
13413fi 15315fi
13414 15316
13415echo "$as_me:13415: checking for pw_change field in struct passwd" >&5 15317echo "$as_me:$LINENO: checking for pw_change field in struct passwd" >&5
13416echo $ECHO_N "checking for pw_change field in struct passwd... $ECHO_C" >&6 15318echo $ECHO_N "checking for pw_change field in struct passwd... $ECHO_C" >&6
13417if test "${ac_cv_have_pw_change_in_struct_passwd+set}" = set; then 15319if test "${ac_cv_have_pw_change_in_struct_passwd+set}" = set; then
13418 echo $ECHO_N "(cached) $ECHO_C" >&6 15320 echo $ECHO_N "(cached) $ECHO_C" >&6
13419else 15321else
13420 15322
13421 cat >conftest.$ac_ext <<_ACEOF 15323 cat >conftest.$ac_ext <<_ACEOF
13422#line 13422 "configure" 15324#line $LINENO "configure"
13423#include "confdefs.h" 15325/* confdefs.h. */
15326_ACEOF
15327cat confdefs.h >>conftest.$ac_ext
15328cat >>conftest.$ac_ext <<_ACEOF
15329/* end confdefs.h. */
13424 15330
13425#include <pwd.h> 15331#include <pwd.h>
13426 15332
@@ -13433,50 +15339,57 @@ main ()
13433} 15339}
13434_ACEOF 15340_ACEOF
13435rm -f conftest.$ac_objext 15341rm -f conftest.$ac_objext
13436if { (eval echo "$as_me:13436: \"$ac_compile\"") >&5 15342if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13437 (eval $ac_compile) 2>&5 15343 (eval $ac_compile) 2>&5
13438 ac_status=$? 15344 ac_status=$?
13439 echo "$as_me:13439: \$? = $ac_status" >&5 15345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); } && 15346 (exit $ac_status); } &&
13441 { ac_try='test -s conftest.$ac_objext' 15347 { ac_try='test -s conftest.$ac_objext'
13442 { (eval echo "$as_me:13442: \"$ac_try\"") >&5 15348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13443 (eval $ac_try) 2>&5 15349 (eval $ac_try) 2>&5
13444 ac_status=$? 15350 ac_status=$?
13445 echo "$as_me:13445: \$? = $ac_status" >&5 15351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13446 (exit $ac_status); }; }; then 15352 (exit $ac_status); }; }; then
13447 ac_cv_have_pw_change_in_struct_passwd="yes" 15353 ac_cv_have_pw_change_in_struct_passwd="yes"
13448else 15354else
13449 echo "$as_me: failed program was:" >&5 15355 echo "$as_me: failed program was:" >&5
13450cat conftest.$ac_ext >&5 15356sed 's/^/| /' conftest.$ac_ext >&5
15357
13451 ac_cv_have_pw_change_in_struct_passwd="no" 15358 ac_cv_have_pw_change_in_struct_passwd="no"
13452 15359
13453fi 15360fi
13454rm -f conftest.$ac_objext conftest.$ac_ext 15361rm -f conftest.$ac_objext conftest.$ac_ext
13455 15362
13456fi 15363fi
13457echo "$as_me:13457: result: $ac_cv_have_pw_change_in_struct_passwd" >&5 15364echo "$as_me:$LINENO: result: $ac_cv_have_pw_change_in_struct_passwd" >&5
13458echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6 15365echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6
13459if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then 15366if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then
13460 cat >>confdefs.h <<\EOF 15367 cat >>confdefs.h <<\_ACEOF
13461#define HAVE_PW_CHANGE_IN_PASSWD 1 15368#define HAVE_PW_CHANGE_IN_PASSWD 1
13462EOF 15369_ACEOF
13463 15370
13464fi 15371fi
13465 15372
13466echo "$as_me:13466: checking for msg_accrights field in struct msghdr" >&5 15373echo "$as_me:$LINENO: checking for msg_accrights field in struct msghdr" >&5
13467echo $ECHO_N "checking for msg_accrights field in struct msghdr... $ECHO_C" >&6 15374echo $ECHO_N "checking for msg_accrights field in struct msghdr... $ECHO_C" >&6
13468if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then 15375if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then
13469 echo $ECHO_N "(cached) $ECHO_C" >&6 15376 echo $ECHO_N "(cached) $ECHO_C" >&6
13470else 15377else
13471 15378
13472 if test "$cross_compiling" = yes; then 15379 if test "$cross_compiling" = yes; then
13473 { { echo "$as_me:13473: error: cannot run test program while cross compiling" >&5 15380 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13474echo "$as_me: error: cannot run test program while cross compiling" >&2;} 15381See \`config.log' for more details." >&5
15382echo "$as_me: error: cannot run test program while cross compiling
15383See \`config.log' for more details." >&2;}
13475 { (exit 1); exit 1; }; } 15384 { (exit 1); exit 1; }; }
13476else 15385else
13477 cat >conftest.$ac_ext <<_ACEOF 15386 cat >conftest.$ac_ext <<_ACEOF
13478#line 13478 "configure" 15387#line $LINENO "configure"
13479#include "confdefs.h" 15388/* confdefs.h. */
15389_ACEOF
15390cat confdefs.h >>conftest.$ac_ext
15391cat >>conftest.$ac_ext <<_ACEOF
15392/* end confdefs.h. */
13480 15393
13481#include <sys/types.h> 15394#include <sys/types.h>
13482#include <sys/socket.h> 15395#include <sys/socket.h>
@@ -13492,51 +15405,59 @@ exit(0);
13492 15405
13493_ACEOF 15406_ACEOF
13494rm -f conftest$ac_exeext 15407rm -f conftest$ac_exeext
13495if { (eval echo "$as_me:13495: \"$ac_link\"") >&5 15408if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13496 (eval $ac_link) 2>&5 15409 (eval $ac_link) 2>&5
13497 ac_status=$? 15410 ac_status=$?
13498 echo "$as_me:13498: \$? = $ac_status" >&5 15411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13499 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15412 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13500 { (eval echo "$as_me:13500: \"$ac_try\"") >&5 15413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13501 (eval $ac_try) 2>&5 15414 (eval $ac_try) 2>&5
13502 ac_status=$? 15415 ac_status=$?
13503 echo "$as_me:13503: \$? = $ac_status" >&5 15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13504 (exit $ac_status); }; }; then 15417 (exit $ac_status); }; }; then
13505 ac_cv_have_accrights_in_msghdr="yes" 15418 ac_cv_have_accrights_in_msghdr="yes"
13506else 15419else
13507 echo "$as_me: program exited with status $ac_status" >&5 15420 echo "$as_me: program exited with status $ac_status" >&5
13508echo "$as_me: failed program was:" >&5 15421echo "$as_me: failed program was:" >&5
13509cat conftest.$ac_ext >&5 15422sed 's/^/| /' conftest.$ac_ext >&5
15423
15424( exit $ac_status )
13510 ac_cv_have_accrights_in_msghdr="no" 15425 ac_cv_have_accrights_in_msghdr="no"
13511 15426
13512fi 15427fi
13513rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15428rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13514fi 15429fi
13515 15430
13516fi 15431fi
13517echo "$as_me:13517: result: $ac_cv_have_accrights_in_msghdr" >&5 15432echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5
13518echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6 15433echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6
13519if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then 15434if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then
13520 cat >>confdefs.h <<\EOF 15435 cat >>confdefs.h <<\_ACEOF
13521#define HAVE_ACCRIGHTS_IN_MSGHDR 1 15436#define HAVE_ACCRIGHTS_IN_MSGHDR 1
13522EOF 15437_ACEOF
13523 15438
13524fi 15439fi
13525 15440
13526echo "$as_me:13526: checking for msg_control field in struct msghdr" >&5 15441echo "$as_me:$LINENO: checking for msg_control field in struct msghdr" >&5
13527echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6 15442echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6
13528if test "${ac_cv_have_control_in_msghdr+set}" = set; then 15443if test "${ac_cv_have_control_in_msghdr+set}" = set; then
13529 echo $ECHO_N "(cached) $ECHO_C" >&6 15444 echo $ECHO_N "(cached) $ECHO_C" >&6
13530else 15445else
13531 15446
13532 if test "$cross_compiling" = yes; then 15447 if test "$cross_compiling" = yes; then
13533 { { echo "$as_me:13533: error: cannot run test program while cross compiling" >&5 15448 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13534echo "$as_me: error: cannot run test program while cross compiling" >&2;} 15449See \`config.log' for more details." >&5
15450echo "$as_me: error: cannot run test program while cross compiling
15451See \`config.log' for more details." >&2;}
13535 { (exit 1); exit 1; }; } 15452 { (exit 1); exit 1; }; }
13536else 15453else
13537 cat >conftest.$ac_ext <<_ACEOF 15454 cat >conftest.$ac_ext <<_ACEOF
13538#line 13538 "configure" 15455#line $LINENO "configure"
13539#include "confdefs.h" 15456/* confdefs.h. */
15457_ACEOF
15458cat confdefs.h >>conftest.$ac_ext
15459cat >>conftest.$ac_ext <<_ACEOF
15460/* end confdefs.h. */
13540 15461
13541#include <sys/types.h> 15462#include <sys/types.h>
13542#include <sys/socket.h> 15463#include <sys/socket.h>
@@ -13552,46 +15473,52 @@ exit(0);
13552 15473
13553_ACEOF 15474_ACEOF
13554rm -f conftest$ac_exeext 15475rm -f conftest$ac_exeext
13555if { (eval echo "$as_me:13555: \"$ac_link\"") >&5 15476if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13556 (eval $ac_link) 2>&5 15477 (eval $ac_link) 2>&5
13557 ac_status=$? 15478 ac_status=$?
13558 echo "$as_me:13558: \$? = $ac_status" >&5 15479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13559 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15480 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13560 { (eval echo "$as_me:13560: \"$ac_try\"") >&5 15481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13561 (eval $ac_try) 2>&5 15482 (eval $ac_try) 2>&5
13562 ac_status=$? 15483 ac_status=$?
13563 echo "$as_me:13563: \$? = $ac_status" >&5 15484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13564 (exit $ac_status); }; }; then 15485 (exit $ac_status); }; }; then
13565 ac_cv_have_control_in_msghdr="yes" 15486 ac_cv_have_control_in_msghdr="yes"
13566else 15487else
13567 echo "$as_me: program exited with status $ac_status" >&5 15488 echo "$as_me: program exited with status $ac_status" >&5
13568echo "$as_me: failed program was:" >&5 15489echo "$as_me: failed program was:" >&5
13569cat conftest.$ac_ext >&5 15490sed 's/^/| /' conftest.$ac_ext >&5
15491
15492( exit $ac_status )
13570 ac_cv_have_control_in_msghdr="no" 15493 ac_cv_have_control_in_msghdr="no"
13571 15494
13572fi 15495fi
13573rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15496rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13574fi 15497fi
13575 15498
13576fi 15499fi
13577echo "$as_me:13577: result: $ac_cv_have_control_in_msghdr" >&5 15500echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5
13578echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6 15501echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6
13579if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then 15502if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then
13580 cat >>confdefs.h <<\EOF 15503 cat >>confdefs.h <<\_ACEOF
13581#define HAVE_CONTROL_IN_MSGHDR 1 15504#define HAVE_CONTROL_IN_MSGHDR 1
13582EOF 15505_ACEOF
13583 15506
13584fi 15507fi
13585 15508
13586echo "$as_me:13586: checking if libc defines __progname" >&5 15509echo "$as_me:$LINENO: checking if libc defines __progname" >&5
13587echo $ECHO_N "checking if libc defines __progname... $ECHO_C" >&6 15510echo $ECHO_N "checking if libc defines __progname... $ECHO_C" >&6
13588if test "${ac_cv_libc_defines___progname+set}" = set; then 15511if test "${ac_cv_libc_defines___progname+set}" = set; then
13589 echo $ECHO_N "(cached) $ECHO_C" >&6 15512 echo $ECHO_N "(cached) $ECHO_C" >&6
13590else 15513else
13591 15514
13592 cat >conftest.$ac_ext <<_ACEOF 15515 cat >conftest.$ac_ext <<_ACEOF
13593#line 13593 "configure" 15516#line $LINENO "configure"
13594#include "confdefs.h" 15517/* confdefs.h. */
15518_ACEOF
15519cat confdefs.h >>conftest.$ac_ext
15520cat >>conftest.$ac_ext <<_ACEOF
15521/* end confdefs.h. */
13595 15522
13596int 15523int
13597main () 15524main ()
@@ -13602,45 +15529,50 @@ main ()
13602} 15529}
13603_ACEOF 15530_ACEOF
13604rm -f conftest.$ac_objext conftest$ac_exeext 15531rm -f conftest.$ac_objext conftest$ac_exeext
13605if { (eval echo "$as_me:13605: \"$ac_link\"") >&5 15532if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13606 (eval $ac_link) 2>&5 15533 (eval $ac_link) 2>&5
13607 ac_status=$? 15534 ac_status=$?
13608 echo "$as_me:13608: \$? = $ac_status" >&5 15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); } && 15536 (exit $ac_status); } &&
13610 { ac_try='test -s conftest$ac_exeext' 15537 { ac_try='test -s conftest$ac_exeext'
13611 { (eval echo "$as_me:13611: \"$ac_try\"") >&5 15538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13612 (eval $ac_try) 2>&5 15539 (eval $ac_try) 2>&5
13613 ac_status=$? 15540 ac_status=$?
13614 echo "$as_me:13614: \$? = $ac_status" >&5 15541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13615 (exit $ac_status); }; }; then 15542 (exit $ac_status); }; }; then
13616 ac_cv_libc_defines___progname="yes" 15543 ac_cv_libc_defines___progname="yes"
13617else 15544else
13618 echo "$as_me: failed program was:" >&5 15545 echo "$as_me: failed program was:" >&5
13619cat conftest.$ac_ext >&5 15546sed 's/^/| /' conftest.$ac_ext >&5
15547
13620 ac_cv_libc_defines___progname="no" 15548 ac_cv_libc_defines___progname="no"
13621 15549
13622fi 15550fi
13623rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 15551rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13624 15552
13625fi 15553fi
13626echo "$as_me:13626: result: $ac_cv_libc_defines___progname" >&5 15554echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname" >&5
13627echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6 15555echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6
13628if test "x$ac_cv_libc_defines___progname" = "xyes" ; then 15556if test "x$ac_cv_libc_defines___progname" = "xyes" ; then
13629 cat >>confdefs.h <<\EOF 15557 cat >>confdefs.h <<\_ACEOF
13630#define HAVE___PROGNAME 1 15558#define HAVE___PROGNAME 1
13631EOF 15559_ACEOF
13632 15560
13633fi 15561fi
13634 15562
13635echo "$as_me:13635: checking whether $CC implements __FUNCTION__" >&5 15563echo "$as_me:$LINENO: checking whether $CC implements __FUNCTION__" >&5
13636echo $ECHO_N "checking whether $CC implements __FUNCTION__... $ECHO_C" >&6 15564echo $ECHO_N "checking whether $CC implements __FUNCTION__... $ECHO_C" >&6
13637if test "${ac_cv_cc_implements___FUNCTION__+set}" = set; then 15565if test "${ac_cv_cc_implements___FUNCTION__+set}" = set; then
13638 echo $ECHO_N "(cached) $ECHO_C" >&6 15566 echo $ECHO_N "(cached) $ECHO_C" >&6
13639else 15567else
13640 15568
13641 cat >conftest.$ac_ext <<_ACEOF 15569 cat >conftest.$ac_ext <<_ACEOF
13642#line 13642 "configure" 15570#line $LINENO "configure"
13643#include "confdefs.h" 15571/* confdefs.h. */
15572_ACEOF
15573cat confdefs.h >>conftest.$ac_ext
15574cat >>conftest.$ac_ext <<_ACEOF
15575/* end confdefs.h. */
13644 15576
13645#include <stdio.h> 15577#include <stdio.h>
13646 15578
@@ -13653,45 +15585,50 @@ main ()
13653} 15585}
13654_ACEOF 15586_ACEOF
13655rm -f conftest.$ac_objext conftest$ac_exeext 15587rm -f conftest.$ac_objext conftest$ac_exeext
13656if { (eval echo "$as_me:13656: \"$ac_link\"") >&5 15588if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13657 (eval $ac_link) 2>&5 15589 (eval $ac_link) 2>&5
13658 ac_status=$? 15590 ac_status=$?
13659 echo "$as_me:13659: \$? = $ac_status" >&5 15591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13660 (exit $ac_status); } && 15592 (exit $ac_status); } &&
13661 { ac_try='test -s conftest$ac_exeext' 15593 { ac_try='test -s conftest$ac_exeext'
13662 { (eval echo "$as_me:13662: \"$ac_try\"") >&5 15594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13663 (eval $ac_try) 2>&5 15595 (eval $ac_try) 2>&5
13664 ac_status=$? 15596 ac_status=$?
13665 echo "$as_me:13665: \$? = $ac_status" >&5 15597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13666 (exit $ac_status); }; }; then 15598 (exit $ac_status); }; }; then
13667 ac_cv_cc_implements___FUNCTION__="yes" 15599 ac_cv_cc_implements___FUNCTION__="yes"
13668else 15600else
13669 echo "$as_me: failed program was:" >&5 15601 echo "$as_me: failed program was:" >&5
13670cat conftest.$ac_ext >&5 15602sed 's/^/| /' conftest.$ac_ext >&5
15603
13671 ac_cv_cc_implements___FUNCTION__="no" 15604 ac_cv_cc_implements___FUNCTION__="no"
13672 15605
13673fi 15606fi
13674rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 15607rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13675 15608
13676fi 15609fi
13677echo "$as_me:13677: result: $ac_cv_cc_implements___FUNCTION__" >&5 15610echo "$as_me:$LINENO: result: $ac_cv_cc_implements___FUNCTION__" >&5
13678echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6 15611echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6
13679if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then 15612if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then
13680 cat >>confdefs.h <<\EOF 15613 cat >>confdefs.h <<\_ACEOF
13681#define HAVE___FUNCTION__ 1 15614#define HAVE___FUNCTION__ 1
13682EOF 15615_ACEOF
13683 15616
13684fi 15617fi
13685 15618
13686echo "$as_me:13686: checking whether $CC implements __func__" >&5 15619echo "$as_me:$LINENO: checking whether $CC implements __func__" >&5
13687echo $ECHO_N "checking whether $CC implements __func__... $ECHO_C" >&6 15620echo $ECHO_N "checking whether $CC implements __func__... $ECHO_C" >&6
13688if test "${ac_cv_cc_implements___func__+set}" = set; then 15621if test "${ac_cv_cc_implements___func__+set}" = set; then
13689 echo $ECHO_N "(cached) $ECHO_C" >&6 15622 echo $ECHO_N "(cached) $ECHO_C" >&6
13690else 15623else
13691 15624
13692 cat >conftest.$ac_ext <<_ACEOF 15625 cat >conftest.$ac_ext <<_ACEOF
13693#line 13693 "configure" 15626#line $LINENO "configure"
13694#include "confdefs.h" 15627/* confdefs.h. */
15628_ACEOF
15629cat confdefs.h >>conftest.$ac_ext
15630cat >>conftest.$ac_ext <<_ACEOF
15631/* end confdefs.h. */
13695 15632
13696#include <stdio.h> 15633#include <stdio.h>
13697 15634
@@ -13704,45 +15641,50 @@ main ()
13704} 15641}
13705_ACEOF 15642_ACEOF
13706rm -f conftest.$ac_objext conftest$ac_exeext 15643rm -f conftest.$ac_objext conftest$ac_exeext
13707if { (eval echo "$as_me:13707: \"$ac_link\"") >&5 15644if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13708 (eval $ac_link) 2>&5 15645 (eval $ac_link) 2>&5
13709 ac_status=$? 15646 ac_status=$?
13710 echo "$as_me:13710: \$? = $ac_status" >&5 15647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13711 (exit $ac_status); } && 15648 (exit $ac_status); } &&
13712 { ac_try='test -s conftest$ac_exeext' 15649 { ac_try='test -s conftest$ac_exeext'
13713 { (eval echo "$as_me:13713: \"$ac_try\"") >&5 15650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13714 (eval $ac_try) 2>&5 15651 (eval $ac_try) 2>&5
13715 ac_status=$? 15652 ac_status=$?
13716 echo "$as_me:13716: \$? = $ac_status" >&5 15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717 (exit $ac_status); }; }; then 15654 (exit $ac_status); }; }; then
13718 ac_cv_cc_implements___func__="yes" 15655 ac_cv_cc_implements___func__="yes"
13719else 15656else
13720 echo "$as_me: failed program was:" >&5 15657 echo "$as_me: failed program was:" >&5
13721cat conftest.$ac_ext >&5 15658sed 's/^/| /' conftest.$ac_ext >&5
15659
13722 ac_cv_cc_implements___func__="no" 15660 ac_cv_cc_implements___func__="no"
13723 15661
13724fi 15662fi
13725rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 15663rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13726 15664
13727fi 15665fi
13728echo "$as_me:13728: result: $ac_cv_cc_implements___func__" >&5 15666echo "$as_me:$LINENO: result: $ac_cv_cc_implements___func__" >&5
13729echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6 15667echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6
13730if test "x$ac_cv_cc_implements___func__" = "xyes" ; then 15668if test "x$ac_cv_cc_implements___func__" = "xyes" ; then
13731 cat >>confdefs.h <<\EOF 15669 cat >>confdefs.h <<\_ACEOF
13732#define HAVE___func__ 1 15670#define HAVE___func__ 1
13733EOF 15671_ACEOF
13734 15672
13735fi 15673fi
13736 15674
13737echo "$as_me:13737: checking whether getopt has optreset support" >&5 15675echo "$as_me:$LINENO: checking whether getopt has optreset support" >&5
13738echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6 15676echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6
13739if test "${ac_cv_have_getopt_optreset+set}" = set; then 15677if test "${ac_cv_have_getopt_optreset+set}" = set; then
13740 echo $ECHO_N "(cached) $ECHO_C" >&6 15678 echo $ECHO_N "(cached) $ECHO_C" >&6
13741else 15679else
13742 15680
13743 cat >conftest.$ac_ext <<_ACEOF 15681 cat >conftest.$ac_ext <<_ACEOF
13744#line 13744 "configure" 15682#line $LINENO "configure"
13745#include "confdefs.h" 15683/* confdefs.h. */
15684_ACEOF
15685cat confdefs.h >>conftest.$ac_ext
15686cat >>conftest.$ac_ext <<_ACEOF
15687/* end confdefs.h. */
13746 15688
13747#include <getopt.h> 15689#include <getopt.h>
13748 15690
@@ -13755,45 +15697,50 @@ main ()
13755} 15697}
13756_ACEOF 15698_ACEOF
13757rm -f conftest.$ac_objext conftest$ac_exeext 15699rm -f conftest.$ac_objext conftest$ac_exeext
13758if { (eval echo "$as_me:13758: \"$ac_link\"") >&5 15700if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13759 (eval $ac_link) 2>&5 15701 (eval $ac_link) 2>&5
13760 ac_status=$? 15702 ac_status=$?
13761 echo "$as_me:13761: \$? = $ac_status" >&5 15703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13762 (exit $ac_status); } && 15704 (exit $ac_status); } &&
13763 { ac_try='test -s conftest$ac_exeext' 15705 { ac_try='test -s conftest$ac_exeext'
13764 { (eval echo "$as_me:13764: \"$ac_try\"") >&5 15706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13765 (eval $ac_try) 2>&5 15707 (eval $ac_try) 2>&5
13766 ac_status=$? 15708 ac_status=$?
13767 echo "$as_me:13767: \$? = $ac_status" >&5 15709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13768 (exit $ac_status); }; }; then 15710 (exit $ac_status); }; }; then
13769 ac_cv_have_getopt_optreset="yes" 15711 ac_cv_have_getopt_optreset="yes"
13770else 15712else
13771 echo "$as_me: failed program was:" >&5 15713 echo "$as_me: failed program was:" >&5
13772cat conftest.$ac_ext >&5 15714sed 's/^/| /' conftest.$ac_ext >&5
15715
13773 ac_cv_have_getopt_optreset="no" 15716 ac_cv_have_getopt_optreset="no"
13774 15717
13775fi 15718fi
13776rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 15719rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13777 15720
13778fi 15721fi
13779echo "$as_me:13779: result: $ac_cv_have_getopt_optreset" >&5 15722echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5
13780echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6 15723echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6
13781if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then 15724if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then
13782 cat >>confdefs.h <<\EOF 15725 cat >>confdefs.h <<\_ACEOF
13783#define HAVE_GETOPT_OPTRESET 1 15726#define HAVE_GETOPT_OPTRESET 1
13784EOF 15727_ACEOF
13785 15728
13786fi 15729fi
13787 15730
13788echo "$as_me:13788: checking if libc defines sys_errlist" >&5 15731echo "$as_me:$LINENO: checking if libc defines sys_errlist" >&5
13789echo $ECHO_N "checking if libc defines sys_errlist... $ECHO_C" >&6 15732echo $ECHO_N "checking if libc defines sys_errlist... $ECHO_C" >&6
13790if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then 15733if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then
13791 echo $ECHO_N "(cached) $ECHO_C" >&6 15734 echo $ECHO_N "(cached) $ECHO_C" >&6
13792else 15735else
13793 15736
13794 cat >conftest.$ac_ext <<_ACEOF 15737 cat >conftest.$ac_ext <<_ACEOF
13795#line 13795 "configure" 15738#line $LINENO "configure"
13796#include "confdefs.h" 15739/* confdefs.h. */
15740_ACEOF
15741cat confdefs.h >>conftest.$ac_ext
15742cat >>conftest.$ac_ext <<_ACEOF
15743/* end confdefs.h. */
13797 15744
13798int 15745int
13799main () 15746main ()
@@ -13804,45 +15751,51 @@ main ()
13804} 15751}
13805_ACEOF 15752_ACEOF
13806rm -f conftest.$ac_objext conftest$ac_exeext 15753rm -f conftest.$ac_objext conftest$ac_exeext
13807if { (eval echo "$as_me:13807: \"$ac_link\"") >&5 15754if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13808 (eval $ac_link) 2>&5 15755 (eval $ac_link) 2>&5
13809 ac_status=$? 15756 ac_status=$?
13810 echo "$as_me:13810: \$? = $ac_status" >&5 15757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811 (exit $ac_status); } && 15758 (exit $ac_status); } &&
13812 { ac_try='test -s conftest$ac_exeext' 15759 { ac_try='test -s conftest$ac_exeext'
13813 { (eval echo "$as_me:13813: \"$ac_try\"") >&5 15760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13814 (eval $ac_try) 2>&5 15761 (eval $ac_try) 2>&5
13815 ac_status=$? 15762 ac_status=$?
13816 echo "$as_me:13816: \$? = $ac_status" >&5 15763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); }; }; then 15764 (exit $ac_status); }; }; then
13818 ac_cv_libc_defines_sys_errlist="yes" 15765 ac_cv_libc_defines_sys_errlist="yes"
13819else 15766else
13820 echo "$as_me: failed program was:" >&5 15767 echo "$as_me: failed program was:" >&5
13821cat conftest.$ac_ext >&5 15768sed 's/^/| /' conftest.$ac_ext >&5
15769
13822 ac_cv_libc_defines_sys_errlist="no" 15770 ac_cv_libc_defines_sys_errlist="no"
13823 15771
13824fi 15772fi
13825rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 15773rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13826 15774
13827fi 15775fi
13828echo "$as_me:13828: result: $ac_cv_libc_defines_sys_errlist" >&5 15776echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_errlist" >&5
13829echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6 15777echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6
13830if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then 15778if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then
13831 cat >>confdefs.h <<\EOF 15779 cat >>confdefs.h <<\_ACEOF
13832#define HAVE_SYS_ERRLIST 1 15780#define HAVE_SYS_ERRLIST 1
13833EOF 15781_ACEOF
13834 15782
13835fi 15783fi
13836 15784
13837echo "$as_me:13837: checking if libc defines sys_nerr" >&5 15785
15786echo "$as_me:$LINENO: checking if libc defines sys_nerr" >&5
13838echo $ECHO_N "checking if libc defines sys_nerr... $ECHO_C" >&6 15787echo $ECHO_N "checking if libc defines sys_nerr... $ECHO_C" >&6
13839if test "${ac_cv_libc_defines_sys_nerr+set}" = set; then 15788if test "${ac_cv_libc_defines_sys_nerr+set}" = set; then
13840 echo $ECHO_N "(cached) $ECHO_C" >&6 15789 echo $ECHO_N "(cached) $ECHO_C" >&6
13841else 15790else
13842 15791
13843 cat >conftest.$ac_ext <<_ACEOF 15792 cat >conftest.$ac_ext <<_ACEOF
13844#line 13844 "configure" 15793#line $LINENO "configure"
13845#include "confdefs.h" 15794/* confdefs.h. */
15795_ACEOF
15796cat confdefs.h >>conftest.$ac_ext
15797cat >>conftest.$ac_ext <<_ACEOF
15798/* end confdefs.h. */
13846 15799
13847int 15800int
13848main () 15801main ()
@@ -13853,37 +15806,39 @@ main ()
13853} 15806}
13854_ACEOF 15807_ACEOF
13855rm -f conftest.$ac_objext conftest$ac_exeext 15808rm -f conftest.$ac_objext conftest$ac_exeext
13856if { (eval echo "$as_me:13856: \"$ac_link\"") >&5 15809if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13857 (eval $ac_link) 2>&5 15810 (eval $ac_link) 2>&5
13858 ac_status=$? 15811 ac_status=$?
13859 echo "$as_me:13859: \$? = $ac_status" >&5 15812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 (exit $ac_status); } && 15813 (exit $ac_status); } &&
13861 { ac_try='test -s conftest$ac_exeext' 15814 { ac_try='test -s conftest$ac_exeext'
13862 { (eval echo "$as_me:13862: \"$ac_try\"") >&5 15815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13863 (eval $ac_try) 2>&5 15816 (eval $ac_try) 2>&5
13864 ac_status=$? 15817 ac_status=$?
13865 echo "$as_me:13865: \$? = $ac_status" >&5 15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13866 (exit $ac_status); }; }; then 15819 (exit $ac_status); }; }; then
13867 ac_cv_libc_defines_sys_nerr="yes" 15820 ac_cv_libc_defines_sys_nerr="yes"
13868else 15821else
13869 echo "$as_me: failed program was:" >&5 15822 echo "$as_me: failed program was:" >&5
13870cat conftest.$ac_ext >&5 15823sed 's/^/| /' conftest.$ac_ext >&5
15824
13871 ac_cv_libc_defines_sys_nerr="no" 15825 ac_cv_libc_defines_sys_nerr="no"
13872 15826
13873fi 15827fi
13874rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 15828rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13875 15829
13876fi 15830fi
13877echo "$as_me:13877: result: $ac_cv_libc_defines_sys_nerr" >&5 15831echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_nerr" >&5
13878echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6 15832echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6
13879if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then 15833if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then
13880 cat >>confdefs.h <<\EOF 15834 cat >>confdefs.h <<\_ACEOF
13881#define HAVE_SYS_NERR 1 15835#define HAVE_SYS_NERR 1
13882EOF 15836_ACEOF
13883 15837
13884fi 15838fi
13885 15839
13886SCARD_MSG="no" 15840SCARD_MSG="no"
15841
13887# Check whether user wants sectok support 15842# Check whether user wants sectok support
13888 15843
13889# Check whether --with-sectok or --without-sectok was given. 15844# Check whether --with-sectok or --without-sectok was given.
@@ -13905,23 +15860,70 @@ if test "${with_sectok+set}" = set; then
13905for ac_header in sectok.h 15860for ac_header in sectok.h
13906do 15861do
13907as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 15862as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13908echo "$as_me:13908: checking for $ac_header" >&5 15863if eval "test \"\${$as_ac_Header+set}\" = set"; then
15864 echo "$as_me:$LINENO: checking for $ac_header" >&5
13909echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 15865echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13910if eval "test \"\${$as_ac_Header+set}\" = set"; then 15866if eval "test \"\${$as_ac_Header+set}\" = set"; then
13911 echo $ECHO_N "(cached) $ECHO_C" >&6 15867 echo $ECHO_N "(cached) $ECHO_C" >&6
15868fi
15869echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15870echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13912else 15871else
13913 cat >conftest.$ac_ext <<_ACEOF 15872 # Is the header compilable?
13914#line 13914 "configure" 15873echo "$as_me:$LINENO: checking $ac_header usability" >&5
13915#include "confdefs.h" 15874echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15875cat >conftest.$ac_ext <<_ACEOF
15876#line $LINENO "configure"
15877/* confdefs.h. */
15878_ACEOF
15879cat confdefs.h >>conftest.$ac_ext
15880cat >>conftest.$ac_ext <<_ACEOF
15881/* end confdefs.h. */
15882$ac_includes_default
15883#include <$ac_header>
15884_ACEOF
15885rm -f conftest.$ac_objext
15886if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15887 (eval $ac_compile) 2>&5
15888 ac_status=$?
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); } &&
15891 { ac_try='test -s conftest.$ac_objext'
15892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15893 (eval $ac_try) 2>&5
15894 ac_status=$?
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); }; }; then
15897 ac_header_compiler=yes
15898else
15899 echo "$as_me: failed program was:" >&5
15900sed 's/^/| /' conftest.$ac_ext >&5
15901
15902ac_header_compiler=no
15903fi
15904rm -f conftest.$ac_objext conftest.$ac_ext
15905echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15906echo "${ECHO_T}$ac_header_compiler" >&6
15907
15908# Is the header present?
15909echo "$as_me:$LINENO: checking $ac_header presence" >&5
15910echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15911cat >conftest.$ac_ext <<_ACEOF
15912#line $LINENO "configure"
15913/* confdefs.h. */
15914_ACEOF
15915cat confdefs.h >>conftest.$ac_ext
15916cat >>conftest.$ac_ext <<_ACEOF
15917/* end confdefs.h. */
13916#include <$ac_header> 15918#include <$ac_header>
13917_ACEOF 15919_ACEOF
13918if { (eval echo "$as_me:13918: \"$ac_cpp conftest.$ac_ext\"") >&5 15920if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13919 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 15921 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13920 ac_status=$? 15922 ac_status=$?
13921 egrep -v '^ *\+' conftest.er1 >conftest.err 15923 grep -v '^ *+' conftest.er1 >conftest.err
13922 rm -f conftest.er1 15924 rm -f conftest.er1
13923 cat conftest.err >&5 15925 cat conftest.err >&5
13924 echo "$as_me:13924: \$? = $ac_status" >&5 15926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); } >/dev/null; then 15927 (exit $ac_status); } >/dev/null; then
13926 if test -s conftest.err; then 15928 if test -s conftest.err; then
13927 ac_cpp_err=$ac_c_preproc_warn_flag 15929 ac_cpp_err=$ac_c_preproc_warn_flag
@@ -13932,31 +15934,77 @@ else
13932 ac_cpp_err=yes 15934 ac_cpp_err=yes
13933fi 15935fi
13934if test -z "$ac_cpp_err"; then 15936if test -z "$ac_cpp_err"; then
13935 eval "$as_ac_Header=yes" 15937 ac_header_preproc=yes
13936else 15938else
13937 echo "$as_me: failed program was:" >&5 15939 echo "$as_me: failed program was:" >&5
13938 cat conftest.$ac_ext >&5 15940sed 's/^/| /' conftest.$ac_ext >&5
13939 eval "$as_ac_Header=no" 15941
15942 ac_header_preproc=no
13940fi 15943fi
13941rm -f conftest.err conftest.$ac_ext 15944rm -f conftest.err conftest.$ac_ext
15945echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15946echo "${ECHO_T}$ac_header_preproc" >&6
15947
15948# So? What about this header?
15949case $ac_header_compiler:$ac_header_preproc in
15950 yes:no )
15951 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15952echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15953 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15954echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15955 (
15956 cat <<\_ASBOX
15957## ------------------------------------ ##
15958## Report this to bug-autoconf@gnu.org. ##
15959## ------------------------------------ ##
15960_ASBOX
15961 ) |
15962 sed "s/^/$as_me: WARNING: /" >&2
15963 ;;
15964 no:yes )
15965 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15966echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15967 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15968echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15969 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15970echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15971 (
15972 cat <<\_ASBOX
15973## ------------------------------------ ##
15974## Report this to bug-autoconf@gnu.org. ##
15975## ------------------------------------ ##
15976_ASBOX
15977 ) |
15978 sed "s/^/$as_me: WARNING: /" >&2
15979 ;;
15980esac
15981echo "$as_me:$LINENO: checking for $ac_header" >&5
15982echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15983if eval "test \"\${$as_ac_Header+set}\" = set"; then
15984 echo $ECHO_N "(cached) $ECHO_C" >&6
15985else
15986 eval "$as_ac_Header=$ac_header_preproc"
13942fi 15987fi
13943echo "$as_me:13943: result: `eval echo '${'$as_ac_Header'}'`" >&5 15988echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13944echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 15989echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15990
15991fi
13945if test `eval echo '${'$as_ac_Header'}'` = yes; then 15992if test `eval echo '${'$as_ac_Header'}'` = yes; then
13946 cat >>confdefs.h <<EOF 15993 cat >>confdefs.h <<_ACEOF
13947#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 15994#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13948EOF 15995_ACEOF
13949 15996
13950fi 15997fi
15998
13951done 15999done
13952 16000
13953 if test "$ac_cv_header_sectok_h" != yes; then 16001 if test "$ac_cv_header_sectok_h" != yes; then
13954 { { echo "$as_me:13954: error: Can't find sectok.h" >&5 16002 { { echo "$as_me:$LINENO: error: Can't find sectok.h" >&5
13955echo "$as_me: error: Can't find sectok.h" >&2;} 16003echo "$as_me: error: Can't find sectok.h" >&2;}
13956 { (exit 1); exit 1; }; } 16004 { (exit 1); exit 1; }; }
13957 fi 16005 fi
13958 16006
13959echo "$as_me:13959: checking for sectok_open in -lsectok" >&5 16007echo "$as_me:$LINENO: checking for sectok_open in -lsectok" >&5
13960echo $ECHO_N "checking for sectok_open in -lsectok... $ECHO_C" >&6 16008echo $ECHO_N "checking for sectok_open in -lsectok... $ECHO_C" >&6
13961if test "${ac_cv_lib_sectok_sectok_open+set}" = set; then 16009if test "${ac_cv_lib_sectok_sectok_open+set}" = set; then
13962 echo $ECHO_N "(cached) $ECHO_C" >&6 16010 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -13964,8 +16012,12 @@ else
13964 ac_check_lib_save_LIBS=$LIBS 16012 ac_check_lib_save_LIBS=$LIBS
13965LIBS="-lsectok $LIBS" 16013LIBS="-lsectok $LIBS"
13966cat >conftest.$ac_ext <<_ACEOF 16014cat >conftest.$ac_ext <<_ACEOF
13967#line 13967 "configure" 16015#line $LINENO "configure"
13968#include "confdefs.h" 16016/* confdefs.h. */
16017_ACEOF
16018cat confdefs.h >>conftest.$ac_ext
16019cat >>conftest.$ac_ext <<_ACEOF
16020/* end confdefs.h. */
13969 16021
13970/* Override any gcc2 internal prototype to avoid an error. */ 16022/* Override any gcc2 internal prototype to avoid an error. */
13971#ifdef __cplusplus 16023#ifdef __cplusplus
@@ -13983,53 +16035,55 @@ sectok_open ();
13983} 16035}
13984_ACEOF 16036_ACEOF
13985rm -f conftest.$ac_objext conftest$ac_exeext 16037rm -f conftest.$ac_objext conftest$ac_exeext
13986if { (eval echo "$as_me:13986: \"$ac_link\"") >&5 16038if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13987 (eval $ac_link) 2>&5 16039 (eval $ac_link) 2>&5
13988 ac_status=$? 16040 ac_status=$?
13989 echo "$as_me:13989: \$? = $ac_status" >&5 16041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990 (exit $ac_status); } && 16042 (exit $ac_status); } &&
13991 { ac_try='test -s conftest$ac_exeext' 16043 { ac_try='test -s conftest$ac_exeext'
13992 { (eval echo "$as_me:13992: \"$ac_try\"") >&5 16044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13993 (eval $ac_try) 2>&5 16045 (eval $ac_try) 2>&5
13994 ac_status=$? 16046 ac_status=$?
13995 echo "$as_me:13995: \$? = $ac_status" >&5 16047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13996 (exit $ac_status); }; }; then 16048 (exit $ac_status); }; }; then
13997 ac_cv_lib_sectok_sectok_open=yes 16049 ac_cv_lib_sectok_sectok_open=yes
13998else 16050else
13999 echo "$as_me: failed program was:" >&5 16051 echo "$as_me: failed program was:" >&5
14000cat conftest.$ac_ext >&5 16052sed 's/^/| /' conftest.$ac_ext >&5
16053
14001ac_cv_lib_sectok_sectok_open=no 16054ac_cv_lib_sectok_sectok_open=no
14002fi 16055fi
14003rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 16056rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14004LIBS=$ac_check_lib_save_LIBS 16057LIBS=$ac_check_lib_save_LIBS
14005fi 16058fi
14006echo "$as_me:14006: result: $ac_cv_lib_sectok_sectok_open" >&5 16059echo "$as_me:$LINENO: result: $ac_cv_lib_sectok_sectok_open" >&5
14007echo "${ECHO_T}$ac_cv_lib_sectok_sectok_open" >&6 16060echo "${ECHO_T}$ac_cv_lib_sectok_sectok_open" >&6
14008if test $ac_cv_lib_sectok_sectok_open = yes; then 16061if test $ac_cv_lib_sectok_sectok_open = yes; then
14009 cat >>confdefs.h <<EOF 16062 cat >>confdefs.h <<_ACEOF
14010#define HAVE_LIBSECTOK 1 16063#define HAVE_LIBSECTOK 1
14011EOF 16064_ACEOF
14012 16065
14013 LIBS="-lsectok $LIBS" 16066 LIBS="-lsectok $LIBS"
14014 16067
14015fi 16068fi
14016 16069
14017 if test "$ac_cv_lib_sectok_sectok_open" != yes; then 16070 if test "$ac_cv_lib_sectok_sectok_open" != yes; then
14018 { { echo "$as_me:14018: error: Can't find libsectok" >&5 16071 { { echo "$as_me:$LINENO: error: Can't find libsectok" >&5
14019echo "$as_me: error: Can't find libsectok" >&2;} 16072echo "$as_me: error: Can't find libsectok" >&2;}
14020 { (exit 1); exit 1; }; } 16073 { (exit 1); exit 1; }; }
14021 fi 16074 fi
14022 cat >>confdefs.h <<\EOF 16075 cat >>confdefs.h <<\_ACEOF
14023#define SMARTCARD 1 16076#define SMARTCARD 1
14024EOF 16077_ACEOF
14025 16078
14026 cat >>confdefs.h <<\EOF 16079 cat >>confdefs.h <<\_ACEOF
14027#define USE_SECTOK 1 16080#define USE_SECTOK 1
14028EOF 16081_ACEOF
14029 16082
14030 SCARD_MSG="yes, using sectok" 16083 SCARD_MSG="yes, using sectok"
14031 fi 16084 fi
14032 16085
16086
14033fi; 16087fi;
14034 16088
14035# Check whether user wants OpenSC support 16089# Check whether user wants OpenSC support
@@ -14045,7 +16099,7 @@ if test x$opensc_config_prefix != x ; then
14045 OPENSC_CONFIG=$opensc_config_prefix/bin/opensc-config 16099 OPENSC_CONFIG=$opensc_config_prefix/bin/opensc-config
14046 # Extract the first word of "opensc-config", so it can be a program name with args. 16100 # Extract the first word of "opensc-config", so it can be a program name with args.
14047set dummy opensc-config; ac_word=$2 16101set dummy opensc-config; ac_word=$2
14048echo "$as_me:14048: checking for $ac_word" >&5 16102echo "$as_me:$LINENO: checking for $ac_word" >&5
14049echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 16103echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14050if test "${ac_cv_path_OPENSC_CONFIG+set}" = set; then 16104if test "${ac_cv_path_OPENSC_CONFIG+set}" = set; then
14051 echo $ECHO_N "(cached) $ECHO_C" >&6 16105 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -14055,16 +16109,18 @@ else
14055 ac_cv_path_OPENSC_CONFIG="$OPENSC_CONFIG" # Let the user override the test with a path. 16109 ac_cv_path_OPENSC_CONFIG="$OPENSC_CONFIG" # Let the user override the test with a path.
14056 ;; 16110 ;;
14057 *) 16111 *)
14058 ac_save_IFS=$IFS; IFS=$ac_path_separator 16112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14059ac_dummy="$PATH" 16113for as_dir in $PATH
14060for ac_dir in $ac_dummy; do 16114do
14061 IFS=$ac_save_IFS 16115 IFS=$as_save_IFS
14062 test -z "$ac_dir" && ac_dir=. 16116 test -z "$as_dir" && as_dir=.
14063 if $as_executable_p "$ac_dir/$ac_word"; then 16117 for ac_exec_ext in '' $ac_executable_extensions; do
14064 ac_cv_path_OPENSC_CONFIG="$ac_dir/$ac_word" 16118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14065 echo "$as_me:14065: found $ac_dir/$ac_word" >&5 16119 ac_cv_path_OPENSC_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14066 break 16120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14067fi 16121 break 2
16122 fi
16123done
14068done 16124done
14069 16125
14070 test -z "$ac_cv_path_OPENSC_CONFIG" && ac_cv_path_OPENSC_CONFIG="no" 16126 test -z "$ac_cv_path_OPENSC_CONFIG" && ac_cv_path_OPENSC_CONFIG="no"
@@ -14074,10 +16130,10 @@ fi
14074OPENSC_CONFIG=$ac_cv_path_OPENSC_CONFIG 16130OPENSC_CONFIG=$ac_cv_path_OPENSC_CONFIG
14075 16131
14076if test -n "$OPENSC_CONFIG"; then 16132if test -n "$OPENSC_CONFIG"; then
14077 echo "$as_me:14077: result: $OPENSC_CONFIG" >&5 16133 echo "$as_me:$LINENO: result: $OPENSC_CONFIG" >&5
14078echo "${ECHO_T}$OPENSC_CONFIG" >&6 16134echo "${ECHO_T}$OPENSC_CONFIG" >&6
14079else 16135else
14080 echo "$as_me:14080: result: no" >&5 16136 echo "$as_me:$LINENO: result: no" >&5
14081echo "${ECHO_T}no" >&6 16137echo "${ECHO_T}no" >&6
14082fi 16138fi
14083 16139
@@ -14086,81 +16142,108 @@ fi
14086 LIBOPENSC_LIBS=`$OPENSC_CONFIG --libs` 16142 LIBOPENSC_LIBS=`$OPENSC_CONFIG --libs`
14087 CPPFLAGS="$CPPFLAGS $LIBOPENSC_CFLAGS" 16143 CPPFLAGS="$CPPFLAGS $LIBOPENSC_CFLAGS"
14088 LDFLAGS="$LDFLAGS $LIBOPENSC_LIBS" 16144 LDFLAGS="$LDFLAGS $LIBOPENSC_LIBS"
14089 cat >>confdefs.h <<\EOF 16145 cat >>confdefs.h <<\_ACEOF
14090#define SMARTCARD 1 16146#define SMARTCARD 1
14091EOF 16147_ACEOF
14092 16148
14093 cat >>confdefs.h <<\EOF 16149 cat >>confdefs.h <<\_ACEOF
14094#define USE_OPENSC 1 16150#define USE_OPENSC 1
14095EOF 16151_ACEOF
14096 16152
14097 SCARD_MSG="yes, using OpenSC" 16153 SCARD_MSG="yes, using OpenSC"
14098 fi 16154 fi
14099fi 16155fi
14100 16156
14101# Check whether user wants DNS support 16157# Check whether user wants Kerberos 5 support
14102DNS_MSG="no" 16158KRB5_MSG="no"
14103 16159
14104# Check whether --with-dns or --without-dns was given. 16160# Check whether --with-kerberos5 or --without-kerberos5 was given.
14105if test "${with_dns+set}" = set; then 16161if test "${with_kerberos5+set}" = set; then
14106 withval="$with_dns" 16162 withval="$with_kerberos5"
14107 16163
14108 if test "x$withval" != "xno" ; then 16164 if test "x$withval" != "xno" ; then
14109 DNS_MSG="yes" 16165 if test "x$withval" = "xyes" ; then
14110 cat >>confdefs.h <<\EOF 16166 KRB5ROOT="/usr/local"
14111#define DNS 1 16167 else
14112EOF 16168 KRB5ROOT=${withval}
14113 16169 fi
14114 echo "$as_me:14114: checking for library containing getrrsetbyname" >&5 16170 CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include"
14115echo $ECHO_N "checking for library containing getrrsetbyname... $ECHO_C" >&6 16171 LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib"
14116if test "${ac_cv_search_getrrsetbyname+set}" = set; then 16172 cat >>confdefs.h <<\_ACEOF
14117 echo $ECHO_N "(cached) $ECHO_C" >&6 16173#define KRB5 1
14118else 16174_ACEOF
14119 ac_func_search_save_LIBS=$LIBS
14120ac_cv_search_getrrsetbyname=no
14121cat >conftest.$ac_ext <<_ACEOF
14122#line 14122 "configure"
14123#include "confdefs.h"
14124 16175
14125/* Override any gcc2 internal prototype to avoid an error. */ 16176 KRB5_MSG="yes"
14126#ifdef __cplusplus 16177 echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5
14127extern "C" 16178echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6
14128#endif 16179 cat >conftest.$ac_ext <<_ACEOF
14129/* We use char because int might match the return type of a gcc2 16180#line $LINENO "configure"
14130 builtin and then its argument prototype would still apply. */ 16181/* confdefs.h. */
14131char getrrsetbyname (); 16182_ACEOF
16183cat confdefs.h >>conftest.$ac_ext
16184cat >>conftest.$ac_ext <<_ACEOF
16185/* end confdefs.h. */
16186 #include <krb5.h>
14132int 16187int
14133main () 16188main ()
14134{ 16189{
14135getrrsetbyname (); 16190 char *tmp = heimdal_version;
14136 ; 16191 ;
14137 return 0; 16192 return 0;
14138} 16193}
14139_ACEOF 16194_ACEOF
14140rm -f conftest.$ac_objext conftest$ac_exeext 16195rm -f conftest.$ac_objext
14141if { (eval echo "$as_me:14141: \"$ac_link\"") >&5 16196if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14142 (eval $ac_link) 2>&5 16197 (eval $ac_compile) 2>&5
14143 ac_status=$? 16198 ac_status=$?
14144 echo "$as_me:14144: \$? = $ac_status" >&5 16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); } && 16200 (exit $ac_status); } &&
14146 { ac_try='test -s conftest$ac_exeext' 16201 { ac_try='test -s conftest.$ac_objext'
14147 { (eval echo "$as_me:14147: \"$ac_try\"") >&5 16202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14148 (eval $ac_try) 2>&5 16203 (eval $ac_try) 2>&5
14149 ac_status=$? 16204 ac_status=$?
14150 echo "$as_me:14150: \$? = $ac_status" >&5 16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); }; }; then 16206 (exit $ac_status); }; }; then
14152 ac_cv_search_getrrsetbyname="none required" 16207 echo "$as_me:$LINENO: result: yes" >&5
16208echo "${ECHO_T}yes" >&6
16209 cat >>confdefs.h <<\_ACEOF
16210#define HEIMDAL 1
16211_ACEOF
16212
16213 K5LIBS="-lkrb5 -ldes -lcom_err -lasn1 -lroken"
16214
14153else 16215else
14154 echo "$as_me: failed program was:" >&5 16216 echo "$as_me: failed program was:" >&5
14155cat conftest.$ac_ext >&5 16217sed 's/^/| /' conftest.$ac_ext >&5
16218
16219 echo "$as_me:$LINENO: result: no" >&5
16220echo "${ECHO_T}no" >&6
16221 K5LIBS="-lkrb5 -lk5crypto -lcom_err"
16222
16223
14156fi 16224fi
14157rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 16225rm -f conftest.$ac_objext conftest.$ac_ext
14158if test "$ac_cv_search_getrrsetbyname" = no; then 16226 if test ! -z "$need_dash_r" ; then
14159 for ac_lib in resolv; do 16227 LDFLAGS="$LDFLAGS -R${KRB5ROOT}/lib"
14160 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 16228 fi
14161 cat >conftest.$ac_ext <<_ACEOF 16229 if test ! -z "$blibpath" ; then
14162#line 14162 "configure" 16230 blibpath="$blibpath:${KRB5ROOT}/lib"
14163#include "confdefs.h" 16231 fi
16232
16233echo "$as_me:$LINENO: checking for dn_expand in -lresolv" >&5
16234echo $ECHO_N "checking for dn_expand in -lresolv... $ECHO_C" >&6
16235if test "${ac_cv_lib_resolv_dn_expand+set}" = set; then
16236 echo $ECHO_N "(cached) $ECHO_C" >&6
16237else
16238 ac_check_lib_save_LIBS=$LIBS
16239LIBS="-lresolv $LIBS"
16240cat >conftest.$ac_ext <<_ACEOF
16241#line $LINENO "configure"
16242/* confdefs.h. */
16243_ACEOF
16244cat confdefs.h >>conftest.$ac_ext
16245cat >>conftest.$ac_ext <<_ACEOF
16246/* end confdefs.h. */
14164 16247
14165/* Override any gcc2 internal prototype to avoid an error. */ 16248/* Override any gcc2 internal prototype to avoid an error. */
14166#ifdef __cplusplus 16249#ifdef __cplusplus
@@ -14168,484 +16251,364 @@ extern "C"
14168#endif 16251#endif
14169/* We use char because int might match the return type of a gcc2 16252/* We use char because int might match the return type of a gcc2
14170 builtin and then its argument prototype would still apply. */ 16253 builtin and then its argument prototype would still apply. */
14171char getrrsetbyname (); 16254char dn_expand ();
14172int 16255int
14173main () 16256main ()
14174{ 16257{
14175getrrsetbyname (); 16258dn_expand ();
14176 ; 16259 ;
14177 return 0; 16260 return 0;
14178} 16261}
14179_ACEOF 16262_ACEOF
14180rm -f conftest.$ac_objext conftest$ac_exeext 16263rm -f conftest.$ac_objext conftest$ac_exeext
14181if { (eval echo "$as_me:14181: \"$ac_link\"") >&5 16264if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14182 (eval $ac_link) 2>&5 16265 (eval $ac_link) 2>&5
14183 ac_status=$? 16266 ac_status=$?
14184 echo "$as_me:14184: \$? = $ac_status" >&5 16267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14185 (exit $ac_status); } && 16268 (exit $ac_status); } &&
14186 { ac_try='test -s conftest$ac_exeext' 16269 { ac_try='test -s conftest$ac_exeext'
14187 { (eval echo "$as_me:14187: \"$ac_try\"") >&5 16270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14188 (eval $ac_try) 2>&5 16271 (eval $ac_try) 2>&5
14189 ac_status=$? 16272 ac_status=$?
14190 echo "$as_me:14190: \$? = $ac_status" >&5 16273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191 (exit $ac_status); }; }; then 16274 (exit $ac_status); }; }; then
14192 ac_cv_search_getrrsetbyname="-l$ac_lib" 16275 ac_cv_lib_resolv_dn_expand=yes
14193break
14194else 16276else
14195 echo "$as_me: failed program was:" >&5 16277 echo "$as_me: failed program was:" >&5
14196cat conftest.$ac_ext >&5 16278sed 's/^/| /' conftest.$ac_ext >&5
16279
16280ac_cv_lib_resolv_dn_expand=no
14197fi 16281fi
14198rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 16282rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14199 done 16283LIBS=$ac_check_lib_save_LIBS
14200fi 16284fi
14201LIBS=$ac_func_search_save_LIBS 16285echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_dn_expand" >&5
16286echo "${ECHO_T}$ac_cv_lib_resolv_dn_expand" >&6
16287if test $ac_cv_lib_resolv_dn_expand = yes; then
16288 cat >>confdefs.h <<_ACEOF
16289#define HAVE_LIBRESOLV 1
16290_ACEOF
16291
16292 LIBS="-lresolv $LIBS"
16293
14202fi 16294fi
14203echo "$as_me:14203: result: $ac_cv_search_getrrsetbyname" >&5
14204echo "${ECHO_T}$ac_cv_search_getrrsetbyname" >&6
14205if test "$ac_cv_search_getrrsetbyname" != no; then
14206 test "$ac_cv_search_getrrsetbyname" = "none required" || LIBS="$ac_cv_search_getrrsetbyname $LIBS"
14207 cat >>confdefs.h <<\EOF
14208#define HAVE_GETRRSETBYNAME 1
14209EOF
14210 16295
14211else
14212 16296
14213 # Needed by our getrrsetbyname() 16297 KRB5=yes
14214 echo "$as_me:14214: checking for library containing res_query" >&5 16298 fi
14215echo $ECHO_N "checking for library containing res_query... $ECHO_C" >&6 16299
14216if test "${ac_cv_search_res_query+set}" = set; then 16300
16301fi;
16302# Check whether user wants Kerberos 4 support
16303KRB4_MSG="no"
16304
16305# Check whether --with-kerberos4 or --without-kerberos4 was given.
16306if test "${with_kerberos4+set}" = set; then
16307 withval="$with_kerberos4"
16308
16309 if test "x$withval" != "xno" ; then
16310 if test "x$withval" != "xyes" ; then
16311 CPPFLAGS="$CPPFLAGS -I${withval}/include"
16312 LDFLAGS="$LDFLAGS -L${withval}/lib"
16313 if test ! -z "$need_dash_r" ; then
16314 LDFLAGS="$LDFLAGS -R${withval}/lib"
16315 fi
16316 if test ! -z "$blibpath" ; then
16317 blibpath="$blibpath:${withval}/lib"
16318 fi
16319 else
16320 if test -d /usr/include/kerberosIV ; then
16321 CPPFLAGS="$CPPFLAGS -I/usr/include/kerberosIV"
16322 fi
16323 fi
16324
16325
16326for ac_header in krb.h
16327do
16328as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16329if eval "test \"\${$as_ac_Header+set}\" = set"; then
16330 echo "$as_me:$LINENO: checking for $ac_header" >&5
16331echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16332if eval "test \"\${$as_ac_Header+set}\" = set"; then
14217 echo $ECHO_N "(cached) $ECHO_C" >&6 16333 echo $ECHO_N "(cached) $ECHO_C" >&6
16334fi
16335echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16336echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14218else 16337else
14219 ac_func_search_save_LIBS=$LIBS 16338 # Is the header compilable?
14220ac_cv_search_res_query=no 16339echo "$as_me:$LINENO: checking $ac_header usability" >&5
16340echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14221cat >conftest.$ac_ext <<_ACEOF 16341cat >conftest.$ac_ext <<_ACEOF
14222#line 14222 "configure" 16342#line $LINENO "configure"
14223#include "confdefs.h" 16343/* confdefs.h. */
14224
14225/* Override any gcc2 internal prototype to avoid an error. */
14226#ifdef __cplusplus
14227extern "C"
14228#endif
14229/* We use char because int might match the return type of a gcc2
14230 builtin and then its argument prototype would still apply. */
14231char res_query ();
14232int
14233main ()
14234{
14235res_query ();
14236 ;
14237 return 0;
14238}
14239_ACEOF 16344_ACEOF
14240rm -f conftest.$ac_objext conftest$ac_exeext 16345cat confdefs.h >>conftest.$ac_ext
14241if { (eval echo "$as_me:14241: \"$ac_link\"") >&5 16346cat >>conftest.$ac_ext <<_ACEOF
14242 (eval $ac_link) 2>&5 16347/* end confdefs.h. */
16348$ac_includes_default
16349#include <$ac_header>
16350_ACEOF
16351rm -f conftest.$ac_objext
16352if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16353 (eval $ac_compile) 2>&5
14243 ac_status=$? 16354 ac_status=$?
14244 echo "$as_me:14244: \$? = $ac_status" >&5 16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14245 (exit $ac_status); } && 16356 (exit $ac_status); } &&
14246 { ac_try='test -s conftest$ac_exeext' 16357 { ac_try='test -s conftest.$ac_objext'
14247 { (eval echo "$as_me:14247: \"$ac_try\"") >&5 16358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14248 (eval $ac_try) 2>&5 16359 (eval $ac_try) 2>&5
14249 ac_status=$? 16360 ac_status=$?
14250 echo "$as_me:14250: \$? = $ac_status" >&5 16361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); }; }; then 16362 (exit $ac_status); }; }; then
14252 ac_cv_search_res_query="none required" 16363 ac_header_compiler=yes
14253else 16364else
14254 echo "$as_me: failed program was:" >&5 16365 echo "$as_me: failed program was:" >&5
14255cat conftest.$ac_ext >&5 16366sed 's/^/| /' conftest.$ac_ext >&5
16367
16368ac_header_compiler=no
14256fi 16369fi
14257rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 16370rm -f conftest.$ac_objext conftest.$ac_ext
14258if test "$ac_cv_search_res_query" = no; then 16371echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14259 for ac_lib in resolv; do 16372echo "${ECHO_T}$ac_header_compiler" >&6
14260 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14261 cat >conftest.$ac_ext <<_ACEOF
14262#line 14262 "configure"
14263#include "confdefs.h"
14264 16373
14265/* Override any gcc2 internal prototype to avoid an error. */ 16374# Is the header present?
14266#ifdef __cplusplus 16375echo "$as_me:$LINENO: checking $ac_header presence" >&5
14267extern "C" 16376echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14268#endif 16377cat >conftest.$ac_ext <<_ACEOF
14269/* We use char because int might match the return type of a gcc2 16378#line $LINENO "configure"
14270 builtin and then its argument prototype would still apply. */ 16379/* confdefs.h. */
14271char res_query ();
14272int
14273main ()
14274{
14275res_query ();
14276 ;
14277 return 0;
14278}
14279_ACEOF 16380_ACEOF
14280rm -f conftest.$ac_objext conftest$ac_exeext 16381cat confdefs.h >>conftest.$ac_ext
14281if { (eval echo "$as_me:14281: \"$ac_link\"") >&5 16382cat >>conftest.$ac_ext <<_ACEOF
14282 (eval $ac_link) 2>&5 16383/* end confdefs.h. */
14283 ac_status=$? 16384#include <$ac_header>
14284 echo "$as_me:14284: \$? = $ac_status" >&5 16385_ACEOF
14285 (exit $ac_status); } && 16386if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14286 { ac_try='test -s conftest$ac_exeext' 16387 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14287 { (eval echo "$as_me:14287: \"$ac_try\"") >&5
14288 (eval $ac_try) 2>&5
14289 ac_status=$? 16388 ac_status=$?
14290 echo "$as_me:14290: \$? = $ac_status" >&5 16389 grep -v '^ *+' conftest.er1 >conftest.err
14291 (exit $ac_status); }; }; then 16390 rm -f conftest.er1
14292 ac_cv_search_res_query="-l$ac_lib" 16391 cat conftest.err >&5
14293break 16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); } >/dev/null; then
16394 if test -s conftest.err; then
16395 ac_cpp_err=$ac_c_preproc_warn_flag
16396 else
16397 ac_cpp_err=
16398 fi
16399else
16400 ac_cpp_err=yes
16401fi
16402if test -z "$ac_cpp_err"; then
16403 ac_header_preproc=yes
14294else 16404else
14295 echo "$as_me: failed program was:" >&5 16405 echo "$as_me: failed program was:" >&5
14296cat conftest.$ac_ext >&5 16406sed 's/^/| /' conftest.$ac_ext >&5
16407
16408 ac_header_preproc=no
14297fi 16409fi
14298rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 16410rm -f conftest.err conftest.$ac_ext
14299 done 16411echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16412echo "${ECHO_T}$ac_header_preproc" >&6
16413
16414# So? What about this header?
16415case $ac_header_compiler:$ac_header_preproc in
16416 yes:no )
16417 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16418echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16419 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16420echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16421 (
16422 cat <<\_ASBOX
16423## ------------------------------------ ##
16424## Report this to bug-autoconf@gnu.org. ##
16425## ------------------------------------ ##
16426_ASBOX
16427 ) |
16428 sed "s/^/$as_me: WARNING: /" >&2
16429 ;;
16430 no:yes )
16431 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16432echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16433 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16434echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16436echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16437 (
16438 cat <<\_ASBOX
16439## ------------------------------------ ##
16440## Report this to bug-autoconf@gnu.org. ##
16441## ------------------------------------ ##
16442_ASBOX
16443 ) |
16444 sed "s/^/$as_me: WARNING: /" >&2
16445 ;;
16446esac
16447echo "$as_me:$LINENO: checking for $ac_header" >&5
16448echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16449if eval "test \"\${$as_ac_Header+set}\" = set"; then
16450 echo $ECHO_N "(cached) $ECHO_C" >&6
16451else
16452 eval "$as_ac_Header=$ac_header_preproc"
14300fi 16453fi
14301LIBS=$ac_func_search_save_LIBS 16454echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16455echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16456
14302fi 16457fi
14303echo "$as_me:14303: result: $ac_cv_search_res_query" >&5 16458if test `eval echo '${'$as_ac_Header'}'` = yes; then
14304echo "${ECHO_T}$ac_cv_search_res_query" >&6 16459 cat >>confdefs.h <<_ACEOF
14305if test "$ac_cv_search_res_query" != no; then 16460#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14306 test "$ac_cv_search_res_query" = "none required" || LIBS="$ac_cv_search_res_query $LIBS" 16461_ACEOF
14307 16462
14308fi 16463fi
14309 16464
14310 echo "$as_me:14310: checking for library containing dn_expand" >&5 16465done
14311echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6 16466
14312if test "${ac_cv_search_dn_expand+set}" = set; then 16467 if test "$ac_cv_header_krb_h" != yes; then
16468 { echo "$as_me:$LINENO: WARNING: Cannot find krb.h, build may fail" >&5
16469echo "$as_me: WARNING: Cannot find krb.h, build may fail" >&2;}
16470 fi
16471
16472echo "$as_me:$LINENO: checking for main in -lkrb" >&5
16473echo $ECHO_N "checking for main in -lkrb... $ECHO_C" >&6
16474if test "${ac_cv_lib_krb_main+set}" = set; then
14313 echo $ECHO_N "(cached) $ECHO_C" >&6 16475 echo $ECHO_N "(cached) $ECHO_C" >&6
14314else 16476else
14315 ac_func_search_save_LIBS=$LIBS 16477 ac_check_lib_save_LIBS=$LIBS
14316ac_cv_search_dn_expand=no 16478LIBS="-lkrb $LIBS"
14317cat >conftest.$ac_ext <<_ACEOF 16479cat >conftest.$ac_ext <<_ACEOF
14318#line 14318 "configure" 16480#line $LINENO "configure"
14319#include "confdefs.h" 16481/* confdefs.h. */
14320
14321/* Override any gcc2 internal prototype to avoid an error. */
14322#ifdef __cplusplus
14323extern "C"
14324#endif
14325/* We use char because int might match the return type of a gcc2
14326 builtin and then its argument prototype would still apply. */
14327char dn_expand ();
14328int
14329main ()
14330{
14331dn_expand ();
14332 ;
14333 return 0;
14334}
14335_ACEOF 16482_ACEOF
14336rm -f conftest.$ac_objext conftest$ac_exeext 16483cat confdefs.h >>conftest.$ac_ext
14337if { (eval echo "$as_me:14337: \"$ac_link\"") >&5 16484cat >>conftest.$ac_ext <<_ACEOF
14338 (eval $ac_link) 2>&5 16485/* end confdefs.h. */
14339 ac_status=$? 16486
14340 echo "$as_me:14340: \$? = $ac_status" >&5
14341 (exit $ac_status); } &&
14342 { ac_try='test -s conftest$ac_exeext'
14343 { (eval echo "$as_me:14343: \"$ac_try\"") >&5
14344 (eval $ac_try) 2>&5
14345 ac_status=$?
14346 echo "$as_me:14346: \$? = $ac_status" >&5
14347 (exit $ac_status); }; }; then
14348 ac_cv_search_dn_expand="none required"
14349else
14350 echo "$as_me: failed program was:" >&5
14351cat conftest.$ac_ext >&5
14352fi
14353rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14354if test "$ac_cv_search_dn_expand" = no; then
14355 for ac_lib in resolv; do
14356 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14357 cat >conftest.$ac_ext <<_ACEOF
14358#line 14358 "configure"
14359#include "confdefs.h"
14360 16487
14361/* Override any gcc2 internal prototype to avoid an error. */
14362#ifdef __cplusplus
14363extern "C"
14364#endif
14365/* We use char because int might match the return type of a gcc2
14366 builtin and then its argument prototype would still apply. */
14367char dn_expand ();
14368int 16488int
14369main () 16489main ()
14370{ 16490{
14371dn_expand (); 16491main ();
14372 ; 16492 ;
14373 return 0; 16493 return 0;
14374} 16494}
14375_ACEOF 16495_ACEOF
14376rm -f conftest.$ac_objext conftest$ac_exeext 16496rm -f conftest.$ac_objext conftest$ac_exeext
14377if { (eval echo "$as_me:14377: \"$ac_link\"") >&5 16497if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14378 (eval $ac_link) 2>&5 16498 (eval $ac_link) 2>&5
14379 ac_status=$? 16499 ac_status=$?
14380 echo "$as_me:14380: \$? = $ac_status" >&5 16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14381 (exit $ac_status); } && 16501 (exit $ac_status); } &&
14382 { ac_try='test -s conftest$ac_exeext' 16502 { ac_try='test -s conftest$ac_exeext'
14383 { (eval echo "$as_me:14383: \"$ac_try\"") >&5 16503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14384 (eval $ac_try) 2>&5 16504 (eval $ac_try) 2>&5
14385 ac_status=$? 16505 ac_status=$?
14386 echo "$as_me:14386: \$? = $ac_status" >&5 16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); }; }; then 16507 (exit $ac_status); }; }; then
14388 ac_cv_search_dn_expand="-l$ac_lib" 16508 ac_cv_lib_krb_main=yes
14389break
14390else 16509else
14391 echo "$as_me: failed program was:" >&5 16510 echo "$as_me: failed program was:" >&5
14392cat conftest.$ac_ext >&5 16511sed 's/^/| /' conftest.$ac_ext >&5
16512
16513ac_cv_lib_krb_main=no
14393fi 16514fi
14394rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 16515rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14395 done 16516LIBS=$ac_check_lib_save_LIBS
14396fi
14397LIBS=$ac_func_search_save_LIBS
14398fi 16517fi
14399echo "$as_me:14399: result: $ac_cv_search_dn_expand" >&5 16518echo "$as_me:$LINENO: result: $ac_cv_lib_krb_main" >&5
14400echo "${ECHO_T}$ac_cv_search_dn_expand" >&6 16519echo "${ECHO_T}$ac_cv_lib_krb_main" >&6
14401if test "$ac_cv_search_dn_expand" != no; then 16520if test $ac_cv_lib_krb_main = yes; then
14402 test "$ac_cv_search_dn_expand" = "none required" || LIBS="$ac_cv_search_dn_expand $LIBS" 16521 cat >>confdefs.h <<_ACEOF
16522#define HAVE_LIBKRB 1
16523_ACEOF
16524
16525 LIBS="-lkrb $LIBS"
14403 16526
14404fi 16527fi
14405 16528
14406for ac_func in _getshort _getlong 16529 if test "$ac_cv_lib_krb_main" != yes; then
14407do 16530
14408as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 16531echo "$as_me:$LINENO: checking for main in -lkrb4" >&5
14409echo "$as_me:14409: checking for $ac_func" >&5 16532echo $ECHO_N "checking for main in -lkrb4... $ECHO_C" >&6
14410echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 16533if test "${ac_cv_lib_krb4_main+set}" = set; then
14411if eval "test \"\${$as_ac_var+set}\" = set"; then
14412 echo $ECHO_N "(cached) $ECHO_C" >&6 16534 echo $ECHO_N "(cached) $ECHO_C" >&6
14413else 16535else
14414 cat >conftest.$ac_ext <<_ACEOF 16536 ac_check_lib_save_LIBS=$LIBS
14415#line 14415 "configure" 16537LIBS="-lkrb4 $LIBS"
14416#include "confdefs.h" 16538cat >conftest.$ac_ext <<_ACEOF
14417/* System header to define __stub macros and hopefully few prototypes, 16539#line $LINENO "configure"
14418 which can conflict with char $ac_func (); below. */ 16540/* confdefs.h. */
14419#include <assert.h> 16541_ACEOF
14420/* Override any gcc2 internal prototype to avoid an error. */ 16542cat confdefs.h >>conftest.$ac_ext
14421#ifdef __cplusplus 16543cat >>conftest.$ac_ext <<_ACEOF
14422extern "C" 16544/* end confdefs.h. */
14423#endif 16545
14424/* We use char because int might match the return type of a gcc2
14425 builtin and then its argument prototype would still apply. */
14426char $ac_func ();
14427char (*f) ();
14428 16546
14429int 16547int
14430main () 16548main ()
14431{ 16549{
14432/* The GNU C library defines this for functions which it implements 16550main ();
14433 to always fail with ENOSYS. Some functions are actually named
14434 something starting with __ and the normal name is an alias. */
14435#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14436choke me
14437#else
14438f = $ac_func;
14439#endif
14440
14441 ; 16551 ;
14442 return 0; 16552 return 0;
14443} 16553}
14444_ACEOF 16554_ACEOF
14445rm -f conftest.$ac_objext conftest$ac_exeext 16555rm -f conftest.$ac_objext conftest$ac_exeext
14446if { (eval echo "$as_me:14446: \"$ac_link\"") >&5 16556if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14447 (eval $ac_link) 2>&5 16557 (eval $ac_link) 2>&5
14448 ac_status=$? 16558 ac_status=$?
14449 echo "$as_me:14449: \$? = $ac_status" >&5 16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450 (exit $ac_status); } && 16560 (exit $ac_status); } &&
14451 { ac_try='test -s conftest$ac_exeext' 16561 { ac_try='test -s conftest$ac_exeext'
14452 { (eval echo "$as_me:14452: \"$ac_try\"") >&5 16562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14453 (eval $ac_try) 2>&5 16563 (eval $ac_try) 2>&5
14454 ac_status=$? 16564 ac_status=$?
14455 echo "$as_me:14455: \$? = $ac_status" >&5 16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14456 (exit $ac_status); }; }; then 16566 (exit $ac_status); }; }; then
14457 eval "$as_ac_var=yes" 16567 ac_cv_lib_krb4_main=yes
14458else 16568else
14459 echo "$as_me: failed program was:" >&5 16569 echo "$as_me: failed program was:" >&5
14460cat conftest.$ac_ext >&5 16570sed 's/^/| /' conftest.$ac_ext >&5
14461eval "$as_ac_var=no" 16571
16572ac_cv_lib_krb4_main=no
14462fi 16573fi
14463rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 16574rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16575LIBS=$ac_check_lib_save_LIBS
14464fi 16576fi
14465echo "$as_me:14465: result: `eval echo '${'$as_ac_var'}'`" >&5 16577echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_main" >&5
14466echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 16578echo "${ECHO_T}$ac_cv_lib_krb4_main" >&6
14467if test `eval echo '${'$as_ac_var'}'` = yes; then 16579if test $ac_cv_lib_krb4_main = yes; then
14468 cat >>confdefs.h <<EOF 16580 cat >>confdefs.h <<_ACEOF
14469#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 16581#define HAVE_LIBKRB4 1
14470EOF
14471
14472fi
14473done
14474
14475 echo "$as_me:14475: checking for HEADER.ad" >&5
14476echo $ECHO_N "checking for HEADER.ad... $ECHO_C" >&6
14477if test "${ac_cv_member_HEADER_ad+set}" = set; then
14478 echo $ECHO_N "(cached) $ECHO_C" >&6
14479else
14480 cat >conftest.$ac_ext <<_ACEOF
14481#line 14481 "configure"
14482#include "confdefs.h"
14483#include <arpa/nameser.h>
14484
14485int
14486main ()
14487{
14488static HEADER ac_aggr;
14489if (ac_aggr.ad)
14490return 0;
14491 ;
14492 return 0;
14493}
14494_ACEOF 16582_ACEOF
14495rm -f conftest.$ac_objext
14496if { (eval echo "$as_me:14496: \"$ac_compile\"") >&5
14497 (eval $ac_compile) 2>&5
14498 ac_status=$?
14499 echo "$as_me:14499: \$? = $ac_status" >&5
14500 (exit $ac_status); } &&
14501 { ac_try='test -s conftest.$ac_objext'
14502 { (eval echo "$as_me:14502: \"$ac_try\"") >&5
14503 (eval $ac_try) 2>&5
14504 ac_status=$?
14505 echo "$as_me:14505: \$? = $ac_status" >&5
14506 (exit $ac_status); }; }; then
14507 ac_cv_member_HEADER_ad=yes
14508else
14509 echo "$as_me: failed program was:" >&5
14510cat conftest.$ac_ext >&5
14511ac_cv_member_HEADER_ad=no
14512fi
14513rm -f conftest.$ac_objext conftest.$ac_ext
14514fi
14515echo "$as_me:14515: result: $ac_cv_member_HEADER_ad" >&5
14516echo "${ECHO_T}$ac_cv_member_HEADER_ad" >&6
14517if test $ac_cv_member_HEADER_ad = yes; then
14518 cat >>confdefs.h <<\EOF
14519#define HAVE_HEADER_AD 1
14520EOF
14521 16583
14522fi 16584 LIBS="-lkrb4 $LIBS"
14523 16585
14524fi 16586fi
14525 16587
14526 fi 16588 if test "$ac_cv_lib_krb4_main" != yes; then
14527 16589 { echo "$as_me:$LINENO: WARNING: Cannot find libkrb nor libkrb4, build may fail" >&5
14528fi; 16590echo "$as_me: WARNING: Cannot find libkrb nor libkrb4, build may fail" >&2;}
14529 16591 else
14530# Check whether user wants Kerberos 5 support 16592 KLIBS="-lkrb4"
14531KRB5_MSG="no" 16593 fi
14532 16594 else
14533# Check whether --with-kerberos5 or --without-kerberos5 was given. 16595 KLIBS="-lkrb"
14534if test "${with_kerberos5+set}" = set; then 16596 fi
14535 withval="$with_kerberos5"
14536
14537 if test "x$withval" != "xno" ; then
14538 if test "x$withval" = "xyes" ; then
14539 KRB5ROOT="/usr/local"
14540 else
14541 KRB5ROOT=${withval}
14542 fi
14543 CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include"
14544 LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib"
14545 cat >>confdefs.h <<\EOF
14546#define KRB5 1
14547EOF
14548
14549 KRB5_MSG="yes"
14550 echo "$as_me:14550: checking whether we are using Heimdal" >&5
14551echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6
14552 cat >conftest.$ac_ext <<_ACEOF
14553#line 14553 "configure"
14554#include "confdefs.h"
14555 #include <krb5.h>
14556int
14557main ()
14558{
14559 char *tmp = heimdal_version;
14560 ;
14561 return 0;
14562}
14563_ACEOF
14564rm -f conftest.$ac_objext
14565if { (eval echo "$as_me:14565: \"$ac_compile\"") >&5
14566 (eval $ac_compile) 2>&5
14567 ac_status=$?
14568 echo "$as_me:14568: \$? = $ac_status" >&5
14569 (exit $ac_status); } &&
14570 { ac_try='test -s conftest.$ac_objext'
14571 { (eval echo "$as_me:14571: \"$ac_try\"") >&5
14572 (eval $ac_try) 2>&5
14573 ac_status=$?
14574 echo "$as_me:14574: \$? = $ac_status" >&5
14575 (exit $ac_status); }; }; then
14576 echo "$as_me:14576: result: yes" >&5
14577echo "${ECHO_T}yes" >&6
14578 cat >>confdefs.h <<\EOF
14579#define HEIMDAL 1
14580EOF
14581
14582 K5LIBS="-lkrb5 -ldes -lcom_err -lasn1 -lroken"
14583
14584else
14585 echo "$as_me: failed program was:" >&5
14586cat conftest.$ac_ext >&5
14587 echo "$as_me:14587: result: no" >&5
14588echo "${ECHO_T}no" >&6
14589 K5LIBS="-lkrb5 -lk5crypto -lcom_err"
14590 16597
14591fi 16598echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5
14592rm -f conftest.$ac_objext conftest.$ac_ext 16599echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
14593 if test ! -z "$need_dash_r" ; then 16600if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
14594 LDFLAGS="$LDFLAGS -R${KRB5ROOT}/lib"
14595 fi
14596 if test ! -z "$blibpath" ; then
14597 blibpath="$blibpath:${KRB5ROOT}/lib"
14598 fi
14599 echo "$as_me:14599: checking for library containing dn_expand" >&5
14600echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6
14601if test "${ac_cv_search_dn_expand+set}" = set; then
14602 echo $ECHO_N "(cached) $ECHO_C" >&6 16601 echo $ECHO_N "(cached) $ECHO_C" >&6
14603else 16602else
14604 ac_func_search_save_LIBS=$LIBS 16603 ac_check_lib_save_LIBS=$LIBS
14605ac_cv_search_dn_expand=no 16604LIBS="-ldes $LIBS"
14606cat >conftest.$ac_ext <<_ACEOF 16605cat >conftest.$ac_ext <<_ACEOF
14607#line 14607 "configure" 16606#line $LINENO "configure"
14608#include "confdefs.h" 16607/* confdefs.h. */
14609
14610/* Override any gcc2 internal prototype to avoid an error. */
14611#ifdef __cplusplus
14612extern "C"
14613#endif
14614/* We use char because int might match the return type of a gcc2
14615 builtin and then its argument prototype would still apply. */
14616char dn_expand ();
14617int
14618main ()
14619{
14620dn_expand ();
14621 ;
14622 return 0;
14623}
14624_ACEOF 16608_ACEOF
14625rm -f conftest.$ac_objext conftest$ac_exeext 16609cat confdefs.h >>conftest.$ac_ext
14626if { (eval echo "$as_me:14626: \"$ac_link\"") >&5 16610cat >>conftest.$ac_ext <<_ACEOF
14627 (eval $ac_link) 2>&5 16611/* end confdefs.h. */
14628 ac_status=$?
14629 echo "$as_me:14629: \$? = $ac_status" >&5
14630 (exit $ac_status); } &&
14631 { ac_try='test -s conftest$ac_exeext'
14632 { (eval echo "$as_me:14632: \"$ac_try\"") >&5
14633 (eval $ac_try) 2>&5
14634 ac_status=$?
14635 echo "$as_me:14635: \$? = $ac_status" >&5
14636 (exit $ac_status); }; }; then
14637 ac_cv_search_dn_expand="none required"
14638else
14639 echo "$as_me: failed program was:" >&5
14640cat conftest.$ac_ext >&5
14641fi
14642rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14643if test "$ac_cv_search_dn_expand" = no; then
14644 for ac_lib in resolv; do
14645 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14646 cat >conftest.$ac_ext <<_ACEOF
14647#line 14647 "configure"
14648#include "confdefs.h"
14649 16612
14650/* Override any gcc2 internal prototype to avoid an error. */ 16613/* Override any gcc2 internal prototype to avoid an error. */
14651#ifdef __cplusplus 16614#ifdef __cplusplus
@@ -14653,55 +16616,64 @@ extern "C"
14653#endif 16616#endif
14654/* We use char because int might match the return type of a gcc2 16617/* We use char because int might match the return type of a gcc2
14655 builtin and then its argument prototype would still apply. */ 16618 builtin and then its argument prototype would still apply. */
14656char dn_expand (); 16619char des_cbc_encrypt ();
14657int 16620int
14658main () 16621main ()
14659{ 16622{
14660dn_expand (); 16623des_cbc_encrypt ();
14661 ; 16624 ;
14662 return 0; 16625 return 0;
14663} 16626}
14664_ACEOF 16627_ACEOF
14665rm -f conftest.$ac_objext conftest$ac_exeext 16628rm -f conftest.$ac_objext conftest$ac_exeext
14666if { (eval echo "$as_me:14666: \"$ac_link\"") >&5 16629if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14667 (eval $ac_link) 2>&5 16630 (eval $ac_link) 2>&5
14668 ac_status=$? 16631 ac_status=$?
14669 echo "$as_me:14669: \$? = $ac_status" >&5 16632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670 (exit $ac_status); } && 16633 (exit $ac_status); } &&
14671 { ac_try='test -s conftest$ac_exeext' 16634 { ac_try='test -s conftest$ac_exeext'
14672 { (eval echo "$as_me:14672: \"$ac_try\"") >&5 16635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14673 (eval $ac_try) 2>&5 16636 (eval $ac_try) 2>&5
14674 ac_status=$? 16637 ac_status=$?
14675 echo "$as_me:14675: \$? = $ac_status" >&5 16638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14676 (exit $ac_status); }; }; then 16639 (exit $ac_status); }; }; then
14677 ac_cv_search_dn_expand="-l$ac_lib" 16640 ac_cv_lib_des_des_cbc_encrypt=yes
14678break
14679else 16641else
14680 echo "$as_me: failed program was:" >&5 16642 echo "$as_me: failed program was:" >&5
14681cat conftest.$ac_ext >&5 16643sed 's/^/| /' conftest.$ac_ext >&5
16644
16645ac_cv_lib_des_des_cbc_encrypt=no
14682fi 16646fi
14683rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 16647rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14684 done 16648LIBS=$ac_check_lib_save_LIBS
14685fi
14686LIBS=$ac_func_search_save_LIBS
14687fi 16649fi
14688echo "$as_me:14688: result: $ac_cv_search_dn_expand" >&5 16650echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
14689echo "${ECHO_T}$ac_cv_search_dn_expand" >&6 16651echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
14690if test "$ac_cv_search_dn_expand" != no; then 16652if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
14691 test "$ac_cv_search_dn_expand" = "none required" || LIBS="$ac_cv_search_dn_expand $LIBS" 16653 cat >>confdefs.h <<_ACEOF
16654#define HAVE_LIBDES 1
16655_ACEOF
16656
16657 LIBS="-ldes $LIBS"
14692 16658
14693fi 16659fi
14694 16660
14695 echo "$as_me:14695: checking for gss_init_sec_context in -lgssapi" >&5 16661 if test "$ac_cv_lib_des_des_cbc_encrypt" != yes; then
14696echo $ECHO_N "checking for gss_init_sec_context in -lgssapi... $ECHO_C" >&6 16662
14697if test "${ac_cv_lib_gssapi_gss_init_sec_context+set}" = set; then 16663echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
16664echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
16665if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
14698 echo $ECHO_N "(cached) $ECHO_C" >&6 16666 echo $ECHO_N "(cached) $ECHO_C" >&6
14699else 16667else
14700 ac_check_lib_save_LIBS=$LIBS 16668 ac_check_lib_save_LIBS=$LIBS
14701LIBS="-lgssapi $K5LIBS $LIBS" 16669LIBS="-ldes425 $LIBS"
14702cat >conftest.$ac_ext <<_ACEOF 16670cat >conftest.$ac_ext <<_ACEOF
14703#line 14703 "configure" 16671#line $LINENO "configure"
14704#include "confdefs.h" 16672/* confdefs.h. */
16673_ACEOF
16674cat confdefs.h >>conftest.$ac_ext
16675cat >>conftest.$ac_ext <<_ACEOF
16676/* end confdefs.h. */
14705 16677
14706/* Override any gcc2 internal prototype to avoid an error. */ 16678/* Override any gcc2 internal prototype to avoid an error. */
14707#ifdef __cplusplus 16679#ifdef __cplusplus
@@ -14709,55 +16681,72 @@ extern "C"
14709#endif 16681#endif
14710/* We use char because int might match the return type of a gcc2 16682/* We use char because int might match the return type of a gcc2
14711 builtin and then its argument prototype would still apply. */ 16683 builtin and then its argument prototype would still apply. */
14712char gss_init_sec_context (); 16684char des_cbc_encrypt ();
14713int 16685int
14714main () 16686main ()
14715{ 16687{
14716gss_init_sec_context (); 16688des_cbc_encrypt ();
14717 ; 16689 ;
14718 return 0; 16690 return 0;
14719} 16691}
14720_ACEOF 16692_ACEOF
14721rm -f conftest.$ac_objext conftest$ac_exeext 16693rm -f conftest.$ac_objext conftest$ac_exeext
14722if { (eval echo "$as_me:14722: \"$ac_link\"") >&5 16694if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14723 (eval $ac_link) 2>&5 16695 (eval $ac_link) 2>&5
14724 ac_status=$? 16696 ac_status=$?
14725 echo "$as_me:14725: \$? = $ac_status" >&5 16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726 (exit $ac_status); } && 16698 (exit $ac_status); } &&
14727 { ac_try='test -s conftest$ac_exeext' 16699 { ac_try='test -s conftest$ac_exeext'
14728 { (eval echo "$as_me:14728: \"$ac_try\"") >&5 16700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14729 (eval $ac_try) 2>&5 16701 (eval $ac_try) 2>&5
14730 ac_status=$? 16702 ac_status=$?
14731 echo "$as_me:14731: \$? = $ac_status" >&5 16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14732 (exit $ac_status); }; }; then 16704 (exit $ac_status); }; }; then
14733 ac_cv_lib_gssapi_gss_init_sec_context=yes 16705 ac_cv_lib_des425_des_cbc_encrypt=yes
14734else 16706else
14735 echo "$as_me: failed program was:" >&5 16707 echo "$as_me: failed program was:" >&5
14736cat conftest.$ac_ext >&5 16708sed 's/^/| /' conftest.$ac_ext >&5
14737ac_cv_lib_gssapi_gss_init_sec_context=no 16709
16710ac_cv_lib_des425_des_cbc_encrypt=no
14738fi 16711fi
14739rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 16712rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14740LIBS=$ac_check_lib_save_LIBS 16713LIBS=$ac_check_lib_save_LIBS
14741fi 16714fi
14742echo "$as_me:14742: result: $ac_cv_lib_gssapi_gss_init_sec_context" >&5 16715echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
14743echo "${ECHO_T}$ac_cv_lib_gssapi_gss_init_sec_context" >&6 16716echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
14744if test $ac_cv_lib_gssapi_gss_init_sec_context = yes; then 16717if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
14745 cat >>confdefs.h <<\EOF 16718 cat >>confdefs.h <<_ACEOF
14746#define GSSAPI 1 16719#define HAVE_LIBDES425 1
14747EOF 16720_ACEOF
14748 16721
14749 K5LIBS="-lgssapi $K5LIBS" 16722 LIBS="-ldes425 $LIBS"
14750else 16723
14751 echo "$as_me:14751: checking for gss_init_sec_context in -lgssapi_krb5" >&5 16724fi
14752echo $ECHO_N "checking for gss_init_sec_context in -lgssapi_krb5... $ECHO_C" >&6 16725
14753if test "${ac_cv_lib_gssapi_krb5_gss_init_sec_context+set}" = set; then 16726 if test "$ac_cv_lib_des425_des_cbc_encrypt" != yes; then
16727 { echo "$as_me:$LINENO: WARNING: Cannot find libdes nor libdes425, build may fail" >&5
16728echo "$as_me: WARNING: Cannot find libdes nor libdes425, build may fail" >&2;}
16729 else
16730 KLIBS="-ldes425"
16731 fi
16732 else
16733 KLIBS="-ldes"
16734 fi
16735
16736echo "$as_me:$LINENO: checking for dn_expand in -lresolv" >&5
16737echo $ECHO_N "checking for dn_expand in -lresolv... $ECHO_C" >&6
16738if test "${ac_cv_lib_resolv_dn_expand+set}" = set; then
14754 echo $ECHO_N "(cached) $ECHO_C" >&6 16739 echo $ECHO_N "(cached) $ECHO_C" >&6
14755else 16740else
14756 ac_check_lib_save_LIBS=$LIBS 16741 ac_check_lib_save_LIBS=$LIBS
14757LIBS="-lgssapi_krb5 $K5LIBS $LIBS" 16742LIBS="-lresolv $LIBS"
14758cat >conftest.$ac_ext <<_ACEOF 16743cat >conftest.$ac_ext <<_ACEOF
14759#line 14759 "configure" 16744#line $LINENO "configure"
14760#include "confdefs.h" 16745/* confdefs.h. */
16746_ACEOF
16747cat confdefs.h >>conftest.$ac_ext
16748cat >>conftest.$ac_ext <<_ACEOF
16749/* end confdefs.h. */
14761 16750
14762/* Override any gcc2 internal prototype to avoid an error. */ 16751/* Override any gcc2 internal prototype to avoid an error. */
14763#ifdef __cplusplus 16752#ifdef __cplusplus
@@ -14765,198 +16754,92 @@ extern "C"
14765#endif 16754#endif
14766/* We use char because int might match the return type of a gcc2 16755/* We use char because int might match the return type of a gcc2
14767 builtin and then its argument prototype would still apply. */ 16756 builtin and then its argument prototype would still apply. */
14768char gss_init_sec_context (); 16757char dn_expand ();
14769int 16758int
14770main () 16759main ()
14771{ 16760{
14772gss_init_sec_context (); 16761dn_expand ();
14773 ; 16762 ;
14774 return 0; 16763 return 0;
14775} 16764}
14776_ACEOF 16765_ACEOF
14777rm -f conftest.$ac_objext conftest$ac_exeext 16766rm -f conftest.$ac_objext conftest$ac_exeext
14778if { (eval echo "$as_me:14778: \"$ac_link\"") >&5 16767if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14779 (eval $ac_link) 2>&5 16768 (eval $ac_link) 2>&5
14780 ac_status=$? 16769 ac_status=$?
14781 echo "$as_me:14781: \$? = $ac_status" >&5 16770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14782 (exit $ac_status); } && 16771 (exit $ac_status); } &&
14783 { ac_try='test -s conftest$ac_exeext' 16772 { ac_try='test -s conftest$ac_exeext'
14784 { (eval echo "$as_me:14784: \"$ac_try\"") >&5 16773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14785 (eval $ac_try) 2>&5 16774 (eval $ac_try) 2>&5
14786 ac_status=$? 16775 ac_status=$?
14787 echo "$as_me:14787: \$? = $ac_status" >&5 16776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14788 (exit $ac_status); }; }; then 16777 (exit $ac_status); }; }; then
14789 ac_cv_lib_gssapi_krb5_gss_init_sec_context=yes 16778 ac_cv_lib_resolv_dn_expand=yes
14790else 16779else
14791 echo "$as_me: failed program was:" >&5 16780 echo "$as_me: failed program was:" >&5
14792cat conftest.$ac_ext >&5 16781sed 's/^/| /' conftest.$ac_ext >&5
14793ac_cv_lib_gssapi_krb5_gss_init_sec_context=no 16782
16783ac_cv_lib_resolv_dn_expand=no
14794fi 16784fi
14795rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 16785rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14796LIBS=$ac_check_lib_save_LIBS 16786LIBS=$ac_check_lib_save_LIBS
14797fi 16787fi
14798echo "$as_me:14798: result: $ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&5 16788echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_dn_expand" >&5
14799echo "${ECHO_T}$ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&6 16789echo "${ECHO_T}$ac_cv_lib_resolv_dn_expand" >&6
14800if test $ac_cv_lib_gssapi_krb5_gss_init_sec_context = yes; then 16790if test $ac_cv_lib_resolv_dn_expand = yes; then
14801 cat >>confdefs.h <<\EOF 16791 cat >>confdefs.h <<_ACEOF
14802#define GSSAPI 1 16792#define HAVE_LIBRESOLV 1
14803EOF 16793_ACEOF
14804 16794
14805 K5LIBS="-lgssapi_krb5 $K5LIBS" 16795 LIBS="-lresolv $LIBS"
14806else
14807 { echo "$as_me:14807: WARNING: Cannot find any suitable gss-api library - build may fail" >&5
14808echo "$as_me: WARNING: Cannot find any suitable gss-api library - build may fail" >&2;}
14809fi
14810 16796
14811fi 16797fi
14812 16798
14813 echo "$as_me:14813: checking for gssapi.h" >&5 16799 KRB4=yes
14814echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6 16800 KRB4_MSG="yes"
14815if test "${ac_cv_header_gssapi_h+set}" = set; then 16801 cat >>confdefs.h <<\_ACEOF
14816 echo $ECHO_N "(cached) $ECHO_C" >&6 16802#define KRB4 1
14817else
14818 cat >conftest.$ac_ext <<_ACEOF
14819#line 14819 "configure"
14820#include "confdefs.h"
14821#include <gssapi.h>
14822_ACEOF 16803_ACEOF
14823if { (eval echo "$as_me:14823: \"$ac_cpp conftest.$ac_ext\"") >&5
14824 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14825 ac_status=$?
14826 egrep -v '^ *\+' conftest.er1 >conftest.err
14827 rm -f conftest.er1
14828 cat conftest.err >&5
14829 echo "$as_me:14829: \$? = $ac_status" >&5
14830 (exit $ac_status); } >/dev/null; then
14831 if test -s conftest.err; then
14832 ac_cpp_err=$ac_c_preproc_warn_flag
14833 else
14834 ac_cpp_err=
14835 fi
14836else
14837 ac_cpp_err=yes
14838fi
14839if test -z "$ac_cpp_err"; then
14840 ac_cv_header_gssapi_h=yes
14841else
14842 echo "$as_me: failed program was:" >&5
14843 cat conftest.$ac_ext >&5
14844 ac_cv_header_gssapi_h=no
14845fi
14846rm -f conftest.err conftest.$ac_ext
14847fi
14848echo "$as_me:14848: result: $ac_cv_header_gssapi_h" >&5
14849echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6
14850if test $ac_cv_header_gssapi_h = yes; then
14851 :
14852else
14853 unset ac_cv_header_gssapi_h
14854 CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include/gssapi"
14855 16804
14856for ac_header in gssapi.h 16805 fi
14857do
14858as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14859echo "$as_me:14859: checking for $ac_header" >&5
14860echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14861if eval "test \"\${$as_ac_Header+set}\" = set"; then
14862 echo $ECHO_N "(cached) $ECHO_C" >&6
14863else
14864 cat >conftest.$ac_ext <<_ACEOF
14865#line 14865 "configure"
14866#include "confdefs.h"
14867#include <$ac_header>
14868_ACEOF
14869if { (eval echo "$as_me:14869: \"$ac_cpp conftest.$ac_ext\"") >&5
14870 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14871 ac_status=$?
14872 egrep -v '^ *\+' conftest.er1 >conftest.err
14873 rm -f conftest.er1
14874 cat conftest.err >&5
14875 echo "$as_me:14875: \$? = $ac_status" >&5
14876 (exit $ac_status); } >/dev/null; then
14877 if test -s conftest.err; then
14878 ac_cpp_err=$ac_c_preproc_warn_flag
14879 else
14880 ac_cpp_err=
14881 fi
14882else
14883 ac_cpp_err=yes
14884fi
14885if test -z "$ac_cpp_err"; then
14886 eval "$as_ac_Header=yes"
14887else
14888 echo "$as_me: failed program was:" >&5
14889 cat conftest.$ac_ext >&5
14890 eval "$as_ac_Header=no"
14891fi
14892rm -f conftest.err conftest.$ac_ext
14893fi
14894echo "$as_me:14894: result: `eval echo '${'$as_ac_Header'}'`" >&5
14895echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14896if test `eval echo '${'$as_ac_Header'}'` = yes; then
14897 cat >>confdefs.h <<EOF
14898#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14899EOF
14900 16806
14901else
14902 { echo "$as_me:14902: WARNING: Cannot find any suitable gss-api header - build may fail" >&5
14903echo "$as_me: WARNING: Cannot find any suitable gss-api header - build may fail" >&2;}
14904 16807
14905fi 16808fi;
14906done
14907 16809
14908fi 16810# Check whether user wants AFS support
16811AFS_MSG="no"
14909 16812
14910 oldCPP="$CPPFLAGS" 16813# Check whether --with-afs or --without-afs was given.
14911 CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include/gssapi" 16814if test "${with_afs+set}" = set; then
14912 echo "$as_me:14912: checking for gssapi_krb5.h" >&5 16815 withval="$with_afs"
14913echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6 16816
14914if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then 16817 if test "x$withval" != "xno" ; then
14915 echo $ECHO_N "(cached) $ECHO_C" >&6 16818
14916else 16819 if test "x$withval" != "xyes" ; then
14917 cat >conftest.$ac_ext <<_ACEOF 16820 CPPFLAGS="$CPPFLAGS -I${withval}/include"
14918#line 14918 "configure" 16821 LDFLAGS="$LDFLAGS -L${withval}/lib"
14919#include "confdefs.h" 16822 fi
14920#include <gssapi_krb5.h> 16823
16824 if test -z "$KRB4" ; then
16825 { echo "$as_me:$LINENO: WARNING: AFS requires Kerberos IV support, build may fail" >&5
16826echo "$as_me: WARNING: AFS requires Kerberos IV support, build may fail" >&2;}
16827 fi
16828
16829 LIBS="-lkafs $LIBS"
16830 if test ! -z "$AFS_LIBS" ; then
16831 LIBS="$LIBS $AFS_LIBS"
16832 fi
16833 cat >>confdefs.h <<\_ACEOF
16834#define AFS 1
14921_ACEOF 16835_ACEOF
14922if { (eval echo "$as_me:14922: \"$ac_cpp conftest.$ac_ext\"") >&5
14923 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14924 ac_status=$?
14925 egrep -v '^ *\+' conftest.er1 >conftest.err
14926 rm -f conftest.er1
14927 cat conftest.err >&5
14928 echo "$as_me:14928: \$? = $ac_status" >&5
14929 (exit $ac_status); } >/dev/null; then
14930 if test -s conftest.err; then
14931 ac_cpp_err=$ac_c_preproc_warn_flag
14932 else
14933 ac_cpp_err=
14934 fi
14935else
14936 ac_cpp_err=yes
14937fi
14938if test -z "$ac_cpp_err"; then
14939 ac_cv_header_gssapi_krb5_h=yes
14940else
14941 echo "$as_me: failed program was:" >&5
14942 cat conftest.$ac_ext >&5
14943 ac_cv_header_gssapi_krb5_h=no
14944fi
14945rm -f conftest.err conftest.$ac_ext
14946fi
14947echo "$as_me:14947: result: $ac_cv_header_gssapi_krb5_h" >&5
14948echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6
14949if test $ac_cv_header_gssapi_krb5_h = yes; then
14950 :
14951else
14952 CPPFLAGS="$oldCPP"
14953fi
14954 16836
14955 KRB5=yes 16837 AFS_MSG="yes"
14956 fi 16838 fi
16839
14957 16840
14958fi; 16841fi;
14959LIBS="$LIBS $K5LIBS" 16842LIBS="$LIBS $KLIBS $K5LIBS"
14960 16843
14961# Looking for programs, paths and files 16844# Looking for programs, paths and files
14962 16845
@@ -14970,8 +16853,11 @@ if test "${with_privsep_path+set}" = set; then
14970 PRIVSEP_PATH=$withval 16853 PRIVSEP_PATH=$withval
14971 fi 16854 fi
14972 16855
16856
14973fi; 16857fi;
14974 16858
16859
16860
14975# Check whether --with-xauth or --without-xauth was given. 16861# Check whether --with-xauth or --without-xauth was given.
14976if test "${with_xauth+set}" = set; then 16862if test "${with_xauth+set}" = set; then
14977 withval="$with_xauth" 16863 withval="$with_xauth"
@@ -14989,7 +16875,7 @@ else
14989 TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin" 16875 TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin"
14990 # Extract the first word of "xauth", so it can be a program name with args. 16876 # Extract the first word of "xauth", so it can be a program name with args.
14991set dummy xauth; ac_word=$2 16877set dummy xauth; ac_word=$2
14992echo "$as_me:14992: checking for $ac_word" >&5 16878echo "$as_me:$LINENO: checking for $ac_word" >&5
14993echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 16879echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14994if test "${ac_cv_path_xauth_path+set}" = set; then 16880if test "${ac_cv_path_xauth_path+set}" = set; then
14995 echo $ECHO_N "(cached) $ECHO_C" >&6 16881 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -14999,16 +16885,18 @@ else
14999 ac_cv_path_xauth_path="$xauth_path" # Let the user override the test with a path. 16885 ac_cv_path_xauth_path="$xauth_path" # Let the user override the test with a path.
15000 ;; 16886 ;;
15001 *) 16887 *)
15002 ac_save_IFS=$IFS; IFS=$ac_path_separator 16888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15003ac_dummy="$TestPath" 16889for as_dir in $TestPath
15004for ac_dir in $ac_dummy; do 16890do
15005 IFS=$ac_save_IFS 16891 IFS=$as_save_IFS
15006 test -z "$ac_dir" && ac_dir=. 16892 test -z "$as_dir" && as_dir=.
15007 if $as_executable_p "$ac_dir/$ac_word"; then 16893 for ac_exec_ext in '' $ac_executable_extensions; do
15008 ac_cv_path_xauth_path="$ac_dir/$ac_word" 16894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15009 echo "$as_me:15009: found $ac_dir/$ac_word" >&5 16895 ac_cv_path_xauth_path="$as_dir/$ac_word$ac_exec_ext"
15010 break 16896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15011fi 16897 break 2
16898 fi
16899done
15012done 16900done
15013 16901
15014 ;; 16902 ;;
@@ -15017,10 +16905,10 @@ fi
15017xauth_path=$ac_cv_path_xauth_path 16905xauth_path=$ac_cv_path_xauth_path
15018 16906
15019if test -n "$xauth_path"; then 16907if test -n "$xauth_path"; then
15020 echo "$as_me:15020: result: $xauth_path" >&5 16908 echo "$as_me:$LINENO: result: $xauth_path" >&5
15021echo "${ECHO_T}$xauth_path" >&6 16909echo "${ECHO_T}$xauth_path" >&6
15022else 16910else
15023 echo "$as_me:15023: result: no" >&5 16911 echo "$as_me:$LINENO: result: no" >&5
15024echo "${ECHO_T}no" >&6 16912echo "${ECHO_T}no" >&6
15025fi 16913fi
15026 16914
@@ -15028,6 +16916,7 @@ fi
15028 xauth_path="/usr/openwin/bin/xauth" 16916 xauth_path="/usr/openwin/bin/xauth"
15029 fi 16917 fi
15030 16918
16919
15031fi; 16920fi;
15032 16921
15033STRIP_OPT=-s 16922STRIP_OPT=-s
@@ -15039,15 +16928,17 @@ if test "${enable_strip+set}" = set; then
15039 STRIP_OPT= 16928 STRIP_OPT=
15040 fi 16929 fi
15041 16930
16931
15042fi; 16932fi;
15043 16933
16934
15044if test -z "$xauth_path" ; then 16935if test -z "$xauth_path" ; then
15045 XAUTH_PATH="undefined" 16936 XAUTH_PATH="undefined"
15046 16937
15047else 16938else
15048 cat >>confdefs.h <<EOF 16939 cat >>confdefs.h <<_ACEOF
15049#define XAUTH_PATH "$xauth_path" 16940#define XAUTH_PATH "$xauth_path"
15050EOF 16941_ACEOF
15051 16942
15052 XAUTH_PATH=$xauth_path 16943 XAUTH_PATH=$xauth_path
15053 16944
@@ -15056,21 +16947,21 @@ fi
15056# Check for mail directory (last resort if we cannot get it from headers) 16947# Check for mail directory (last resort if we cannot get it from headers)
15057if test ! -z "$MAIL" ; then 16948if test ! -z "$MAIL" ; then
15058 maildir=`dirname $MAIL` 16949 maildir=`dirname $MAIL`
15059 cat >>confdefs.h <<EOF 16950 cat >>confdefs.h <<_ACEOF
15060#define MAIL_DIRECTORY "$maildir" 16951#define MAIL_DIRECTORY "$maildir"
15061EOF 16952_ACEOF
15062 16953
15063fi 16954fi
15064 16955
15065if test -z "$no_dev_ptmx" ; then 16956if test -z "$no_dev_ptmx" ; then
15066 if test "x$disable_ptmx_check" != "xyes" ; then 16957 if test "x$disable_ptmx_check" != "xyes" ; then
15067 echo "$as_me:15067: checking for \"/dev/ptmx\"" >&5 16958 echo "$as_me:$LINENO: checking for \"/dev/ptmx\"" >&5
15068echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6 16959echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6
15069if test "${ac_cv_file___dev_ptmx_+set}" = set; then 16960if test "${ac_cv_file___dev_ptmx_+set}" = set; then
15070 echo $ECHO_N "(cached) $ECHO_C" >&6 16961 echo $ECHO_N "(cached) $ECHO_C" >&6
15071else 16962else
15072 test "$cross_compiling" = yes && 16963 test "$cross_compiling" = yes &&
15073 { { echo "$as_me:15073: error: cannot check for file existence when cross compiling" >&5 16964 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
15074echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 16965echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15075 { (exit 1); exit 1; }; } 16966 { (exit 1); exit 1; }; }
15076if test -r ""/dev/ptmx""; then 16967if test -r ""/dev/ptmx""; then
@@ -15079,27 +16970,28 @@ else
15079 ac_cv_file___dev_ptmx_=no 16970 ac_cv_file___dev_ptmx_=no
15080fi 16971fi
15081fi 16972fi
15082echo "$as_me:15082: result: $ac_cv_file___dev_ptmx_" >&5 16973echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptmx_" >&5
15083echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6 16974echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6
15084if test $ac_cv_file___dev_ptmx_ = yes; then 16975if test $ac_cv_file___dev_ptmx_ = yes; then
15085 16976
15086 cat >>confdefs.h <<EOF 16977 cat >>confdefs.h <<_ACEOF
15087#define HAVE_DEV_PTMX 1 16978#define HAVE_DEV_PTMX 1
15088EOF 16979_ACEOF
15089 16980
15090 have_dev_ptmx=1 16981 have_dev_ptmx=1
15091 16982
16983
15092fi 16984fi
15093 16985
15094 fi 16986 fi
15095fi 16987fi
15096echo "$as_me:15096: checking for \"/dev/ptc\"" >&5 16988echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5
15097echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6 16989echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6
15098if test "${ac_cv_file___dev_ptc_+set}" = set; then 16990if test "${ac_cv_file___dev_ptc_+set}" = set; then
15099 echo $ECHO_N "(cached) $ECHO_C" >&6 16991 echo $ECHO_N "(cached) $ECHO_C" >&6
15100else 16992else
15101 test "$cross_compiling" = yes && 16993 test "$cross_compiling" = yes &&
15102 { { echo "$as_me:15102: error: cannot check for file existence when cross compiling" >&5 16994 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
15103echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 16995echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15104 { (exit 1); exit 1; }; } 16996 { (exit 1); exit 1; }; }
15105if test -r ""/dev/ptc""; then 16997if test -r ""/dev/ptc""; then
@@ -15108,18 +17000,20 @@ else
15108 ac_cv_file___dev_ptc_=no 17000 ac_cv_file___dev_ptc_=no
15109fi 17001fi
15110fi 17002fi
15111echo "$as_me:15111: result: $ac_cv_file___dev_ptc_" >&5 17003echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5
15112echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6 17004echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6
15113if test $ac_cv_file___dev_ptc_ = yes; then 17005if test $ac_cv_file___dev_ptc_ = yes; then
15114 17006
15115 cat >>confdefs.h <<EOF 17007 cat >>confdefs.h <<_ACEOF
15116#define HAVE_DEV_PTS_AND_PTC 1 17008#define HAVE_DEV_PTS_AND_PTC 1
15117EOF 17009_ACEOF
15118 17010
15119 have_dev_ptc=1 17011 have_dev_ptc=1
15120 17012
17013
15121fi 17014fi
15122 17015
17016
15123# Options from here on. Some of these are preset by platform above 17017# Options from here on. Some of these are preset by platform above
15124 17018
15125# Check whether --with-mantype or --without-mantype was given. 17019# Check whether --with-mantype or --without-mantype was given.
@@ -15131,12 +17025,13 @@ if test "${with_mantype+set}" = set; then
15131 MANTYPE=$withval 17025 MANTYPE=$withval
15132 ;; 17026 ;;
15133 *) 17027 *)
15134 { { echo "$as_me:15134: error: invalid man type: $withval" >&5 17028 { { echo "$as_me:$LINENO: error: invalid man type: $withval" >&5
15135echo "$as_me: error: invalid man type: $withval" >&2;} 17029echo "$as_me: error: invalid man type: $withval" >&2;}
15136 { (exit 1); exit 1; }; } 17030 { (exit 1); exit 1; }; }
15137 ;; 17031 ;;
15138 esac 17032 esac
15139 17033
17034
15140fi; 17035fi;
15141if test -z "$MANTYPE"; then 17036if test -z "$MANTYPE"; then
15142 TestPath="/usr/bin${PATH_SEPARATOR}/usr/ucb" 17037 TestPath="/usr/bin${PATH_SEPARATOR}/usr/ucb"
@@ -15144,7 +17039,7 @@ if test -z "$MANTYPE"; then
15144do 17039do
15145 # Extract the first word of "$ac_prog", so it can be a program name with args. 17040 # Extract the first word of "$ac_prog", so it can be a program name with args.
15146set dummy $ac_prog; ac_word=$2 17041set dummy $ac_prog; ac_word=$2
15147echo "$as_me:15147: checking for $ac_word" >&5 17042echo "$as_me:$LINENO: checking for $ac_word" >&5
15148echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 17043echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15149if test "${ac_cv_path_NROFF+set}" = set; then 17044if test "${ac_cv_path_NROFF+set}" = set; then
15150 echo $ECHO_N "(cached) $ECHO_C" >&6 17045 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -15154,16 +17049,18 @@ else
15154 ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path. 17049 ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path.
15155 ;; 17050 ;;
15156 *) 17051 *)
15157 ac_save_IFS=$IFS; IFS=$ac_path_separator 17052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15158ac_dummy="$TestPath" 17053for as_dir in $TestPath
15159for ac_dir in $ac_dummy; do 17054do
15160 IFS=$ac_save_IFS 17055 IFS=$as_save_IFS
15161 test -z "$ac_dir" && ac_dir=. 17056 test -z "$as_dir" && as_dir=.
15162 if $as_executable_p "$ac_dir/$ac_word"; then 17057 for ac_exec_ext in '' $ac_executable_extensions; do
15163 ac_cv_path_NROFF="$ac_dir/$ac_word" 17058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15164 echo "$as_me:15164: found $ac_dir/$ac_word" >&5 17059 ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext"
15165 break 17060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15166fi 17061 break 2
17062 fi
17063done
15167done 17064done
15168 17065
15169 ;; 17066 ;;
@@ -15172,10 +17069,10 @@ fi
15172NROFF=$ac_cv_path_NROFF 17069NROFF=$ac_cv_path_NROFF
15173 17070
15174if test -n "$NROFF"; then 17071if test -n "$NROFF"; then
15175 echo "$as_me:15175: result: $NROFF" >&5 17072 echo "$as_me:$LINENO: result: $NROFF" >&5
15176echo "${ECHO_T}$NROFF" >&6 17073echo "${ECHO_T}$NROFF" >&6
15177else 17074else
15178 echo "$as_me:15178: result: no" >&5 17075 echo "$as_me:$LINENO: result: no" >&5
15179echo "${ECHO_T}no" >&6 17076echo "${ECHO_T}no" >&6
15180fi 17077fi
15181 17078
@@ -15198,6 +17095,7 @@ else
15198 mansubdir=$MANTYPE; 17095 mansubdir=$MANTYPE;
15199fi 17096fi
15200 17097
17098
15201# Check whether to enable MD5 passwords 17099# Check whether to enable MD5 passwords
15202MD5_MSG="no" 17100MD5_MSG="no"
15203 17101
@@ -15206,13 +17104,14 @@ if test "${with_md5_passwords+set}" = set; then
15206 withval="$with_md5_passwords" 17104 withval="$with_md5_passwords"
15207 17105
15208 if test "x$withval" != "xno" ; then 17106 if test "x$withval" != "xno" ; then
15209 cat >>confdefs.h <<\EOF 17107 cat >>confdefs.h <<\_ACEOF
15210#define HAVE_MD5_PASSWORDS 1 17108#define HAVE_MD5_PASSWORDS 1
15211EOF 17109_ACEOF
15212 17110
15213 MD5_MSG="yes" 17111 MD5_MSG="yes"
15214 fi 17112 fi
15215 17113
17114
15216fi; 17115fi;
15217 17116
15218# Whether to disable shadow password support 17117# Whether to disable shadow password support
@@ -15222,21 +17121,26 @@ if test "${with_shadow+set}" = set; then
15222 withval="$with_shadow" 17121 withval="$with_shadow"
15223 17122
15224 if test "x$withval" = "xno" ; then 17123 if test "x$withval" = "xno" ; then
15225 cat >>confdefs.h <<\EOF 17124 cat >>confdefs.h <<\_ACEOF
15226#define DISABLE_SHADOW 1 17125#define DISABLE_SHADOW 1
15227EOF 17126_ACEOF
15228 17127
15229 disable_shadow=yes 17128 disable_shadow=yes
15230 fi 17129 fi
15231 17130
17131
15232fi; 17132fi;
15233 17133
15234if test -z "$disable_shadow" ; then 17134if test -z "$disable_shadow" ; then
15235 echo "$as_me:15235: checking if the systems has expire shadow information" >&5 17135 echo "$as_me:$LINENO: checking if the systems has expire shadow information" >&5
15236echo $ECHO_N "checking if the systems has expire shadow information... $ECHO_C" >&6 17136echo $ECHO_N "checking if the systems has expire shadow information... $ECHO_C" >&6
15237 cat >conftest.$ac_ext <<_ACEOF 17137 cat >conftest.$ac_ext <<_ACEOF
15238#line 15238 "configure" 17138#line $LINENO "configure"
15239#include "confdefs.h" 17139/* confdefs.h. */
17140_ACEOF
17141cat confdefs.h >>conftest.$ac_ext
17142cat >>conftest.$ac_ext <<_ACEOF
17143/* end confdefs.h. */
15240 17144
15241#include <sys/types.h> 17145#include <sys/types.h>
15242#include <shadow.h> 17146#include <shadow.h>
@@ -15251,34 +17155,36 @@ main ()
15251} 17155}
15252_ACEOF 17156_ACEOF
15253rm -f conftest.$ac_objext 17157rm -f conftest.$ac_objext
15254if { (eval echo "$as_me:15254: \"$ac_compile\"") >&5 17158if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15255 (eval $ac_compile) 2>&5 17159 (eval $ac_compile) 2>&5
15256 ac_status=$? 17160 ac_status=$?
15257 echo "$as_me:15257: \$? = $ac_status" >&5 17161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15258 (exit $ac_status); } && 17162 (exit $ac_status); } &&
15259 { ac_try='test -s conftest.$ac_objext' 17163 { ac_try='test -s conftest.$ac_objext'
15260 { (eval echo "$as_me:15260: \"$ac_try\"") >&5 17164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15261 (eval $ac_try) 2>&5 17165 (eval $ac_try) 2>&5
15262 ac_status=$? 17166 ac_status=$?
15263 echo "$as_me:15263: \$? = $ac_status" >&5 17167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264 (exit $ac_status); }; }; then 17168 (exit $ac_status); }; }; then
15265 sp_expire_available=yes 17169 sp_expire_available=yes
15266else 17170else
15267 echo "$as_me: failed program was:" >&5 17171 echo "$as_me: failed program was:" >&5
15268cat conftest.$ac_ext >&5 17172sed 's/^/| /' conftest.$ac_ext >&5
17173
17174
15269 17175
15270fi 17176fi
15271rm -f conftest.$ac_objext conftest.$ac_ext 17177rm -f conftest.$ac_objext conftest.$ac_ext
15272 17178
15273 if test "x$sp_expire_available" = "xyes" ; then 17179 if test "x$sp_expire_available" = "xyes" ; then
15274 echo "$as_me:15274: result: yes" >&5 17180 echo "$as_me:$LINENO: result: yes" >&5
15275echo "${ECHO_T}yes" >&6 17181echo "${ECHO_T}yes" >&6
15276 cat >>confdefs.h <<\EOF 17182 cat >>confdefs.h <<\_ACEOF
15277#define HAS_SHADOW_EXPIRE 1 17183#define HAS_SHADOW_EXPIRE 1
15278EOF 17184_ACEOF
15279 17185
15280 else 17186 else
15281 echo "$as_me:15281: result: no" >&5 17187 echo "$as_me:$LINENO: result: no" >&5
15282echo "${ECHO_T}no" >&6 17188echo "${ECHO_T}no" >&6
15283 fi 17189 fi
15284fi 17190fi
@@ -15286,9 +17192,9 @@ fi
15286# Use ip address instead of hostname in $DISPLAY 17192# Use ip address instead of hostname in $DISPLAY
15287if test ! -z "$IPADDR_IN_DISPLAY" ; then 17193if test ! -z "$IPADDR_IN_DISPLAY" ; then
15288 DISPLAY_HACK_MSG="yes" 17194 DISPLAY_HACK_MSG="yes"
15289 cat >>confdefs.h <<\EOF 17195 cat >>confdefs.h <<\_ACEOF
15290#define IPADDR_IN_DISPLAY 1 17196#define IPADDR_IN_DISPLAY 1
15291EOF 17197_ACEOF
15292 17198
15293else 17199else
15294 DISPLAY_HACK_MSG="no" 17200 DISPLAY_HACK_MSG="no"
@@ -15298,50 +17204,21 @@ if test "${with_ipaddr_display+set}" = set; then
15298 withval="$with_ipaddr_display" 17204 withval="$with_ipaddr_display"
15299 17205
15300 if test "x$withval" != "xno" ; then 17206 if test "x$withval" != "xno" ; then
15301 cat >>confdefs.h <<\EOF 17207 cat >>confdefs.h <<\_ACEOF
15302#define IPADDR_IN_DISPLAY 1 17208#define IPADDR_IN_DISPLAY 1
15303EOF 17209_ACEOF
15304 17210
15305 DISPLAY_HACK_MSG="yes" 17211 DISPLAY_HACK_MSG="yes"
15306 fi 17212 fi
15307 17213
15308fi;
15309fi
15310
15311# check for /etc/default/login and use it if present.
15312echo "$as_me:15312: checking for \"/etc/default/login\"" >&5
15313echo $ECHO_N "checking for \"/etc/default/login\"... $ECHO_C" >&6
15314if test "${ac_cv_file___etc_default_login_+set}" = set; then
15315 echo $ECHO_N "(cached) $ECHO_C" >&6
15316else
15317 test "$cross_compiling" = yes &&
15318 { { echo "$as_me:15318: error: cannot check for file existence when cross compiling" >&5
15319echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
15320 { (exit 1); exit 1; }; }
15321if test -r ""/etc/default/login""; then
15322 ac_cv_file___etc_default_login_=yes
15323else
15324 ac_cv_file___etc_default_login_=no
15325fi
15326fi
15327echo "$as_me:15327: result: $ac_cv_file___etc_default_login_" >&5
15328echo "${ECHO_T}$ac_cv_file___etc_default_login_" >&6
15329if test $ac_cv_file___etc_default_login_ = yes; then
15330 external_path_file=/etc/default/login
15331fi
15332
15333if test "x$external_path_file" = "x/etc/default/login"; then
15334 cat >>confdefs.h <<\EOF
15335#define HAVE_ETC_DEFAULT_LOGIN 1
15336EOF
15337 17214
17215fi;
15338fi 17216fi
15339 17217
15340if test $ac_cv_func_login_getcapbool = "yes" -a \ 17218if test $ac_cv_func_login_getcapbool = "yes" -a \
15341 $ac_cv_header_login_cap_h = "yes" ; then 17219 $ac_cv_header_login_cap_h = "yes" ; then
15342 external_path_file=/etc/login.conf 17220 USES_LOGIN_CONF=yes
15343fi 17221fi
15344
15345# Whether to mess with the default path 17222# Whether to mess with the default path
15346SERVER_PATH_MSG="(default)" 17223SERVER_PATH_MSG="(default)"
15347 17224
@@ -15349,46 +17226,34 @@ SERVER_PATH_MSG="(default)"
15349if test "${with_default_path+set}" = set; then 17226if test "${with_default_path+set}" = set; then
15350 withval="$with_default_path" 17227 withval="$with_default_path"
15351 17228
15352 if test "x$external_path_file" = "x/etc/login.conf" ; then 17229 if test "$USES_LOGIN_CONF" = "yes" ; then
15353 { echo "$as_me:15353: WARNING: 17230 { echo "$as_me:$LINENO: WARNING:
15354--with-default-path=PATH has no effect on this system. 17231--with-default-path=PATH has no effect on this system.
15355Edit /etc/login.conf instead." >&5 17232Edit /etc/login.conf instead." >&5
15356echo "$as_me: WARNING: 17233echo "$as_me: WARNING:
15357--with-default-path=PATH has no effect on this system. 17234--with-default-path=PATH has no effect on this system.
15358Edit /etc/login.conf instead." >&2;} 17235Edit /etc/login.conf instead." >&2;}
15359 elif test "x$withval" != "xno" ; then 17236 elif test "x$withval" != "xno" ; then
15360 if test ! -z "$external_path_file" ; then
15361 { echo "$as_me:15361: WARNING:
15362--with-default-path=PATH will only be used if PATH is not defined in
15363$external_path_file ." >&5
15364echo "$as_me: WARNING:
15365--with-default-path=PATH will only be used if PATH is not defined in
15366$external_path_file ." >&2;}
15367 fi
15368 user_path="$withval" 17237 user_path="$withval"
15369 SERVER_PATH_MSG="$withval" 17238 SERVER_PATH_MSG="$withval"
15370 fi 17239 fi
15371 17240
15372else 17241else
15373 if test "x$external_path_file" = "x/etc/login.conf" ; then 17242 if test "$USES_LOGIN_CONF" = "yes" ; then
15374 { echo "$as_me:15374: WARNING: Make sure the path to scp is in /etc/login.conf" >&5 17243 { echo "$as_me:$LINENO: WARNING: Make sure the path to scp is in /etc/login.conf" >&5
15375echo "$as_me: WARNING: Make sure the path to scp is in /etc/login.conf" >&2;} 17244echo "$as_me: WARNING: Make sure the path to scp is in /etc/login.conf" >&2;}
15376 else 17245 else
15377 if test ! -z "$external_path_file" ; then 17246 if test "$cross_compiling" = yes; then
15378 { echo "$as_me:15378: WARNING:
15379If PATH is defined in $external_path_file, ensure the path to scp is included,
15380otherwise scp will not work." >&5
15381echo "$as_me: WARNING:
15382If PATH is defined in $external_path_file, ensure the path to scp is included,
15383otherwise scp will not work." >&2;}
15384 fi
15385 if test "$cross_compiling" = yes; then
15386 user_path="/usr/bin:/bin:/usr/sbin:/sbin" 17247 user_path="/usr/bin:/bin:/usr/sbin:/sbin"
15387 17248
15388else 17249else
15389 cat >conftest.$ac_ext <<_ACEOF 17250 cat >conftest.$ac_ext <<_ACEOF
15390#line 15390 "configure" 17251#line $LINENO "configure"
15391#include "confdefs.h" 17252/* confdefs.h. */
17253_ACEOF
17254cat confdefs.h >>conftest.$ac_ext
17255cat >>conftest.$ac_ext <<_ACEOF
17256/* end confdefs.h. */
15392 17257
15393/* find out what STDPATH is */ 17258/* find out what STDPATH is */
15394#include <stdio.h> 17259#include <stdio.h>
@@ -15424,24 +17289,26 @@ main()
15424 17289
15425_ACEOF 17290_ACEOF
15426rm -f conftest$ac_exeext 17291rm -f conftest$ac_exeext
15427if { (eval echo "$as_me:15427: \"$ac_link\"") >&5 17292if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15428 (eval $ac_link) 2>&5 17293 (eval $ac_link) 2>&5
15429 ac_status=$? 17294 ac_status=$?
15430 echo "$as_me:15430: \$? = $ac_status" >&5 17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15431 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 17296 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15432 { (eval echo "$as_me:15432: \"$ac_try\"") >&5 17297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15433 (eval $ac_try) 2>&5 17298 (eval $ac_try) 2>&5
15434 ac_status=$? 17299 ac_status=$?
15435 echo "$as_me:15435: \$? = $ac_status" >&5 17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436 (exit $ac_status); }; }; then 17301 (exit $ac_status); }; }; then
15437 user_path=`cat conftest.stdpath` 17302 user_path=`cat conftest.stdpath`
15438else 17303else
15439 echo "$as_me: program exited with status $ac_status" >&5 17304 echo "$as_me: program exited with status $ac_status" >&5
15440echo "$as_me: failed program was:" >&5 17305echo "$as_me: failed program was:" >&5
15441cat conftest.$ac_ext >&5 17306sed 's/^/| /' conftest.$ac_ext >&5
17307
17308( exit $ac_status )
15442 user_path="/usr/bin:/bin:/usr/sbin:/sbin" 17309 user_path="/usr/bin:/bin:/usr/sbin:/sbin"
15443fi 17310fi
15444rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 17311rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15445fi 17312fi
15446# make sure $bindir is in USER_PATH so scp will work 17313# make sure $bindir is in USER_PATH so scp will work
15447 t_bindir=`eval echo ${bindir}` 17314 t_bindir=`eval echo ${bindir}`
@@ -15456,17 +17323,18 @@ fi
15456 echo $user_path | grep "^$t_bindir" > /dev/null 2>&1 17323 echo $user_path | grep "^$t_bindir" > /dev/null 2>&1
15457 if test $? -ne 0 ; then 17324 if test $? -ne 0 ; then
15458 user_path=$user_path:$t_bindir 17325 user_path=$user_path:$t_bindir
15459 echo "$as_me:15459: result: Adding $t_bindir to USER_PATH so scp will work" >&5 17326 echo "$as_me:$LINENO: result: Adding $t_bindir to USER_PATH so scp will work" >&5
15460echo "${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6 17327echo "${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6
15461 fi 17328 fi
15462 fi 17329 fi
15463 fi 17330 fi
15464 17331
15465fi; 17332fi;
15466if test "x$external_path_file" != "x/etc/login.conf" ; then 17333if test "$USES_LOGIN_CONF" != "yes" ; then
15467 cat >>confdefs.h <<EOF 17334 cat >>confdefs.h <<_ACEOF
15468#define USER_PATH "$user_path" 17335#define USER_PATH "$user_path"
15469EOF 17336_ACEOF
17337
15470 17338
15471fi 17339fi
15472 17340
@@ -15477,16 +17345,36 @@ if test "${with_superuser_path+set}" = set; then
15477 withval="$with_superuser_path" 17345 withval="$with_superuser_path"
15478 17346
15479 if test "x$withval" != "xno" ; then 17347 if test "x$withval" != "xno" ; then
15480 cat >>confdefs.h <<EOF 17348 cat >>confdefs.h <<_ACEOF
15481#define SUPERUSER_PATH "$withval" 17349#define SUPERUSER_PATH "$withval"
15482EOF 17350_ACEOF
15483 17351
15484 superuser_path=$withval 17352 superuser_path=$withval
15485 fi 17353 fi
15486 17354
17355
17356fi;
17357
17358
17359# Whether to force IPv4 by default (needed on broken glibc Linux)
17360IPV4_HACK_MSG="no"
17361
17362# Check whether --with-ipv4-default or --without-ipv4-default was given.
17363if test "${with_ipv4_default+set}" = set; then
17364 withval="$with_ipv4_default"
17365
17366 if test "x$withval" != "xno" ; then
17367 cat >>confdefs.h <<\_ACEOF
17368#define IPV4_DEFAULT 1
17369_ACEOF
17370
17371 IPV4_HACK_MSG="yes"
17372 fi
17373
17374
15487fi; 17375fi;
15488 17376
15489echo "$as_me:15489: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5 17377echo "$as_me:$LINENO: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5
15490echo $ECHO_N "checking if we need to convert IPv4 in IPv6-mapped addresses... $ECHO_C" >&6 17378echo $ECHO_N "checking if we need to convert IPv4 in IPv6-mapped addresses... $ECHO_C" >&6
15491IPV4_IN6_HACK_MSG="no" 17379IPV4_IN6_HACK_MSG="no"
15492 17380
@@ -15495,33 +17383,34 @@ if test "${with_4in6+set}" = set; then
15495 withval="$with_4in6" 17383 withval="$with_4in6"
15496 17384
15497 if test "x$withval" != "xno" ; then 17385 if test "x$withval" != "xno" ; then
15498 echo "$as_me:15498: result: yes" >&5 17386 echo "$as_me:$LINENO: result: yes" >&5
15499echo "${ECHO_T}yes" >&6 17387echo "${ECHO_T}yes" >&6
15500 cat >>confdefs.h <<\EOF 17388 cat >>confdefs.h <<\_ACEOF
15501#define IPV4_IN_IPV6 1 17389#define IPV4_IN_IPV6 1
15502EOF 17390_ACEOF
15503 17391
15504 IPV4_IN6_HACK_MSG="yes" 17392 IPV4_IN6_HACK_MSG="yes"
15505 else 17393 else
15506 echo "$as_me:15506: result: no" >&5 17394 echo "$as_me:$LINENO: result: no" >&5
15507echo "${ECHO_T}no" >&6 17395echo "${ECHO_T}no" >&6
15508 fi 17396 fi
15509 17397
15510else 17398else
15511 17399
15512 if test "x$inet6_default_4in6" = "xyes"; then 17400 if test "x$inet6_default_4in6" = "xyes"; then
15513 echo "$as_me:15513: result: yes (default)" >&5 17401 echo "$as_me:$LINENO: result: yes (default)" >&5
15514echo "${ECHO_T}yes (default)" >&6 17402echo "${ECHO_T}yes (default)" >&6
15515 cat >>confdefs.h <<\EOF 17403 cat >>confdefs.h <<\_ACEOF
15516#define IPV4_IN_IPV6 1 17404#define IPV4_IN_IPV6 1
15517EOF 17405_ACEOF
15518 17406
15519 IPV4_IN6_HACK_MSG="yes" 17407 IPV4_IN6_HACK_MSG="yes"
15520 else 17408 else
15521 echo "$as_me:15521: result: no (default)" >&5 17409 echo "$as_me:$LINENO: result: no (default)" >&5
15522echo "${ECHO_T}no (default)" >&6 17410echo "${ECHO_T}no (default)" >&6
15523 fi 17411 fi
15524 17412
17413
15525fi; 17414fi;
15526 17415
15527# Whether to enable BSD auth support 17416# Whether to enable BSD auth support
@@ -15532,13 +17421,14 @@ if test "${with_bsd_auth+set}" = set; then
15532 withval="$with_bsd_auth" 17421 withval="$with_bsd_auth"
15533 17422
15534 if test "x$withval" != "xno" ; then 17423 if test "x$withval" != "xno" ; then
15535 cat >>confdefs.h <<\EOF 17424 cat >>confdefs.h <<\_ACEOF
15536#define BSD_AUTH 1 17425#define BSD_AUTH 1
15537EOF 17426_ACEOF
15538 17427
15539 BSD_AUTH_MSG=yes 17428 BSD_AUTH_MSG=yes
15540 fi 17429 fi
15541 17430
17431
15542fi; 17432fi;
15543 17433
15544# Where to place sshd.pid 17434# Where to place sshd.pid
@@ -15551,6 +17441,7 @@ if test ! -d $piddir ; then
15551 esac 17441 esac
15552fi 17442fi
15553 17443
17444
15554# Check whether --with-pid-dir or --without-pid-dir was given. 17445# Check whether --with-pid-dir or --without-pid-dir was given.
15555if test "${with_pid_dir+set}" = set; then 17446if test "${with_pid_dir+set}" = set; then
15556 withval="$with_pid_dir" 17447 withval="$with_pid_dir"
@@ -15558,111 +17449,90 @@ if test "${with_pid_dir+set}" = set; then
15558 if test "x$withval" != "xno" ; then 17449 if test "x$withval" != "xno" ; then
15559 piddir=$withval 17450 piddir=$withval
15560 if test ! -d $piddir ; then 17451 if test ! -d $piddir ; then
15561 { echo "$as_me:15561: WARNING: ** no $piddir directory on this system **" >&5 17452 { echo "$as_me:$LINENO: WARNING: ** no $piddir directory on this system **" >&5
15562echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;} 17453echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;}
15563 fi 17454 fi
15564 fi 17455 fi
15565 17456
17457
15566fi; 17458fi;
15567 17459
15568cat >>confdefs.h <<EOF 17460cat >>confdefs.h <<_ACEOF
15569#define _PATH_SSH_PIDDIR "$piddir" 17461#define _PATH_SSH_PIDDIR "$piddir"
15570EOF 17462_ACEOF
17463
17464
15571 17465
15572# Check whether --enable-lastlog or --disable-lastlog was given. 17466# Check whether --enable-lastlog or --disable-lastlog was given.
15573if test "${enable_lastlog+set}" = set; then 17467if test "${enable_lastlog+set}" = set; then
15574 enableval="$enable_lastlog" 17468 enableval="$enable_lastlog"
15575 17469 cat >>confdefs.h <<\_ACEOF
15576 if test "x$enableval" = "xno" ; then
15577 cat >>confdefs.h <<\EOF
15578#define DISABLE_LASTLOG 1 17470#define DISABLE_LASTLOG 1
15579EOF 17471_ACEOF
15580 17472
15581 fi
15582 17473
15583fi; 17474fi;
15584# Check whether --enable-utmp or --disable-utmp was given. 17475# Check whether --enable-utmp or --disable-utmp was given.
15585if test "${enable_utmp+set}" = set; then 17476if test "${enable_utmp+set}" = set; then
15586 enableval="$enable_utmp" 17477 enableval="$enable_utmp"
15587 17478 cat >>confdefs.h <<\_ACEOF
15588 if test "x$enableval" = "xno" ; then
15589 cat >>confdefs.h <<\EOF
15590#define DISABLE_UTMP 1 17479#define DISABLE_UTMP 1
15591EOF 17480_ACEOF
15592 17481
15593 fi
15594 17482
15595fi; 17483fi;
15596# Check whether --enable-utmpx or --disable-utmpx was given. 17484# Check whether --enable-utmpx or --disable-utmpx was given.
15597if test "${enable_utmpx+set}" = set; then 17485if test "${enable_utmpx+set}" = set; then
15598 enableval="$enable_utmpx" 17486 enableval="$enable_utmpx"
15599 17487 cat >>confdefs.h <<\_ACEOF
15600 if test "x$enableval" = "xno" ; then
15601 cat >>confdefs.h <<\EOF
15602#define DISABLE_UTMPX 1 17488#define DISABLE_UTMPX 1
15603EOF 17489_ACEOF
15604 17490
15605 fi
15606 17491
15607fi; 17492fi;
15608# Check whether --enable-wtmp or --disable-wtmp was given. 17493# Check whether --enable-wtmp or --disable-wtmp was given.
15609if test "${enable_wtmp+set}" = set; then 17494if test "${enable_wtmp+set}" = set; then
15610 enableval="$enable_wtmp" 17495 enableval="$enable_wtmp"
15611 17496 cat >>confdefs.h <<\_ACEOF
15612 if test "x$enableval" = "xno" ; then
15613 cat >>confdefs.h <<\EOF
15614#define DISABLE_WTMP 1 17497#define DISABLE_WTMP 1
15615EOF 17498_ACEOF
15616 17499
15617 fi
15618 17500
15619fi; 17501fi;
15620# Check whether --enable-wtmpx or --disable-wtmpx was given. 17502# Check whether --enable-wtmpx or --disable-wtmpx was given.
15621if test "${enable_wtmpx+set}" = set; then 17503if test "${enable_wtmpx+set}" = set; then
15622 enableval="$enable_wtmpx" 17504 enableval="$enable_wtmpx"
15623 17505 cat >>confdefs.h <<\_ACEOF
15624 if test "x$enableval" = "xno" ; then
15625 cat >>confdefs.h <<\EOF
15626#define DISABLE_WTMPX 1 17506#define DISABLE_WTMPX 1
15627EOF 17507_ACEOF
15628 17508
15629 fi
15630 17509
15631fi; 17510fi;
15632# Check whether --enable-libutil or --disable-libutil was given. 17511# Check whether --enable-libutil or --disable-libutil was given.
15633if test "${enable_libutil+set}" = set; then 17512if test "${enable_libutil+set}" = set; then
15634 enableval="$enable_libutil" 17513 enableval="$enable_libutil"
15635 17514 cat >>confdefs.h <<\_ACEOF
15636 if test "x$enableval" = "xno" ; then
15637 cat >>confdefs.h <<\EOF
15638#define DISABLE_LOGIN 1 17515#define DISABLE_LOGIN 1
15639EOF 17516_ACEOF
15640 17517
15641 fi
15642 17518
15643fi; 17519fi;
15644# Check whether --enable-pututline or --disable-pututline was given. 17520# Check whether --enable-pututline or --disable-pututline was given.
15645if test "${enable_pututline+set}" = set; then 17521if test "${enable_pututline+set}" = set; then
15646 enableval="$enable_pututline" 17522 enableval="$enable_pututline"
15647 17523 cat >>confdefs.h <<\_ACEOF
15648 if test "x$enableval" = "xno" ; then
15649 cat >>confdefs.h <<\EOF
15650#define DISABLE_PUTUTLINE 1 17524#define DISABLE_PUTUTLINE 1
15651EOF 17525_ACEOF
15652 17526
15653 fi
15654 17527
15655fi; 17528fi;
15656# Check whether --enable-pututxline or --disable-pututxline was given. 17529# Check whether --enable-pututxline or --disable-pututxline was given.
15657if test "${enable_pututxline+set}" = set; then 17530if test "${enable_pututxline+set}" = set; then
15658 enableval="$enable_pututxline" 17531 enableval="$enable_pututxline"
15659 17532 cat >>confdefs.h <<\_ACEOF
15660 if test "x$enableval" = "xno" ; then
15661 cat >>confdefs.h <<\EOF
15662#define DISABLE_PUTUTXLINE 1 17533#define DISABLE_PUTUTXLINE 1
15663EOF 17534_ACEOF
15664 17535
15665 fi
15666 17536
15667fi; 17537fi;
15668 17538
@@ -15671,21 +17541,27 @@ if test "${with_lastlog+set}" = set; then
15671 withval="$with_lastlog" 17541 withval="$with_lastlog"
15672 17542
15673 if test "x$withval" = "xno" ; then 17543 if test "x$withval" = "xno" ; then
15674 cat >>confdefs.h <<\EOF 17544 cat >>confdefs.h <<\_ACEOF
15675#define DISABLE_LASTLOG 1 17545#define DISABLE_LASTLOG 1
15676EOF 17546_ACEOF
15677 17547
15678 else 17548 else
15679 conf_lastlog_location=$withval 17549 conf_lastlog_location=$withval
15680 fi 17550 fi
15681 17551
17552
15682fi; 17553fi;
15683 17554
15684echo "$as_me:15684: checking if your system defines LASTLOG_FILE" >&5 17555
17556echo "$as_me:$LINENO: checking if your system defines LASTLOG_FILE" >&5
15685echo $ECHO_N "checking if your system defines LASTLOG_FILE... $ECHO_C" >&6 17557echo $ECHO_N "checking if your system defines LASTLOG_FILE... $ECHO_C" >&6
15686cat >conftest.$ac_ext <<_ACEOF 17558cat >conftest.$ac_ext <<_ACEOF
15687#line 15687 "configure" 17559#line $LINENO "configure"
15688#include "confdefs.h" 17560/* confdefs.h. */
17561_ACEOF
17562cat confdefs.h >>conftest.$ac_ext
17563cat >>conftest.$ac_ext <<_ACEOF
17564/* end confdefs.h. */
15689 17565
15690#include <sys/types.h> 17566#include <sys/types.h>
15691#include <utmp.h> 17567#include <utmp.h>
@@ -15708,30 +17584,35 @@ main ()
15708} 17584}
15709_ACEOF 17585_ACEOF
15710rm -f conftest.$ac_objext 17586rm -f conftest.$ac_objext
15711if { (eval echo "$as_me:15711: \"$ac_compile\"") >&5 17587if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15712 (eval $ac_compile) 2>&5 17588 (eval $ac_compile) 2>&5
15713 ac_status=$? 17589 ac_status=$?
15714 echo "$as_me:15714: \$? = $ac_status" >&5 17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715 (exit $ac_status); } && 17591 (exit $ac_status); } &&
15716 { ac_try='test -s conftest.$ac_objext' 17592 { ac_try='test -s conftest.$ac_objext'
15717 { (eval echo "$as_me:15717: \"$ac_try\"") >&5 17593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15718 (eval $ac_try) 2>&5 17594 (eval $ac_try) 2>&5
15719 ac_status=$? 17595 ac_status=$?
15720 echo "$as_me:15720: \$? = $ac_status" >&5 17596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721 (exit $ac_status); }; }; then 17597 (exit $ac_status); }; }; then
15722 echo "$as_me:15722: result: yes" >&5 17598 echo "$as_me:$LINENO: result: yes" >&5
15723echo "${ECHO_T}yes" >&6 17599echo "${ECHO_T}yes" >&6
15724else 17600else
15725 echo "$as_me: failed program was:" >&5 17601 echo "$as_me: failed program was:" >&5
15726cat conftest.$ac_ext >&5 17602sed 's/^/| /' conftest.$ac_ext >&5
15727 17603
15728 echo "$as_me:15728: result: no" >&5 17604
17605 echo "$as_me:$LINENO: result: no" >&5
15729echo "${ECHO_T}no" >&6 17606echo "${ECHO_T}no" >&6
15730 echo "$as_me:15730: checking if your system defines _PATH_LASTLOG" >&5 17607 echo "$as_me:$LINENO: checking if your system defines _PATH_LASTLOG" >&5
15731echo $ECHO_N "checking if your system defines _PATH_LASTLOG... $ECHO_C" >&6 17608echo $ECHO_N "checking if your system defines _PATH_LASTLOG... $ECHO_C" >&6
15732 cat >conftest.$ac_ext <<_ACEOF 17609 cat >conftest.$ac_ext <<_ACEOF
15733#line 15733 "configure" 17610#line $LINENO "configure"
15734#include "confdefs.h" 17611/* confdefs.h. */
17612_ACEOF
17613cat confdefs.h >>conftest.$ac_ext
17614cat >>conftest.$ac_ext <<_ACEOF
17615/* end confdefs.h. */
15735 17616
15736#include <sys/types.h> 17617#include <sys/types.h>
15737#include <utmp.h> 17618#include <utmp.h>
@@ -15751,30 +17632,32 @@ main ()
15751} 17632}
15752_ACEOF 17633_ACEOF
15753rm -f conftest.$ac_objext 17634rm -f conftest.$ac_objext
15754if { (eval echo "$as_me:15754: \"$ac_compile\"") >&5 17635if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15755 (eval $ac_compile) 2>&5 17636 (eval $ac_compile) 2>&5
15756 ac_status=$? 17637 ac_status=$?
15757 echo "$as_me:15757: \$? = $ac_status" >&5 17638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15758 (exit $ac_status); } && 17639 (exit $ac_status); } &&
15759 { ac_try='test -s conftest.$ac_objext' 17640 { ac_try='test -s conftest.$ac_objext'
15760 { (eval echo "$as_me:15760: \"$ac_try\"") >&5 17641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15761 (eval $ac_try) 2>&5 17642 (eval $ac_try) 2>&5
15762 ac_status=$? 17643 ac_status=$?
15763 echo "$as_me:15763: \$? = $ac_status" >&5 17644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15764 (exit $ac_status); }; }; then 17645 (exit $ac_status); }; }; then
15765 echo "$as_me:15765: result: yes" >&5 17646 echo "$as_me:$LINENO: result: yes" >&5
15766echo "${ECHO_T}yes" >&6 17647echo "${ECHO_T}yes" >&6
15767else 17648else
15768 echo "$as_me: failed program was:" >&5 17649 echo "$as_me: failed program was:" >&5
15769cat conftest.$ac_ext >&5 17650sed 's/^/| /' conftest.$ac_ext >&5
15770 17651
15771 echo "$as_me:15771: result: no" >&5 17652
17653 echo "$as_me:$LINENO: result: no" >&5
15772echo "${ECHO_T}no" >&6 17654echo "${ECHO_T}no" >&6
15773 system_lastlog_path=no 17655 system_lastlog_path=no
15774 17656
15775fi 17657fi
15776rm -f conftest.$ac_objext conftest.$ac_ext 17658rm -f conftest.$ac_objext conftest.$ac_ext
15777 17659
17660
15778fi 17661fi
15779rm -f conftest.$ac_objext conftest.$ac_ext 17662rm -f conftest.$ac_objext conftest.$ac_ext
15780 17663
@@ -15786,24 +17669,28 @@ if test -z "$conf_lastlog_location"; then
15786 fi 17669 fi
15787 done 17670 done
15788 if test -z "$conf_lastlog_location"; then 17671 if test -z "$conf_lastlog_location"; then
15789 { echo "$as_me:15789: WARNING: ** Cannot find lastlog **" >&5 17672 { echo "$as_me:$LINENO: WARNING: ** Cannot find lastlog **" >&5
15790echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;} 17673echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;}
15791 fi 17674 fi
15792 fi 17675 fi
15793fi 17676fi
15794 17677
15795if test -n "$conf_lastlog_location"; then 17678if test -n "$conf_lastlog_location"; then
15796 cat >>confdefs.h <<EOF 17679 cat >>confdefs.h <<_ACEOF
15797#define CONF_LASTLOG_FILE "$conf_lastlog_location" 17680#define CONF_LASTLOG_FILE "$conf_lastlog_location"
15798EOF 17681_ACEOF
15799 17682
15800fi 17683fi
15801 17684
15802echo "$as_me:15802: checking if your system defines UTMP_FILE" >&5 17685echo "$as_me:$LINENO: checking if your system defines UTMP_FILE" >&5
15803echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6 17686echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6
15804cat >conftest.$ac_ext <<_ACEOF 17687cat >conftest.$ac_ext <<_ACEOF
15805#line 15805 "configure" 17688#line $LINENO "configure"
15806#include "confdefs.h" 17689/* confdefs.h. */
17690_ACEOF
17691cat confdefs.h >>conftest.$ac_ext
17692cat >>conftest.$ac_ext <<_ACEOF
17693/* end confdefs.h. */
15807 17694
15808#include <sys/types.h> 17695#include <sys/types.h>
15809#include <utmp.h> 17696#include <utmp.h>
@@ -15820,23 +17707,24 @@ main ()
15820} 17707}
15821_ACEOF 17708_ACEOF
15822rm -f conftest.$ac_objext 17709rm -f conftest.$ac_objext
15823if { (eval echo "$as_me:15823: \"$ac_compile\"") >&5 17710if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15824 (eval $ac_compile) 2>&5 17711 (eval $ac_compile) 2>&5
15825 ac_status=$? 17712 ac_status=$?
15826 echo "$as_me:15826: \$? = $ac_status" >&5 17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15827 (exit $ac_status); } && 17714 (exit $ac_status); } &&
15828 { ac_try='test -s conftest.$ac_objext' 17715 { ac_try='test -s conftest.$ac_objext'
15829 { (eval echo "$as_me:15829: \"$ac_try\"") >&5 17716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15830 (eval $ac_try) 2>&5 17717 (eval $ac_try) 2>&5
15831 ac_status=$? 17718 ac_status=$?
15832 echo "$as_me:15832: \$? = $ac_status" >&5 17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); }; }; then 17720 (exit $ac_status); }; }; then
15834 echo "$as_me:15834: result: yes" >&5 17721 echo "$as_me:$LINENO: result: yes" >&5
15835echo "${ECHO_T}yes" >&6 17722echo "${ECHO_T}yes" >&6
15836else 17723else
15837 echo "$as_me: failed program was:" >&5 17724 echo "$as_me: failed program was:" >&5
15838cat conftest.$ac_ext >&5 17725sed 's/^/| /' conftest.$ac_ext >&5
15839 echo "$as_me:15839: result: no" >&5 17726
17727 echo "$as_me:$LINENO: result: no" >&5
15840echo "${ECHO_T}no" >&6 17728echo "${ECHO_T}no" >&6
15841 system_utmp_path=no 17729 system_utmp_path=no
15842 17730
@@ -15850,25 +17738,29 @@ if test -z "$conf_utmp_location"; then
15850 fi 17738 fi
15851 done 17739 done
15852 if test -z "$conf_utmp_location"; then 17740 if test -z "$conf_utmp_location"; then
15853 cat >>confdefs.h <<\EOF 17741 cat >>confdefs.h <<\_ACEOF
15854#define DISABLE_UTMP 1 17742#define DISABLE_UTMP 1
15855EOF 17743_ACEOF
15856 17744
15857 fi 17745 fi
15858 fi 17746 fi
15859fi 17747fi
15860if test -n "$conf_utmp_location"; then 17748if test -n "$conf_utmp_location"; then
15861 cat >>confdefs.h <<EOF 17749 cat >>confdefs.h <<_ACEOF
15862#define CONF_UTMP_FILE "$conf_utmp_location" 17750#define CONF_UTMP_FILE "$conf_utmp_location"
15863EOF 17751_ACEOF
15864 17752
15865fi 17753fi
15866 17754
15867echo "$as_me:15867: checking if your system defines WTMP_FILE" >&5 17755echo "$as_me:$LINENO: checking if your system defines WTMP_FILE" >&5
15868echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6 17756echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6
15869cat >conftest.$ac_ext <<_ACEOF 17757cat >conftest.$ac_ext <<_ACEOF
15870#line 15870 "configure" 17758#line $LINENO "configure"
15871#include "confdefs.h" 17759/* confdefs.h. */
17760_ACEOF
17761cat confdefs.h >>conftest.$ac_ext
17762cat >>conftest.$ac_ext <<_ACEOF
17763/* end confdefs.h. */
15872 17764
15873#include <sys/types.h> 17765#include <sys/types.h>
15874#include <utmp.h> 17766#include <utmp.h>
@@ -15885,23 +17777,24 @@ main ()
15885} 17777}
15886_ACEOF 17778_ACEOF
15887rm -f conftest.$ac_objext 17779rm -f conftest.$ac_objext
15888if { (eval echo "$as_me:15888: \"$ac_compile\"") >&5 17780if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15889 (eval $ac_compile) 2>&5 17781 (eval $ac_compile) 2>&5
15890 ac_status=$? 17782 ac_status=$?
15891 echo "$as_me:15891: \$? = $ac_status" >&5 17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892 (exit $ac_status); } && 17784 (exit $ac_status); } &&
15893 { ac_try='test -s conftest.$ac_objext' 17785 { ac_try='test -s conftest.$ac_objext'
15894 { (eval echo "$as_me:15894: \"$ac_try\"") >&5 17786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15895 (eval $ac_try) 2>&5 17787 (eval $ac_try) 2>&5
15896 ac_status=$? 17788 ac_status=$?
15897 echo "$as_me:15897: \$? = $ac_status" >&5 17789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); }; }; then 17790 (exit $ac_status); }; }; then
15899 echo "$as_me:15899: result: yes" >&5 17791 echo "$as_me:$LINENO: result: yes" >&5
15900echo "${ECHO_T}yes" >&6 17792echo "${ECHO_T}yes" >&6
15901else 17793else
15902 echo "$as_me: failed program was:" >&5 17794 echo "$as_me: failed program was:" >&5
15903cat conftest.$ac_ext >&5 17795sed 's/^/| /' conftest.$ac_ext >&5
15904 echo "$as_me:15904: result: no" >&5 17796
17797 echo "$as_me:$LINENO: result: no" >&5
15905echo "${ECHO_T}no" >&6 17798echo "${ECHO_T}no" >&6
15906 system_wtmp_path=no 17799 system_wtmp_path=no
15907 17800
@@ -15915,25 +17808,30 @@ if test -z "$conf_wtmp_location"; then
15915 fi 17808 fi
15916 done 17809 done
15917 if test -z "$conf_wtmp_location"; then 17810 if test -z "$conf_wtmp_location"; then
15918 cat >>confdefs.h <<\EOF 17811 cat >>confdefs.h <<\_ACEOF
15919#define DISABLE_WTMP 1 17812#define DISABLE_WTMP 1
15920EOF 17813_ACEOF
15921 17814
15922 fi 17815 fi
15923 fi 17816 fi
15924fi 17817fi
15925if test -n "$conf_wtmp_location"; then 17818if test -n "$conf_wtmp_location"; then
15926 cat >>confdefs.h <<EOF 17819 cat >>confdefs.h <<_ACEOF
15927#define CONF_WTMP_FILE "$conf_wtmp_location" 17820#define CONF_WTMP_FILE "$conf_wtmp_location"
15928EOF 17821_ACEOF
15929 17822
15930fi 17823fi
15931 17824
15932echo "$as_me:15932: checking if your system defines UTMPX_FILE" >&5 17825
17826echo "$as_me:$LINENO: checking if your system defines UTMPX_FILE" >&5
15933echo $ECHO_N "checking if your system defines UTMPX_FILE... $ECHO_C" >&6 17827echo $ECHO_N "checking if your system defines UTMPX_FILE... $ECHO_C" >&6
15934cat >conftest.$ac_ext <<_ACEOF 17828cat >conftest.$ac_ext <<_ACEOF
15935#line 15935 "configure" 17829#line $LINENO "configure"
15936#include "confdefs.h" 17830/* confdefs.h. */
17831_ACEOF
17832cat confdefs.h >>conftest.$ac_ext
17833cat >>conftest.$ac_ext <<_ACEOF
17834/* end confdefs.h. */
15937 17835
15938#include <sys/types.h> 17836#include <sys/types.h>
15939#include <utmp.h> 17837#include <utmp.h>
@@ -15953,23 +17851,24 @@ main ()
15953} 17851}
15954_ACEOF 17852_ACEOF
15955rm -f conftest.$ac_objext 17853rm -f conftest.$ac_objext
15956if { (eval echo "$as_me:15956: \"$ac_compile\"") >&5 17854if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15957 (eval $ac_compile) 2>&5 17855 (eval $ac_compile) 2>&5
15958 ac_status=$? 17856 ac_status=$?
15959 echo "$as_me:15959: \$? = $ac_status" >&5 17857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15960 (exit $ac_status); } && 17858 (exit $ac_status); } &&
15961 { ac_try='test -s conftest.$ac_objext' 17859 { ac_try='test -s conftest.$ac_objext'
15962 { (eval echo "$as_me:15962: \"$ac_try\"") >&5 17860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15963 (eval $ac_try) 2>&5 17861 (eval $ac_try) 2>&5
15964 ac_status=$? 17862 ac_status=$?
15965 echo "$as_me:15965: \$? = $ac_status" >&5 17863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15966 (exit $ac_status); }; }; then 17864 (exit $ac_status); }; }; then
15967 echo "$as_me:15967: result: yes" >&5 17865 echo "$as_me:$LINENO: result: yes" >&5
15968echo "${ECHO_T}yes" >&6 17866echo "${ECHO_T}yes" >&6
15969else 17867else
15970 echo "$as_me: failed program was:" >&5 17868 echo "$as_me: failed program was:" >&5
15971cat conftest.$ac_ext >&5 17869sed 's/^/| /' conftest.$ac_ext >&5
15972 echo "$as_me:15972: result: no" >&5 17870
17871 echo "$as_me:$LINENO: result: no" >&5
15973echo "${ECHO_T}no" >&6 17872echo "${ECHO_T}no" >&6
15974 system_utmpx_path=no 17873 system_utmpx_path=no
15975 17874
@@ -15977,23 +17876,27 @@ fi
15977rm -f conftest.$ac_objext conftest.$ac_ext 17876rm -f conftest.$ac_objext conftest.$ac_ext
15978if test -z "$conf_utmpx_location"; then 17877if test -z "$conf_utmpx_location"; then
15979 if test x"$system_utmpx_path" = x"no" ; then 17878 if test x"$system_utmpx_path" = x"no" ; then
15980 cat >>confdefs.h <<\EOF 17879 cat >>confdefs.h <<\_ACEOF
15981#define DISABLE_UTMPX 1 17880#define DISABLE_UTMPX 1
15982EOF 17881_ACEOF
15983 17882
15984 fi 17883 fi
15985else 17884else
15986 cat >>confdefs.h <<EOF 17885 cat >>confdefs.h <<_ACEOF
15987#define CONF_UTMPX_FILE "$conf_utmpx_location" 17886#define CONF_UTMPX_FILE "$conf_utmpx_location"
15988EOF 17887_ACEOF
15989 17888
15990fi 17889fi
15991 17890
15992echo "$as_me:15992: checking if your system defines WTMPX_FILE" >&5 17891echo "$as_me:$LINENO: checking if your system defines WTMPX_FILE" >&5
15993echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6 17892echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6
15994cat >conftest.$ac_ext <<_ACEOF 17893cat >conftest.$ac_ext <<_ACEOF
15995#line 15995 "configure" 17894#line $LINENO "configure"
15996#include "confdefs.h" 17895/* confdefs.h. */
17896_ACEOF
17897cat confdefs.h >>conftest.$ac_ext
17898cat >>conftest.$ac_ext <<_ACEOF
17899/* end confdefs.h. */
15997 17900
15998#include <sys/types.h> 17901#include <sys/types.h>
15999#include <utmp.h> 17902#include <utmp.h>
@@ -16013,23 +17916,24 @@ main ()
16013} 17916}
16014_ACEOF 17917_ACEOF
16015rm -f conftest.$ac_objext 17918rm -f conftest.$ac_objext
16016if { (eval echo "$as_me:16016: \"$ac_compile\"") >&5 17919if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16017 (eval $ac_compile) 2>&5 17920 (eval $ac_compile) 2>&5
16018 ac_status=$? 17921 ac_status=$?
16019 echo "$as_me:16019: \$? = $ac_status" >&5 17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); } && 17923 (exit $ac_status); } &&
16021 { ac_try='test -s conftest.$ac_objext' 17924 { ac_try='test -s conftest.$ac_objext'
16022 { (eval echo "$as_me:16022: \"$ac_try\"") >&5 17925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16023 (eval $ac_try) 2>&5 17926 (eval $ac_try) 2>&5
16024 ac_status=$? 17927 ac_status=$?
16025 echo "$as_me:16025: \$? = $ac_status" >&5 17928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026 (exit $ac_status); }; }; then 17929 (exit $ac_status); }; }; then
16027 echo "$as_me:16027: result: yes" >&5 17930 echo "$as_me:$LINENO: result: yes" >&5
16028echo "${ECHO_T}yes" >&6 17931echo "${ECHO_T}yes" >&6
16029else 17932else
16030 echo "$as_me: failed program was:" >&5 17933 echo "$as_me: failed program was:" >&5
16031cat conftest.$ac_ext >&5 17934sed 's/^/| /' conftest.$ac_ext >&5
16032 echo "$as_me:16032: result: no" >&5 17935
17936 echo "$as_me:$LINENO: result: no" >&5
16033echo "${ECHO_T}no" >&6 17937echo "${ECHO_T}no" >&6
16034 system_wtmpx_path=no 17938 system_wtmpx_path=no
16035 17939
@@ -16037,21 +17941,22 @@ fi
16037rm -f conftest.$ac_objext conftest.$ac_ext 17941rm -f conftest.$ac_objext conftest.$ac_ext
16038if test -z "$conf_wtmpx_location"; then 17942if test -z "$conf_wtmpx_location"; then
16039 if test x"$system_wtmpx_path" = x"no" ; then 17943 if test x"$system_wtmpx_path" = x"no" ; then
16040 cat >>confdefs.h <<\EOF 17944 cat >>confdefs.h <<\_ACEOF
16041#define DISABLE_WTMPX 1 17945#define DISABLE_WTMPX 1
16042EOF 17946_ACEOF
16043 17947
16044 fi 17948 fi
16045else 17949else
16046 cat >>confdefs.h <<EOF 17950 cat >>confdefs.h <<_ACEOF
16047#define CONF_WTMPX_FILE "$conf_wtmpx_location" 17951#define CONF_WTMPX_FILE "$conf_wtmpx_location"
16048EOF 17952_ACEOF
16049 17953
16050fi 17954fi
16051 17955
17956
16052if test ! -z "$blibpath" ; then 17957if test ! -z "$blibpath" ; then
16053 LDFLAGS="$LDFLAGS $blibflags$blibpath" 17958 LDFLAGS="$LDFLAGS $blibflags$blibpath"
16054 { echo "$as_me:16054: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&5 17959 { echo "$as_me:$LINENO: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&5
16055echo "$as_me: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&2;} 17960echo "$as_me: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&2;}
16056fi 17961fi
16057 17962
@@ -16062,7 +17967,8 @@ if test "$ac_cv_lib_pam_pam_set_item" = yes ; then
16062 LIBS=`echo $LIBS | sed 's/-ldl //'` 17967 LIBS=`echo $LIBS | sed 's/-ldl //'`
16063fi 17968fi
16064 17969
16065ac_config_files="$ac_config_files Makefile openbsd-compat/Makefile scard/Makefile ssh_prng_cmds" 17970
17971 ac_config_files="$ac_config_files Makefile openbsd-compat/Makefile scard/Makefile ssh_prng_cmds"
16066 17972
16067cat >confcache <<\_ACEOF 17973cat >confcache <<\_ACEOF
16068# This file is a shell script that caches the results of configure 17974# This file is a shell script that caches the results of configure
@@ -16074,7 +17980,7 @@ cat >confcache <<\_ACEOF
16074# config.status only pays attention to the cache file if you give it 17980# config.status only pays attention to the cache file if you give it
16075# the --recheck option to rerun configure. 17981# the --recheck option to rerun configure.
16076# 17982#
16077# `ac_cv_env_foo' variables (set or unset) will be overriden when 17983# `ac_cv_env_foo' variables (set or unset) will be overridden when
16078# loading this file, other *unset* `ac_cv_foo' will be assigned the 17984# loading this file, other *unset* `ac_cv_foo' will be assigned the
16079# following values. 17985# following values.
16080 17986
@@ -16109,7 +18015,7 @@ _ACEOF
16109 t end 18015 t end
16110 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 18016 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16111 : end' >>confcache 18017 : end' >>confcache
16112if cmp -s $cache_file confcache; then :; else 18018if diff $cache_file confcache >/dev/null 2>&1; then :; else
16113 if test -w $cache_file; then 18019 if test -w $cache_file; then
16114 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 18020 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
16115 cat confcache >$cache_file 18021 cat confcache >$cache_file
@@ -16140,35 +18046,227 @@ fi
16140 18046
16141DEFS=-DHAVE_CONFIG_H 18047DEFS=-DHAVE_CONFIG_H
16142 18048
18049ac_libobjs=
18050ac_ltlibobjs=
18051for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18052 # 1. Remove the extension, and $U if already installed.
18053 ac_i=`echo "$ac_i" |
18054 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
18055 # 2. Add them.
18056 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
18057 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
18058done
18059LIBOBJS=$ac_libobjs
18060
18061LTLIBOBJS=$ac_ltlibobjs
18062
18063
18064
16143: ${CONFIG_STATUS=./config.status} 18065: ${CONFIG_STATUS=./config.status}
16144ac_clean_files_save=$ac_clean_files 18066ac_clean_files_save=$ac_clean_files
16145ac_clean_files="$ac_clean_files $CONFIG_STATUS" 18067ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16146{ echo "$as_me:16146: creating $CONFIG_STATUS" >&5 18068{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
16147echo "$as_me: creating $CONFIG_STATUS" >&6;} 18069echo "$as_me: creating $CONFIG_STATUS" >&6;}
16148cat >$CONFIG_STATUS <<_ACEOF 18070cat >$CONFIG_STATUS <<_ACEOF
16149#! $SHELL 18071#! $SHELL
16150# Generated automatically by configure. 18072# Generated by $as_me.
16151# Run this file to recreate the current configuration. 18073# Run this file to recreate the current configuration.
16152# Compiler output produced by configure, useful for debugging 18074# Compiler output produced by configure, useful for debugging
16153# configure, is in config.log if it exists. 18075# configure, is in config.log if it exists.
16154 18076
16155debug=false 18077debug=false
18078ac_cs_recheck=false
18079ac_cs_silent=false
16156SHELL=\${CONFIG_SHELL-$SHELL} 18080SHELL=\${CONFIG_SHELL-$SHELL}
16157ac_cs_invocation="\$0 \$@"
16158
16159_ACEOF 18081_ACEOF
16160 18082
16161cat >>$CONFIG_STATUS <<\_ACEOF 18083cat >>$CONFIG_STATUS <<\_ACEOF
18084## --------------------- ##
18085## M4sh Initialization. ##
18086## --------------------- ##
18087
16162# Be Bourne compatible 18088# Be Bourne compatible
16163if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 18089if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16164 emulate sh 18090 emulate sh
16165 NULLCMD=: 18091 NULLCMD=:
18092 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18093 # is contrary to our usage. Disable this feature.
18094 alias -g '${1+"$@"}'='"$@"'
16166elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 18095elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
16167 set -o posix 18096 set -o posix
16168fi 18097fi
16169 18098
18099# Support unset when possible.
18100if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
18101 as_unset=unset
18102else
18103 as_unset=false
18104fi
18105
18106
18107# Work around bugs in pre-3.0 UWIN ksh.
18108$as_unset ENV MAIL MAILPATH
18109PS1='$ '
18110PS2='> '
18111PS4='+ '
18112
18113# NLS nuisances.
18114for as_var in \
18115 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
18116 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
18117 LC_TELEPHONE LC_TIME
18118do
18119 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
18120 eval $as_var=C; export $as_var
18121 else
18122 $as_unset $as_var
18123 fi
18124done
18125
18126# Required to use basename.
18127if expr a : '\(a\)' >/dev/null 2>&1; then
18128 as_expr=expr
18129else
18130 as_expr=false
18131fi
18132
18133if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
18134 as_basename=basename
18135else
18136 as_basename=false
18137fi
18138
18139
16170# Name of the executable. 18140# Name of the executable.
16171as_me=`echo "$0" |sed 's,.*[\\/],,'` 18141as_me=`$as_basename "$0" ||
18142$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18143 X"$0" : 'X\(//\)$' \| \
18144 X"$0" : 'X\(/\)$' \| \
18145 . : '\(.\)' 2>/dev/null ||
18146echo X/"$0" |
18147 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
18148 /^X\/\(\/\/\)$/{ s//\1/; q; }
18149 /^X\/\(\/\).*/{ s//\1/; q; }
18150 s/.*/./; q'`
18151
18152
18153# PATH needs CR, and LINENO needs CR and PATH.
18154# Avoid depending upon Character Ranges.
18155as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18156as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18157as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18158as_cr_digits='0123456789'
18159as_cr_alnum=$as_cr_Letters$as_cr_digits
18160
18161# The user is always right.
18162if test "${PATH_SEPARATOR+set}" != set; then
18163 echo "#! /bin/sh" >conf$$.sh
18164 echo "exit 0" >>conf$$.sh
18165 chmod +x conf$$.sh
18166 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
18167 PATH_SEPARATOR=';'
18168 else
18169 PATH_SEPARATOR=:
18170 fi
18171 rm -f conf$$.sh
18172fi
18173
18174
18175 as_lineno_1=$LINENO
18176 as_lineno_2=$LINENO
18177 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
18178 test "x$as_lineno_1" != "x$as_lineno_2" &&
18179 test "x$as_lineno_3" = "x$as_lineno_2" || {
18180 # Find who we are. Look in the path if we contain no path at all
18181 # relative or not.
18182 case $0 in
18183 *[\\/]* ) as_myself=$0 ;;
18184 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18185for as_dir in $PATH
18186do
18187 IFS=$as_save_IFS
18188 test -z "$as_dir" && as_dir=.
18189 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18190done
18191
18192 ;;
18193 esac
18194 # We did not find ourselves, most probably we were run as `sh COMMAND'
18195 # in which case we are not to be found in the path.
18196 if test "x$as_myself" = x; then
18197 as_myself=$0
18198 fi
18199 if test ! -f "$as_myself"; then
18200 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
18201echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
18202 { (exit 1); exit 1; }; }
18203 fi
18204 case $CONFIG_SHELL in
18205 '')
18206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18207for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
18208do
18209 IFS=$as_save_IFS
18210 test -z "$as_dir" && as_dir=.
18211 for as_base in sh bash ksh sh5; do
18212 case $as_dir in
18213 /*)
18214 if ("$as_dir/$as_base" -c '
18215 as_lineno_1=$LINENO
18216 as_lineno_2=$LINENO
18217 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
18218 test "x$as_lineno_1" != "x$as_lineno_2" &&
18219 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
18220 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
18221 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
18222 CONFIG_SHELL=$as_dir/$as_base
18223 export CONFIG_SHELL
18224 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
18225 fi;;
18226 esac
18227 done
18228done
18229;;
18230 esac
18231
18232 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
18233 # uniformly replaced by the line number. The first 'sed' inserts a
18234 # line-number line before each line; the second 'sed' does the real
18235 # work. The second script uses 'N' to pair each line-number line
18236 # with the numbered line, and appends trailing '-' during
18237 # substitution so that $LINENO is not a special case at line end.
18238 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
18239 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
18240 sed '=' <$as_myself |
18241 sed '
18242 N
18243 s,$,-,
18244 : loop
18245 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
18246 t loop
18247 s,-$,,
18248 s,^['$as_cr_digits']*\n,,
18249 ' >$as_me.lineno &&
18250 chmod +x $as_me.lineno ||
18251 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
18252echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
18253 { (exit 1); exit 1; }; }
18254
18255 # Don't try to exec as it changes $[0], causing all sort of problems
18256 # (the dirname of $[0] is not the place where we might find the
18257 # original and so on. Autoconf is especially sensible to this).
18258 . ./$as_me.lineno
18259 # Exit status is that of the last command.
18260 exit
18261}
18262
18263
18264case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
18265 *c*,-n*) ECHO_N= ECHO_C='
18266' ECHO_T=' ' ;;
18267 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
18268 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
18269esac
16172 18270
16173if expr a : '\(a\)' >/dev/null 2>&1; then 18271if expr a : '\(a\)' >/dev/null 2>&1; then
16174 as_expr=expr 18272 as_expr=expr
@@ -16194,24 +18292,20 @@ else
16194fi 18292fi
16195rm -f conf$$ conf$$.exe conf$$.file 18293rm -f conf$$ conf$$.exe conf$$.file
16196 18294
16197as_executable_p="test -f" 18295if mkdir -p . 2>/dev/null; then
16198 18296 as_mkdir_p=:
16199# Support unset when possible.
16200if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
16201 as_unset=unset
16202else 18297else
16203 as_unset=false 18298 as_mkdir_p=false
16204fi 18299fi
16205 18300
16206# NLS nuisances. 18301as_executable_p="test -f"
16207$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 18302
16208$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 18303# Sed expression to map a string onto a valid CPP name.
16209$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 18304as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
16210$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 18305
16211$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 18306# Sed expression to map a string onto a valid variable name.
16212$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 18307as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
16213$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 18308
16214$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
16215 18309
16216# IFS 18310# IFS
16217# We need space, tab and new line, in precisely that order. 18311# We need space, tab and new line, in precisely that order.
@@ -16220,10 +18314,34 @@ as_nl='
16220IFS=" $as_nl" 18314IFS=" $as_nl"
16221 18315
16222# CDPATH. 18316# CDPATH.
16223$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 18317$as_unset CDPATH
16224 18318
16225exec 6>&1 18319exec 6>&1
16226 18320
18321# Open the log real soon, to keep \$[0] and so on meaningful, and to
18322# report actual input values of CONFIG_FILES etc. instead of their
18323# values after options handling. Logging --version etc. is OK.
18324exec 5>>config.log
18325{
18326 echo
18327 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18328## Running $as_me. ##
18329_ASBOX
18330} >&5
18331cat >&5 <<_CSEOF
18332
18333This file was extended by $as_me, which was
18334generated by GNU Autoconf 2.57. Invocation command line was
18335
18336 CONFIG_FILES = $CONFIG_FILES
18337 CONFIG_HEADERS = $CONFIG_HEADERS
18338 CONFIG_LINKS = $CONFIG_LINKS
18339 CONFIG_COMMANDS = $CONFIG_COMMANDS
18340 $ $0 $@
18341
18342_CSEOF
18343echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
18344echo >&5
16227_ACEOF 18345_ACEOF
16228 18346
16229# Files that config.status was made for. 18347# Files that config.status was made for.
@@ -16243,7 +18361,7 @@ if test -n "$ac_config_commands"; then
16243 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 18361 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
16244fi 18362fi
16245 18363
16246cat >>$CONFIG_STATUS <<\EOF 18364cat >>$CONFIG_STATUS <<\_ACEOF
16247 18365
16248ac_cs_usage="\ 18366ac_cs_usage="\
16249\`$as_me' instantiates files from templates according to the 18367\`$as_me' instantiates files from templates according to the
@@ -16253,6 +18371,7 @@ Usage: $0 [OPTIONS] [FILE]...
16253 18371
16254 -h, --help print this help, then exit 18372 -h, --help print this help, then exit
16255 -V, --version print version number, then exit 18373 -V, --version print version number, then exit
18374 -q, --quiet do not print progress messages
16256 -d, --debug don't remove temporary files 18375 -d, --debug don't remove temporary files
16257 --recheck update $as_me by reconfiguring in the same conditions 18376 --recheck update $as_me by reconfiguring in the same conditions
16258 --file=FILE[:TEMPLATE] 18377 --file=FILE[:TEMPLATE]
@@ -16267,12 +18386,12 @@ Configuration headers:
16267$config_headers 18386$config_headers
16268 18387
16269Report bugs to <bug-autoconf@gnu.org>." 18388Report bugs to <bug-autoconf@gnu.org>."
16270EOF 18389_ACEOF
16271 18390
16272cat >>$CONFIG_STATUS <<EOF 18391cat >>$CONFIG_STATUS <<_ACEOF
16273ac_cs_version="\\ 18392ac_cs_version="\\
16274config.status 18393config.status
16275configured by $0, generated by GNU Autoconf 2.52, 18394configured by $0, generated by GNU Autoconf 2.57,
16276 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 18395 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
16277 18396
16278Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 18397Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
@@ -16281,9 +18400,9 @@ This config.status script is free software; the Free Software Foundation
16281gives unlimited permission to copy, distribute and modify it." 18400gives unlimited permission to copy, distribute and modify it."
16282srcdir=$srcdir 18401srcdir=$srcdir
16283INSTALL="$INSTALL" 18402INSTALL="$INSTALL"
16284EOF 18403_ACEOF
16285 18404
16286cat >>$CONFIG_STATUS <<\EOF 18405cat >>$CONFIG_STATUS <<\_ACEOF
16287# If no file are specified by the user, then we need to provide default 18406# If no file are specified by the user, then we need to provide default
16288# value. By we need to know if files were specified by the user. 18407# value. By we need to know if files were specified by the user.
16289ac_need_defaults=: 18408ac_need_defaults=:
@@ -16293,30 +18412,30 @@ do
16293 --*=*) 18412 --*=*)
16294 ac_option=`expr "x$1" : 'x\([^=]*\)='` 18413 ac_option=`expr "x$1" : 'x\([^=]*\)='`
16295 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 18414 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
16296 shift 18415 ac_shift=:
16297 set dummy "$ac_option" "$ac_optarg" ${1+"$@"} 18416 ;;
16298 shift 18417 -*)
18418 ac_option=$1
18419 ac_optarg=$2
18420 ac_shift=shift
16299 ;; 18421 ;;
16300 -*);;
16301 *) # This is not an option, so the user has probably given explicit 18422 *) # This is not an option, so the user has probably given explicit
16302 # arguments. 18423 # arguments.
18424 ac_option=$1
16303 ac_need_defaults=false;; 18425 ac_need_defaults=false;;
16304 esac 18426 esac
16305 18427
16306 case $1 in 18428 case $ac_option in
16307 # Handling of the options. 18429 # Handling of the options.
16308EOF 18430_ACEOF
16309cat >>$CONFIG_STATUS <<EOF 18431cat >>$CONFIG_STATUS <<\_ACEOF
16310 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 18432 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16311 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 18433 ac_cs_recheck=: ;;
16312 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
16313EOF
16314cat >>$CONFIG_STATUS <<\EOF
16315 --version | --vers* | -V ) 18434 --version | --vers* | -V )
16316 echo "$ac_cs_version"; exit 0 ;; 18435 echo "$ac_cs_version"; exit 0 ;;
16317 --he | --h) 18436 --he | --h)
16318 # Conflict between --help and --header 18437 # Conflict between --help and --header
16319 { { echo "$as_me:16319: error: ambiguous option: $1 18438 { { echo "$as_me:$LINENO: error: ambiguous option: $1
16320Try \`$0 --help' for more information." >&5 18439Try \`$0 --help' for more information." >&5
16321echo "$as_me: error: ambiguous option: $1 18440echo "$as_me: error: ambiguous option: $1
16322Try \`$0 --help' for more information." >&2;} 18441Try \`$0 --help' for more information." >&2;}
@@ -16326,16 +18445,19 @@ Try \`$0 --help' for more information." >&2;}
16326 --debug | --d* | -d ) 18445 --debug | --d* | -d )
16327 debug=: ;; 18446 debug=: ;;
16328 --file | --fil | --fi | --f ) 18447 --file | --fil | --fi | --f )
16329 shift 18448 $ac_shift
16330 CONFIG_FILES="$CONFIG_FILES $1" 18449 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
16331 ac_need_defaults=false;; 18450 ac_need_defaults=false;;
16332 --header | --heade | --head | --hea ) 18451 --header | --heade | --head | --hea )
16333 shift 18452 $ac_shift
16334 CONFIG_HEADERS="$CONFIG_HEADERS $1" 18453 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
16335 ac_need_defaults=false;; 18454 ac_need_defaults=false;;
18455 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18456 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18457 ac_cs_silent=: ;;
16336 18458
16337 # This is an error. 18459 # This is an error.
16338 -*) { { echo "$as_me:16338: error: unrecognized option: $1 18460 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
16339Try \`$0 --help' for more information." >&5 18461Try \`$0 --help' for more information." >&5
16340echo "$as_me: error: unrecognized option: $1 18462echo "$as_me: error: unrecognized option: $1
16341Try \`$0 --help' for more information." >&2;} 18463Try \`$0 --help' for more information." >&2;}
@@ -16347,25 +18469,27 @@ Try \`$0 --help' for more information." >&2;}
16347 shift 18469 shift
16348done 18470done
16349 18471
16350exec 5>>config.log 18472ac_configure_extra_args=
16351cat >&5 << _ACEOF
16352 18473
16353## ----------------------- ## 18474if $ac_cs_silent; then
16354## Running config.status. ## 18475 exec 6>/dev/null
16355## ----------------------- ## 18476 ac_configure_extra_args="$ac_configure_extra_args --silent"
18477fi
16356 18478
16357This file was extended by $as_me 2.52, executed with 18479_ACEOF
16358 CONFIG_FILES = $CONFIG_FILES 18480cat >>$CONFIG_STATUS <<_ACEOF
16359 CONFIG_HEADERS = $CONFIG_HEADERS 18481if \$ac_cs_recheck; then
16360 CONFIG_LINKS = $CONFIG_LINKS 18482 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
16361 CONFIG_COMMANDS = $CONFIG_COMMANDS 18483 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16362 > $ac_cs_invocation 18484fi
16363on `(hostname || uname -n) 2>/dev/null | sed 1q`
16364 18485
16365_ACEOF 18486_ACEOF
16366EOF
16367 18487
16368cat >>$CONFIG_STATUS <<\EOF 18488
18489
18490
18491
18492cat >>$CONFIG_STATUS <<\_ACEOF
16369for ac_config_target in $ac_config_targets 18493for ac_config_target in $ac_config_targets
16370do 18494do
16371 case "$ac_config_target" in 18495 case "$ac_config_target" in
@@ -16375,7 +18499,7 @@ do
16375 "scard/Makefile" ) CONFIG_FILES="$CONFIG_FILES scard/Makefile" ;; 18499 "scard/Makefile" ) CONFIG_FILES="$CONFIG_FILES scard/Makefile" ;;
16376 "ssh_prng_cmds" ) CONFIG_FILES="$CONFIG_FILES ssh_prng_cmds" ;; 18500 "ssh_prng_cmds" ) CONFIG_FILES="$CONFIG_FILES ssh_prng_cmds" ;;
16377 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 18501 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16378 *) { { echo "$as_me:16378: error: invalid argument: $ac_config_target" >&5 18502 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16379echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 18503echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16380 { (exit 1); exit 1; }; };; 18504 { (exit 1); exit 1; }; };;
16381 esac 18505 esac
@@ -16390,6 +18514,9 @@ if $ac_need_defaults; then
16390 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 18514 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16391fi 18515fi
16392 18516
18517# Have a temporary directory for convenience. Make it in the build tree
18518# simply because there is no reason to put it here, and in addition,
18519# creating and moving files from /tmp can sometimes cause problems.
16393# Create a temporary directory, and hook for its removal unless debugging. 18520# Create a temporary directory, and hook for its removal unless debugging.
16394$debug || 18521$debug ||
16395{ 18522{
@@ -16398,23 +18525,23 @@ $debug ||
16398} 18525}
16399 18526
16400# Create a (secure) tmp directory for tmp files. 18527# Create a (secure) tmp directory for tmp files.
16401: ${TMPDIR=/tmp} 18528
16402{ 18529{
16403 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && 18530 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
16404 test -n "$tmp" && test -d "$tmp" 18531 test -n "$tmp" && test -d "$tmp"
16405} || 18532} ||
16406{ 18533{
16407 tmp=$TMPDIR/cs$$-$RANDOM 18534 tmp=./confstat$$-$RANDOM
16408 (umask 077 && mkdir $tmp) 18535 (umask 077 && mkdir $tmp)
16409} || 18536} ||
16410{ 18537{
16411 echo "$me: cannot create a temporary directory in $TMPDIR" >&2 18538 echo "$me: cannot create a temporary directory in ." >&2
16412 { (exit 1); exit 1; } 18539 { (exit 1); exit 1; }
16413} 18540}
16414 18541
16415EOF 18542_ACEOF
16416 18543
16417cat >>$CONFIG_STATUS <<EOF 18544cat >>$CONFIG_STATUS <<_ACEOF
16418 18545
16419# 18546#
16420# CONFIG_FILES section. 18547# CONFIG_FILES section.
@@ -16427,6 +18554,12 @@ if test -n "\$CONFIG_FILES"; then
16427 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 18554 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
16428 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 18555 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
16429s,@SHELL@,$SHELL,;t t 18556s,@SHELL@,$SHELL,;t t
18557s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
18558s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
18559s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
18560s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
18561s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
18562s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
16430s,@exec_prefix@,$exec_prefix,;t t 18563s,@exec_prefix@,$exec_prefix,;t t
16431s,@prefix@,$prefix,;t t 18564s,@prefix@,$prefix,;t t
16432s,@program_transform_name@,$program_transform_name,;t t 18565s,@program_transform_name@,$program_transform_name,;t t
@@ -16442,19 +18575,13 @@ s,@includedir@,$includedir,;t t
16442s,@oldincludedir@,$oldincludedir,;t t 18575s,@oldincludedir@,$oldincludedir,;t t
16443s,@infodir@,$infodir,;t t 18576s,@infodir@,$infodir,;t t
16444s,@mandir@,$mandir,;t t 18577s,@mandir@,$mandir,;t t
16445s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
16446s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
16447s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
16448s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
16449s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
16450s,@build_alias@,$build_alias,;t t 18578s,@build_alias@,$build_alias,;t t
16451s,@host_alias@,$host_alias,;t t 18579s,@host_alias@,$host_alias,;t t
16452s,@target_alias@,$target_alias,;t t 18580s,@target_alias@,$target_alias,;t t
18581s,@DEFS@,$DEFS,;t t
16453s,@ECHO_C@,$ECHO_C,;t t 18582s,@ECHO_C@,$ECHO_C,;t t
16454s,@ECHO_N@,$ECHO_N,;t t 18583s,@ECHO_N@,$ECHO_N,;t t
16455s,@ECHO_T@,$ECHO_T,;t t 18584s,@ECHO_T@,$ECHO_T,;t t
16456s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
16457s,@DEFS@,$DEFS,;t t
16458s,@LIBS@,$LIBS,;t t 18585s,@LIBS@,$LIBS,;t t
16459s,@CC@,$CC,;t t 18586s,@CC@,$CC,;t t
16460s,@CFLAGS@,$CFLAGS,;t t 18587s,@CFLAGS@,$CFLAGS,;t t
@@ -16471,7 +18598,6 @@ s,@host@,$host,;t t
16471s,@host_cpu@,$host_cpu,;t t 18598s,@host_cpu@,$host_cpu,;t t
16472s,@host_vendor@,$host_vendor,;t t 18599s,@host_vendor@,$host_vendor,;t t
16473s,@host_os@,$host_os,;t t 18600s,@host_os@,$host_os,;t t
16474s,@AWK@,$AWK,;t t
16475s,@CPP@,$CPP,;t t 18601s,@CPP@,$CPP,;t t
16476s,@RANLIB@,$RANLIB,;t t 18602s,@RANLIB@,$RANLIB,;t t
16477s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 18603s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
@@ -16486,6 +18612,7 @@ s,@TEST_MINUS_S_SH@,$TEST_MINUS_S_SH,;t t
16486s,@SH@,$SH,;t t 18612s,@SH@,$SH,;t t
16487s,@LOGIN_PROGRAM_FALLBACK@,$LOGIN_PROGRAM_FALLBACK,;t t 18613s,@LOGIN_PROGRAM_FALLBACK@,$LOGIN_PROGRAM_FALLBACK,;t t
16488s,@LD@,$LD,;t t 18614s,@LD@,$LD,;t t
18615s,@EGREP@,$EGREP,;t t
16489s,@LIBWRAP@,$LIBWRAP,;t t 18616s,@LIBWRAP@,$LIBWRAP,;t t
16490s,@LIBPAM@,$LIBPAM,;t t 18617s,@LIBPAM@,$LIBPAM,;t t
16491s,@INSTALL_SSH_RAND_HELPER@,$INSTALL_SSH_RAND_HELPER,;t t 18618s,@INSTALL_SSH_RAND_HELPER@,$INSTALL_SSH_RAND_HELPER,;t t
@@ -16517,11 +18644,13 @@ s,@MANTYPE@,$MANTYPE,;t t
16517s,@mansubdir@,$mansubdir,;t t 18644s,@mansubdir@,$mansubdir,;t t
16518s,@user_path@,$user_path,;t t 18645s,@user_path@,$user_path,;t t
16519s,@piddir@,$piddir,;t t 18646s,@piddir@,$piddir,;t t
18647s,@LIBOBJS@,$LIBOBJS,;t t
18648s,@LTLIBOBJS@,$LTLIBOBJS,;t t
16520CEOF 18649CEOF
16521 18650
16522EOF 18651_ACEOF
16523 18652
16524 cat >>$CONFIG_STATUS <<\EOF 18653 cat >>$CONFIG_STATUS <<\_ACEOF
16525 # Split the substitutions into bite-sized pieces for seds with 18654 # Split the substitutions into bite-sized pieces for seds with
16526 # small command number limits, like on Digital OSF/1 and HP-UX. 18655 # small command number limits, like on Digital OSF/1 and HP-UX.
16527 ac_max_sed_lines=48 18656 ac_max_sed_lines=48
@@ -16560,8 +18689,8 @@ EOF
16560 fi 18689 fi
16561fi # test -n "$CONFIG_FILES" 18690fi # test -n "$CONFIG_FILES"
16562 18691
16563EOF 18692_ACEOF
16564cat >>$CONFIG_STATUS <<\EOF 18693cat >>$CONFIG_STATUS <<\_ACEOF
16565for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 18694for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
16566 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 18695 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16567 case $ac_file in 18696 case $ac_file in
@@ -16575,7 +18704,8 @@ for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
16575 esac 18704 esac
16576 18705
16577 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 18706 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
16578 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18707 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
18708$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16579 X"$ac_file" : 'X\(//\)[^/]' \| \ 18709 X"$ac_file" : 'X\(//\)[^/]' \| \
16580 X"$ac_file" : 'X\(//\)$' \| \ 18710 X"$ac_file" : 'X\(//\)$' \| \
16581 X"$ac_file" : 'X\(/\)' \| \ 18711 X"$ac_file" : 'X\(/\)' \| \
@@ -16586,60 +18716,84 @@ echo X"$ac_file" |
16586 /^X\(\/\/\)$/{ s//\1/; q; } 18716 /^X\(\/\/\)$/{ s//\1/; q; }
16587 /^X\(\/\).*/{ s//\1/; q; } 18717 /^X\(\/\).*/{ s//\1/; q; }
16588 s/.*/./; q'` 18718 s/.*/./; q'`
16589 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 18719 { if $as_mkdir_p; then
16590 { case "$ac_dir" in 18720 mkdir -p "$ac_dir"
16591 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
16592 *) as_incr_dir=.;;
16593esac
16594as_dummy="$ac_dir"
16595for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
16596 case $as_mkdir_dir in
16597 # Skip DOS drivespec
16598 ?:) as_incr_dir=$as_mkdir_dir ;;
16599 *)
16600 as_incr_dir=$as_incr_dir/$as_mkdir_dir
16601 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
16602 ;;
16603 esac
16604done; }
16605
16606 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
16607 # A "../" for each directory in $ac_dir_suffix.
16608 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
16609 else 18721 else
16610 ac_dir_suffix= ac_dots= 18722 as_dir="$ac_dir"
16611 fi 18723 as_dirs=
18724 while test ! -d "$as_dir"; do
18725 as_dirs="$as_dir $as_dirs"
18726 as_dir=`(dirname "$as_dir") 2>/dev/null ||
18727$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18728 X"$as_dir" : 'X\(//\)[^/]' \| \
18729 X"$as_dir" : 'X\(//\)$' \| \
18730 X"$as_dir" : 'X\(/\)' \| \
18731 . : '\(.\)' 2>/dev/null ||
18732echo X"$as_dir" |
18733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18734 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18735 /^X\(\/\/\)$/{ s//\1/; q; }
18736 /^X\(\/\).*/{ s//\1/; q; }
18737 s/.*/./; q'`
18738 done
18739 test ! -n "$as_dirs" || mkdir $as_dirs
18740 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18741echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18742 { (exit 1); exit 1; }; }; }
16612 18743
16613 case $srcdir in 18744 ac_builddir=.
16614 .) ac_srcdir=. 18745
16615 if test -z "$ac_dots"; then 18746if test "$ac_dir" != .; then
16616 ac_top_srcdir=. 18747 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16617 else 18748 # A "../" for each directory in $ac_dir_suffix.
16618 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` 18749 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16619 fi ;; 18750else
16620 [\\/]* | ?:[\\/]* ) 18751 ac_dir_suffix= ac_top_builddir=
16621 ac_srcdir=$srcdir$ac_dir_suffix; 18752fi
16622 ac_top_srcdir=$srcdir ;; 18753
18754case $srcdir in
18755 .) # No --srcdir option. We are building in place.
18756 ac_srcdir=.
18757 if test -z "$ac_top_builddir"; then
18758 ac_top_srcdir=.
18759 else
18760 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
18761 fi ;;
18762 [\\/]* | ?:[\\/]* ) # Absolute path.
18763 ac_srcdir=$srcdir$ac_dir_suffix;
18764 ac_top_srcdir=$srcdir ;;
16623 *) # Relative path. 18765 *) # Relative path.
16624 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix 18766 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
16625 ac_top_srcdir=$ac_dots$srcdir ;; 18767 ac_top_srcdir=$ac_top_builddir$srcdir ;;
16626 esac 18768esac
18769# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
18770# absolute.
18771ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
18772ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
18773ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
18774ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
18775
16627 18776
16628 case $INSTALL in 18777 case $INSTALL in
16629 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 18778 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16630 *) ac_INSTALL=$ac_dots$INSTALL ;; 18779 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
16631 esac 18780 esac
16632 18781
16633 if test x"$ac_file" != x-; then 18782 if test x"$ac_file" != x-; then
16634 { echo "$as_me:16634: creating $ac_file" >&5 18783 { echo "$as_me:$LINENO: creating $ac_file" >&5
16635echo "$as_me: creating $ac_file" >&6;} 18784echo "$as_me: creating $ac_file" >&6;}
16636 rm -f "$ac_file" 18785 rm -f "$ac_file"
16637 fi 18786 fi
16638 # Let's still pretend it is `configure' which instantiates (i.e., don't 18787 # Let's still pretend it is `configure' which instantiates (i.e., don't
16639 # use $as_me), people would be surprised to read: 18788 # use $as_me), people would be surprised to read:
16640 # /* config.h. Generated automatically by config.status. */ 18789 # /* config.h. Generated by config.status. */
16641 configure_input="Generated automatically from `echo $ac_file_in | 18790 if test x"$ac_file" = x-; then
16642 sed 's,.*/,,'` by configure." 18791 configure_input=
18792 else
18793 configure_input="$ac_file. "
18794 fi
18795 configure_input=$configure_input"Generated from `echo $ac_file_in |
18796 sed 's,.*/,,'` by configure."
16643 18797
16644 # First look for the input files in the build tree, otherwise in the 18798 # First look for the input files in the build tree, otherwise in the
16645 # src tree. 18799 # src tree.
@@ -16649,7 +18803,7 @@ echo "$as_me: creating $ac_file" >&6;}
16649 -) echo $tmp/stdin ;; 18803 -) echo $tmp/stdin ;;
16650 [\\/$]*) 18804 [\\/$]*)
16651 # Absolute (can't be DOS-style, as IFS=:) 18805 # Absolute (can't be DOS-style, as IFS=:)
16652 test -f "$f" || { { echo "$as_me:16652: error: cannot find input file: $f" >&5 18806 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16653echo "$as_me: error: cannot find input file: $f" >&2;} 18807echo "$as_me: error: cannot find input file: $f" >&2;}
16654 { (exit 1); exit 1; }; } 18808 { (exit 1); exit 1; }; }
16655 echo $f;; 18809 echo $f;;
@@ -16662,23 +18816,29 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
16662 echo $srcdir/$f 18816 echo $srcdir/$f
16663 else 18817 else
16664 # /dev/null tree 18818 # /dev/null tree
16665 { { echo "$as_me:16665: error: cannot find input file: $f" >&5 18819 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16666echo "$as_me: error: cannot find input file: $f" >&2;} 18820echo "$as_me: error: cannot find input file: $f" >&2;}
16667 { (exit 1); exit 1; }; } 18821 { (exit 1); exit 1; }; }
16668 fi;; 18822 fi;;
16669 esac 18823 esac
16670 done` || { (exit 1); exit 1; } 18824 done` || { (exit 1); exit 1; }
16671EOF 18825_ACEOF
16672cat >>$CONFIG_STATUS <<EOF 18826cat >>$CONFIG_STATUS <<_ACEOF
16673 sed "$ac_vpsub 18827 sed "$ac_vpsub
16674$extrasub 18828$extrasub
16675EOF 18829_ACEOF
16676cat >>$CONFIG_STATUS <<\EOF 18830cat >>$CONFIG_STATUS <<\_ACEOF
16677:t 18831:t
16678/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 18832/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16679s,@configure_input@,$configure_input,;t t 18833s,@configure_input@,$configure_input,;t t
16680s,@srcdir@,$ac_srcdir,;t t 18834s,@srcdir@,$ac_srcdir,;t t
18835s,@abs_srcdir@,$ac_abs_srcdir,;t t
16681s,@top_srcdir@,$ac_top_srcdir,;t t 18836s,@top_srcdir@,$ac_top_srcdir,;t t
18837s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
18838s,@builddir@,$ac_builddir,;t t
18839s,@abs_builddir@,$ac_abs_builddir,;t t
18840s,@top_builddir@,$ac_top_builddir,;t t
18841s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
16682s,@INSTALL@,$ac_INSTALL,;t t 18842s,@INSTALL@,$ac_INSTALL,;t t
16683" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 18843" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
16684 rm -f $tmp/stdin 18844 rm -f $tmp/stdin
@@ -16690,8 +18850,8 @@ s,@INSTALL@,$ac_INSTALL,;t t
16690 fi 18850 fi
16691 18851
16692done 18852done
16693EOF 18853_ACEOF
16694cat >>$CONFIG_STATUS <<\EOF 18854cat >>$CONFIG_STATUS <<\_ACEOF
16695 18855
16696# 18856#
16697# CONFIG_HEADER section. 18857# CONFIG_HEADER section.
@@ -16723,7 +18883,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
16723 * ) ac_file_in=$ac_file.in ;; 18883 * ) ac_file_in=$ac_file.in ;;
16724 esac 18884 esac
16725 18885
16726 test x"$ac_file" != x- && { echo "$as_me:16726: creating $ac_file" >&5 18886 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
16727echo "$as_me: creating $ac_file" >&6;} 18887echo "$as_me: creating $ac_file" >&6;}
16728 18888
16729 # First look for the input files in the build tree, otherwise in the 18889 # First look for the input files in the build tree, otherwise in the
@@ -16734,7 +18894,7 @@ echo "$as_me: creating $ac_file" >&6;}
16734 -) echo $tmp/stdin ;; 18894 -) echo $tmp/stdin ;;
16735 [\\/$]*) 18895 [\\/$]*)
16736 # Absolute (can't be DOS-style, as IFS=:) 18896 # Absolute (can't be DOS-style, as IFS=:)
16737 test -f "$f" || { { echo "$as_me:16737: error: cannot find input file: $f" >&5 18897 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16738echo "$as_me: error: cannot find input file: $f" >&2;} 18898echo "$as_me: error: cannot find input file: $f" >&2;}
16739 { (exit 1); exit 1; }; } 18899 { (exit 1); exit 1; }; }
16740 echo $f;; 18900 echo $f;;
@@ -16747,7 +18907,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
16747 echo $srcdir/$f 18907 echo $srcdir/$f
16748 else 18908 else
16749 # /dev/null tree 18909 # /dev/null tree
16750 { { echo "$as_me:16750: error: cannot find input file: $f" >&5 18910 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16751echo "$as_me: error: cannot find input file: $f" >&2;} 18911echo "$as_me: error: cannot find input file: $f" >&2;}
16752 { (exit 1); exit 1; }; } 18912 { (exit 1); exit 1; }; }
16753 fi;; 18913 fi;;
@@ -16756,7 +18916,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
16756 # Remove the trailing spaces. 18916 # Remove the trailing spaces.
16757 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 18917 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
16758 18918
16759EOF 18919_ACEOF
16760 18920
16761# Transform confdefs.h into two sed scripts, `conftest.defines' and 18921# Transform confdefs.h into two sed scripts, `conftest.defines' and
16762# `conftest.undefs', that substitutes the proper values into 18922# `conftest.undefs', that substitutes the proper values into
@@ -16772,7 +18932,7 @@ rm -f conftest.defines conftest.undefs
16772# `end' is used to avoid that the second main sed command (meant for 18932# `end' is used to avoid that the second main sed command (meant for
16773# 0-ary CPP macros) applies to n-ary macro definitions. 18933# 0-ary CPP macros) applies to n-ary macro definitions.
16774# See the Autoconf documentation for `clear'. 18934# See the Autoconf documentation for `clear'.
16775cat >confdef2sed.sed <<\EOF 18935cat >confdef2sed.sed <<\_ACEOF
16776s/[\\&,]/\\&/g 18936s/[\\&,]/\\&/g
16777s,[\\$`],\\&,g 18937s,[\\$`],\\&,g
16778t clear 18938t clear
@@ -16781,7 +18941,7 @@ s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1
16781t end 18941t end
16782s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 18942s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
16783: end 18943: end
16784EOF 18944_ACEOF
16785# If some macros were called several times there might be several times 18945# If some macros were called several times there might be several times
16786# the same #defines, which is useless. Nevertheless, we may not want to 18946# the same #defines, which is useless. Nevertheless, we may not want to
16787# sort them, since we want the *last* AC-DEFINE to be honored. 18947# sort them, since we want the *last* AC-DEFINE to be honored.
@@ -16792,14 +18952,14 @@ rm -f confdef2sed.sed
16792# This sed command replaces #undef with comments. This is necessary, for 18952# This sed command replaces #undef with comments. This is necessary, for
16793# example, in the case of _POSIX_SOURCE, which is predefined and required 18953# example, in the case of _POSIX_SOURCE, which is predefined and required
16794# on some systems where configure will not decide to define it. 18954# on some systems where configure will not decide to define it.
16795cat >>conftest.undefs <<\EOF 18955cat >>conftest.undefs <<\_ACEOF
16796s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 18956s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
16797EOF 18957_ACEOF
16798 18958
16799# Break up conftest.defines because some shells have a limit on the size 18959# Break up conftest.defines because some shells have a limit on the size
16800# of here documents, and old seds have small limits too (100 cmds). 18960# of here documents, and old seds have small limits too (100 cmds).
16801echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 18961echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
16802echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 18962echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
16803echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 18963echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
16804echo ' :' >>$CONFIG_STATUS 18964echo ' :' >>$CONFIG_STATUS
16805rm -f conftest.tail 18965rm -f conftest.tail
@@ -16823,7 +18983,7 @@ do
16823 mv conftest.tail conftest.defines 18983 mv conftest.tail conftest.defines
16824done 18984done
16825rm -f conftest.defines 18985rm -f conftest.defines
16826echo ' fi # egrep' >>$CONFIG_STATUS 18986echo ' fi # grep' >>$CONFIG_STATUS
16827echo >>$CONFIG_STATUS 18987echo >>$CONFIG_STATUS
16828 18988
16829# Break up conftest.undefs because some shells have a limit on the size 18989# Break up conftest.undefs because some shells have a limit on the size
@@ -16851,23 +19011,24 @@ do
16851done 19011done
16852rm -f conftest.undefs 19012rm -f conftest.undefs
16853 19013
16854cat >>$CONFIG_STATUS <<\EOF 19014cat >>$CONFIG_STATUS <<\_ACEOF
16855 # Let's still pretend it is `configure' which instantiates (i.e., don't 19015 # Let's still pretend it is `configure' which instantiates (i.e., don't
16856 # use $as_me), people would be surprised to read: 19016 # use $as_me), people would be surprised to read:
16857 # /* config.h. Generated automatically by config.status. */ 19017 # /* config.h. Generated by config.status. */
16858 if test x"$ac_file" = x-; then 19018 if test x"$ac_file" = x-; then
16859 echo "/* Generated automatically by configure. */" >$tmp/config.h 19019 echo "/* Generated by configure. */" >$tmp/config.h
16860 else 19020 else
16861 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h 19021 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
16862 fi 19022 fi
16863 cat $tmp/in >>$tmp/config.h 19023 cat $tmp/in >>$tmp/config.h
16864 rm -f $tmp/in 19024 rm -f $tmp/in
16865 if test x"$ac_file" != x-; then 19025 if test x"$ac_file" != x-; then
16866 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 19026 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
16867 { echo "$as_me:16867: $ac_file is unchanged" >&5 19027 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16868echo "$as_me: $ac_file is unchanged" >&6;} 19028echo "$as_me: $ac_file is unchanged" >&6;}
16869 else 19029 else
16870 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19030 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
19031$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16871 X"$ac_file" : 'X\(//\)[^/]' \| \ 19032 X"$ac_file" : 'X\(//\)[^/]' \| \
16872 X"$ac_file" : 'X\(//\)$' \| \ 19033 X"$ac_file" : 'X\(//\)$' \| \
16873 X"$ac_file" : 'X\(/\)' \| \ 19034 X"$ac_file" : 'X\(/\)' \| \
@@ -16878,24 +19039,31 @@ echo X"$ac_file" |
16878 /^X\(\/\/\)$/{ s//\1/; q; } 19039 /^X\(\/\/\)$/{ s//\1/; q; }
16879 /^X\(\/\).*/{ s//\1/; q; } 19040 /^X\(\/\).*/{ s//\1/; q; }
16880 s/.*/./; q'` 19041 s/.*/./; q'`
16881 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 19042 { if $as_mkdir_p; then
16882 { case "$ac_dir" in 19043 mkdir -p "$ac_dir"
16883 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 19044 else
16884 *) as_incr_dir=.;; 19045 as_dir="$ac_dir"
16885esac 19046 as_dirs=
16886as_dummy="$ac_dir" 19047 while test ! -d "$as_dir"; do
16887for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 19048 as_dirs="$as_dir $as_dirs"
16888 case $as_mkdir_dir in 19049 as_dir=`(dirname "$as_dir") 2>/dev/null ||
16889 # Skip DOS drivespec 19050$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16890 ?:) as_incr_dir=$as_mkdir_dir ;; 19051 X"$as_dir" : 'X\(//\)[^/]' \| \
16891 *) 19052 X"$as_dir" : 'X\(//\)$' \| \
16892 as_incr_dir=$as_incr_dir/$as_mkdir_dir 19053 X"$as_dir" : 'X\(/\)' \| \
16893 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 19054 . : '\(.\)' 2>/dev/null ||
16894 ;; 19055echo X"$as_dir" |
16895 esac 19056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16896done; } 19057 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19058 /^X\(\/\/\)$/{ s//\1/; q; }
19059 /^X\(\/\).*/{ s//\1/; q; }
19060 s/.*/./; q'`
19061 done
19062 test ! -n "$as_dirs" || mkdir $as_dirs
19063 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19064echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19065 { (exit 1); exit 1; }; }; }
16897 19066
16898 fi
16899 rm -f $ac_file 19067 rm -f $ac_file
16900 mv $tmp/config.h $ac_file 19068 mv $tmp/config.h $ac_file
16901 fi 19069 fi
@@ -16904,15 +19072,16 @@ done; }
16904 rm -f $tmp/config.h 19072 rm -f $tmp/config.h
16905 fi 19073 fi
16906done 19074done
16907EOF 19075_ACEOF
16908 19076
16909cat >>$CONFIG_STATUS <<\EOF 19077cat >>$CONFIG_STATUS <<\_ACEOF
16910 19078
16911{ (exit 0); exit 0; } 19079{ (exit 0); exit 0; }
16912EOF 19080_ACEOF
16913chmod +x $CONFIG_STATUS 19081chmod +x $CONFIG_STATUS
16914ac_clean_files=$ac_clean_files_save 19082ac_clean_files=$ac_clean_files_save
16915 19083
19084
16916# configure is writing to config.log, and then calls config.status. 19085# configure is writing to config.log, and then calls config.status.
16917# config.status does its own redirection, appending to config.log. 19086# config.status does its own redirection, appending to config.log.
16918# Unfortunately, on DOS this fails, as config.log is still kept open 19087# Unfortunately, on DOS this fails, as config.log is still kept open
@@ -16923,14 +19092,18 @@ ac_clean_files=$ac_clean_files_save
16923# need to make the FD available again. 19092# need to make the FD available again.
16924if test "$no_create" != yes; then 19093if test "$no_create" != yes; then
16925 ac_cs_success=: 19094 ac_cs_success=:
19095 ac_config_status_args=
19096 test "$silent" = yes &&
19097 ac_config_status_args="$ac_config_status_args --quiet"
16926 exec 5>/dev/null 19098 exec 5>/dev/null
16927 $SHELL $CONFIG_STATUS || ac_cs_success=false 19099 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16928 exec 5>>config.log 19100 exec 5>>config.log
16929 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 19101 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16930 # would make configure fail if this is the last instruction. 19102 # would make configure fail if this is the last instruction.
16931 $ac_cs_success || { (exit 1); exit 1; } 19103 $ac_cs_success || { (exit 1); exit 1; }
16932fi 19104fi
16933 19105
19106
16934# Print summary of options 19107# Print summary of options
16935 19108
16936# Someone please show me a better way :) 19109# Someone please show me a better way :)
@@ -16954,28 +19127,25 @@ echo " Askpass program: $E"
16954echo " Manual pages: $F" 19127echo " Manual pages: $F"
16955echo " PID file: $G" 19128echo " PID file: $G"
16956echo " Privilege separation chroot path: $H" 19129echo " Privilege separation chroot path: $H"
16957if test "x$external_path_file" = "x/etc/login.conf" ; then 19130if test "$USES_LOGIN_CONF" = "yes" ; then
16958echo " At runtime, sshd will use the path defined in $external_path_file" 19131echo " At runtime, sshd will use the path defined in /etc/login.conf"
16959echo " Make sure the path to scp is present, otherwise scp will not work"
16960else 19132else
16961echo " sshd default user PATH: $I" 19133echo " sshd default user PATH: $I"
16962 if test ! -z "$external_path_file"; then
16963echo " (If PATH is set in $external_path_file it will be used instead. If"
16964echo " used, ensure the path to scp is present, otherwise scp will not work.)"
16965 fi
16966fi 19134fi
16967if test ! -z "$superuser_path" ; then 19135if test ! -z "$superuser_path" ; then
16968echo " sshd superuser user PATH: $J" 19136echo " sshd superuser user PATH: $J"
16969fi 19137fi
16970echo " Manpage format: $MANTYPE" 19138echo " Manpage format: $MANTYPE"
16971echo " DNS support: $DNS_MSG" 19139echo " PAM support: ${PAM_MSG}"
16972echo " PAM support: $PAM_MSG" 19140echo " KerberosIV support: $KRB4_MSG"
16973echo " KerberosV support: $KRB5_MSG" 19141echo " KerberosV support: $KRB5_MSG"
16974echo " Smartcard support: $SCARD_MSG" 19142echo " Smartcard support: $SCARD_MSG"
19143echo " AFS support: $AFS_MSG"
16975echo " S/KEY support: $SKEY_MSG" 19144echo " S/KEY support: $SKEY_MSG"
16976echo " TCP Wrappers support: $TCPW_MSG" 19145echo " TCP Wrappers support: $TCPW_MSG"
16977echo " MD5 password support: $MD5_MSG" 19146echo " MD5 password support: $MD5_MSG"
16978echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" 19147echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG"
19148echo " Use IPv4 by default hack: $IPV4_HACK_MSG"
16979echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" 19149echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG"
16980echo " BSD Auth support: $BSD_AUTH_MSG" 19150echo " BSD Auth support: $BSD_AUTH_MSG"
16981echo " Random number source: $RAND_MSG" 19151echo " Random number source: $RAND_MSG"