version 1.15, 2003/03/10 03:53:32 |
version 1.16, 2003/03/15 21:23:53 |
|
|
#! /bin/sh |
#! /bin/sh |
# Guess values for system-dependent variables and create Makefiles. |
# Guess values for system-dependent variables and create Makefiles. |
# Generated by Autoconf 2.52 for sudo 1.6.6. |
# Generated by GNU Autoconf 2.57 for sudo 1.6.7. |
# |
# |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
# Free Software Foundation, Inc. |
# Free Software Foundation, Inc. |
# This configure script is free software; the Free Software Foundation |
# This configure script is free software; the Free Software Foundation |
# gives unlimited permission to copy, distribute and modify it. |
# gives unlimited permission to copy, distribute and modify it. |
|
## --------------------- ## |
|
## M4sh Initialization. ## |
|
## --------------------- ## |
|
|
|
# Be Bourne compatible |
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
emulate sh |
|
NULLCMD=: |
|
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
|
# is contrary to our usage. Disable this feature. |
|
alias -g '${1+"$@"}'='"$@"' |
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
|
set -o posix |
|
fi |
|
|
|
# Support unset when possible. |
|
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
|
as_unset=unset |
|
else |
|
as_unset=false |
|
fi |
|
|
|
|
|
# Work around bugs in pre-3.0 UWIN ksh. |
|
$as_unset ENV MAIL MAILPATH |
|
PS1='$ ' |
|
PS2='> ' |
|
PS4='+ ' |
|
|
|
# NLS nuisances. |
|
for as_var in \ |
|
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
|
LC_TELEPHONE LC_TIME |
|
do |
|
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
|
eval $as_var=C; export $as_var |
|
else |
|
$as_unset $as_var |
|
fi |
|
done |
|
|
|
# Required to use basename. |
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
|
as_expr=expr |
|
else |
|
as_expr=false |
|
fi |
|
|
|
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
|
as_basename=basename |
|
else |
|
as_basename=false |
|
fi |
|
|
|
|
|
# Name of the executable. |
|
as_me=`$as_basename "$0" || |
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
X"$0" : 'X\(//\)$' \| \ |
|
X"$0" : 'X\(/\)$' \| \ |
|
. : '\(.\)' 2>/dev/null || |
|
echo X/"$0" | |
|
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
|
/^X\/\(\/\/\)$/{ s//\1/; q; } |
|
/^X\/\(\/\).*/{ s//\1/; q; } |
|
s/.*/./; q'` |
|
|
|
|
|
# PATH needs CR, and LINENO needs CR and PATH. |
# Avoid depending upon Character Ranges. |
# Avoid depending upon Character Ranges. |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
|
as_cr_digits='0123456789' |
as_cr_digits='0123456789' |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
|
# Sed expression to map a string onto a valid variable name. |
# The user is always right. |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
if test "${PATH_SEPARATOR+set}" != set; then |
|
echo "#! /bin/sh" >conf$$.sh |
|
echo "exit 0" >>conf$$.sh |
|
chmod +x conf$$.sh |
|
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
|
PATH_SEPARATOR=';' |
|
else |
|
PATH_SEPARATOR=: |
|
fi |
|
rm -f conf$$.sh |
|
fi |
|
|
# Sed expression to map a string onto a valid CPP name. |
|
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
|
|
|
# Be Bourne compatible |
as_lineno_1=$LINENO |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
as_lineno_2=$LINENO |
emulate sh |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
NULLCMD=: |
test "x$as_lineno_1" != "x$as_lineno_2" && |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
test "x$as_lineno_3" = "x$as_lineno_2" || { |
set -o posix |
# Find who we are. Look in the path if we contain no path at all |
fi |
# relative or not. |
|
case $0 in |
|
*[\\/]* ) as_myself=$0 ;; |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in $PATH |
|
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
done |
|
|
# Name of the executable. |
;; |
as_me=`echo "$0" |sed 's,.*[\\/],,'` |
esac |
|
# We did not find ourselves, most probably we were run as `sh COMMAND' |
|
# in which case we are not to be found in the path. |
|
if test "x$as_myself" = x; then |
|
as_myself=$0 |
|
fi |
|
if test ! -f "$as_myself"; then |
|
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
case $CONFIG_SHELL in |
|
'') |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
|
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
for as_base in sh bash ksh sh5; do |
|
case $as_dir in |
|
/*) |
|
if ("$as_dir/$as_base" -c ' |
|
as_lineno_1=$LINENO |
|
as_lineno_2=$LINENO |
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
|
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
|
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
|
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
|
CONFIG_SHELL=$as_dir/$as_base |
|
export CONFIG_SHELL |
|
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
|
fi;; |
|
esac |
|
done |
|
done |
|
;; |
|
esac |
|
|
|
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|
# uniformly replaced by the line number. The first 'sed' inserts a |
|
# line-number line before each line; the second 'sed' does the real |
|
# work. The second script uses 'N' to pair each line-number line |
|
# with the numbered line, and appends trailing '-' during |
|
# substitution so that $LINENO is not a special case at line end. |
|
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
|
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
|
sed '=' <$as_myself | |
|
sed ' |
|
N |
|
s,$,-, |
|
: loop |
|
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
|
t loop |
|
s,-$,, |
|
s,^['$as_cr_digits']*\n,, |
|
' >$as_me.lineno && |
|
chmod +x $as_me.lineno || |
|
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
|
{ (exit 1); exit 1; }; } |
|
|
|
# Don't try to exec as it changes $[0], causing all sort of problems |
|
# (the dirname of $[0] is not the place where we might find the |
|
# original and so on. Autoconf is especially sensible to this). |
|
. ./$as_me.lineno |
|
# Exit status is that of the last command. |
|
exit |
|
} |
|
|
|
|
|
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
|
*c*,-n*) ECHO_N= ECHO_C=' |
|
' ECHO_T=' ' ;; |
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
|
esac |
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
if expr a : '\(a\)' >/dev/null 2>&1; then |
as_expr=expr |
as_expr=expr |
else |
else |
|
|
fi |
fi |
rm -f conf$$ conf$$.exe conf$$.file |
rm -f conf$$ conf$$.exe conf$$.file |
|
|
as_executable_p="test -f" |
if mkdir -p . 2>/dev/null; then |
|
as_mkdir_p=: |
# Support unset when possible. |
|
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
|
as_unset=unset |
|
else |
else |
as_unset=false |
as_mkdir_p=false |
fi |
fi |
|
|
# NLS nuisances. |
as_executable_p="test -f" |
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } |
|
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } |
|
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } |
|
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } |
|
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } |
|
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } |
|
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } |
|
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } |
|
|
|
|
# Sed expression to map a string onto a valid CPP name. |
|
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
|
|
|
# Sed expression to map a string onto a valid variable name. |
|
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
|
|
|
|
# IFS |
# IFS |
# We need space, tab and new line, in precisely that order. |
# We need space, tab and new line, in precisely that order. |
as_nl=' |
as_nl=' |
|
|
IFS=" $as_nl" |
IFS=" $as_nl" |
|
|
# CDPATH. |
# CDPATH. |
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } |
$as_unset CDPATH |
|
|
|
|
# Name of the host. |
# Name of the host. |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
# so uname gets run too. |
# so uname gets run too. |
|
|
# Initializations. |
# Initializations. |
# |
# |
ac_default_prefix=/usr/local |
ac_default_prefix=/usr/local |
|
ac_config_libobj_dir=. |
cross_compiling=no |
cross_compiling=no |
subdirs= |
subdirs= |
MFLAGS= MAKEFLAGS= |
MFLAGS= |
|
MAKEFLAGS= |
SHELL=${CONFIG_SHELL-/bin/sh} |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
|
# Maximum number of lines to put in a shell here document. |
# Maximum number of lines to put in a shell here document. |
|
|
# only ac_max_sed_lines should be used. |
# only ac_max_sed_lines should be used. |
: ${ac_max_here_lines=38} |
: ${ac_max_here_lines=38} |
|
|
|
# Identity of this package. |
|
PACKAGE_NAME='sudo' |
|
PACKAGE_TARNAME='sudo' |
|
PACKAGE_VERSION='1.6.7' |
|
PACKAGE_STRING='sudo 1.6.7' |
|
PACKAGE_BUGREPORT='' |
|
|
# Factoring default headers for most tests. |
# Factoring default headers for most tests. |
ac_includes_default="\ |
ac_includes_default="\ |
#include <stdio.h> |
#include <stdio.h> |
|
|
# include <unistd.h> |
# include <unistd.h> |
#endif" |
#endif" |
|
|
|
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CFLAGS PROGS CPPFLAGS LDFLAGS SUDO_LDFLAGS SUDO_LIBS NET_LIBS AFS_LIBS OSDEFS AUTH_OBJS MANTYPE MAN_POSTINSTALL SUDOERS_MODE SUDOERS_UID SUDOERS_GID DEV mansectsu mansectform mansrcdir timedir timeout password_timeout sudo_umask passprompt long_otp_prompt lecture logfac goodpri badpri loglen ignore_dot mail_no_user mail_no_host mail_no_perms mailto mailsub badpass_message fqdn runas_default env_editor passwd_tries tty_tickets insults EGREPPROG CC ac_ct_CC EXEEXT OBJEXT CPP UNAMEPROG TRPROG SEDPROG NROFFPROG build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP YACC LIBOBJS ALLOCA LTLIBOBJS' |
|
ac_subst_files='' |
|
|
# Initialize some variables set by options. |
# Initialize some variables set by options. |
ac_init_help= |
ac_init_help= |
ac_init_version=false |
ac_init_version=false |
|
|
infodir='${prefix}/info' |
infodir='${prefix}/info' |
mandir='${prefix}/man' |
mandir='${prefix}/man' |
|
|
# Identity of this package. |
|
PACKAGE_NAME='sudo' |
|
PACKAGE_TARNAME='sudo' |
|
PACKAGE_VERSION='1.6.6' |
|
PACKAGE_STRING='sudo 1.6.6' |
|
PACKAGE_BUGREPORT='' |
|
|
|
ac_prev= |
ac_prev= |
for ac_option |
for ac_option |
do |
do |
|
|
with_fp=no ;; |
with_fp=no ;; |
|
|
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
| --no-cr | --no-c) |
| --no-cr | --no-c | -n) |
no_create=yes ;; |
no_create=yes ;; |
|
|
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
|
eval ac_val=$`echo $ac_var` |
eval ac_val=$`echo $ac_var` |
case $ac_val in |
case $ac_val in |
[\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
[\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
*) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
{ (exit 1); exit 1; }; };; |
{ (exit 1); exit 1; }; };; |
esac |
esac |
done |
done |
|
|
eval ac_val=$`echo $ac_var` |
eval ac_val=$`echo $ac_var` |
case $ac_val in |
case $ac_val in |
[\\/$]* | ?:[\\/]* ) ;; |
[\\/$]* | ?:[\\/]* ) ;; |
*) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
{ (exit 1); exit 1; }; };; |
{ (exit 1); exit 1; }; };; |
esac |
esac |
done |
done |
|
|
# There might be people who depend on the old broken behavior: `$host' |
# There might be people who depend on the old broken behavior: `$host' |
# used to hold the argument of --host etc. |
# used to hold the argument of --host etc. |
|
# FIXME: To remove some day. |
build=$build_alias |
build=$build_alias |
host=$host_alias |
host=$host_alias |
target=$target_alias |
target=$target_alias |
|
|
# FIXME: should be removed in autoconf 3.0. |
# FIXME: To remove some day. |
if test "x$host_alias" != x; then |
if test "x$host_alias" != x; then |
if test "x$build_alias" = x; then |
if test "x$build_alias" = x; then |
cross_compiling=maybe |
cross_compiling=maybe |
|
|
|
|
test "$silent" = yes && exec 6>/dev/null |
test "$silent" = yes && exec 6>/dev/null |
|
|
|
|
# Find the source files, if location was not specified. |
# Find the source files, if location was not specified. |
if test -z "$srcdir"; then |
if test -z "$srcdir"; then |
ac_srcdir_defaulted=yes |
ac_srcdir_defaulted=yes |
# Try the directory containing this script, then its parent. |
# Try the directory containing this script, then its parent. |
ac_prog=$0 |
ac_confdir=`(dirname "$0") 2>/dev/null || |
ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. |
X"$0" : 'X\(//\)[^/]' \| \ |
|
X"$0" : 'X\(//\)$' \| \ |
|
X"$0" : 'X\(/\)' \| \ |
|
. : '\(.\)' 2>/dev/null || |
|
echo X"$0" | |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
|
/^X\(\/\).*/{ s//\1/; q; } |
|
s/.*/./; q'` |
srcdir=$ac_confdir |
srcdir=$ac_confdir |
if test ! -r $srcdir/$ac_unique_file; then |
if test ! -r $srcdir/$ac_unique_file; then |
srcdir=.. |
srcdir=.. |
|
|
fi |
fi |
if test ! -r $srcdir/$ac_unique_file; then |
if test ! -r $srcdir/$ac_unique_file; then |
if test "$ac_srcdir_defaulted" = yes; then |
if test "$ac_srcdir_defaulted" = yes; then |
{ echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
else |
else |
{ echo "$as_me: error: cannot find sources in $srcdir" >&2 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi |
fi |
fi |
fi |
|
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
|
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
|
{ (exit 1); exit 1; }; } |
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
ac_env_build_alias_set=${build_alias+set} |
ac_env_build_alias_set=${build_alias+set} |
ac_env_build_alias_value=$build_alias |
ac_env_build_alias_value=$build_alias |
|
|
if test "$ac_init_help" = "long"; then |
if test "$ac_init_help" = "long"; then |
# Omit some internal or obsolete options to make the list less imposing. |
# Omit some internal or obsolete options to make the list less imposing. |
# This message is too long to be a string in the A/UX 3.1 sh. |
# This message is too long to be a string in the A/UX 3.1 sh. |
cat <<EOF |
cat <<_ACEOF |
\`configure' configures sudo 1.6.6 to adapt to many kinds of systems. |
\`configure' configures sudo 1.6.7 to adapt to many kinds of systems. |
|
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
|
|
|
-n, --no-create do not create output files |
-n, --no-create do not create output files |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
|
|
EOF |
_ACEOF |
|
|
cat <<EOF |
cat <<_ACEOF |
Installation directories: |
Installation directories: |
--prefix=PREFIX install architecture-independent files in PREFIX |
--prefix=PREFIX install architecture-independent files in PREFIX |
[$ac_default_prefix] |
[$ac_default_prefix] |
|
|
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
--infodir=DIR info documentation [PREFIX/info] |
--infodir=DIR info documentation [PREFIX/info] |
--mandir=DIR man documentation [PREFIX/man] |
--mandir=DIR man documentation [PREFIX/man] |
EOF |
_ACEOF |
|
|
cat <<\EOF |
cat <<\_ACEOF |
|
|
System types: |
System types: |
--build=BUILD configure for building on BUILD [guessed] |
--build=BUILD configure for building on BUILD [guessed] |
--host=HOST build programs to run on HOST [BUILD] |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
EOF |
_ACEOF |
fi |
fi |
|
|
if test -n "$ac_init_help"; then |
if test -n "$ac_init_help"; then |
case $ac_init_help in |
case $ac_init_help in |
short | recursive ) echo "Configuration of sudo 1.6.6:";; |
short | recursive ) echo "Configuration of sudo 1.6.7:";; |
esac |
esac |
cat <<\EOF |
cat <<\_ACEOF |
|
|
Optional Features: |
Optional Features: |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
|
|
Do not require authentication by default |
Do not require authentication by default |
--disable-root-mailer Don't run the mailer as root, run as the user |
--disable-root-mailer Don't run the mailer as root, run as the user |
--disable-setreuid Don't try to use the setreuid() function |
--disable-setreuid Don't try to use the setreuid() function |
|
--disable-setresuid Don't try to use the setresuid() function |
--disable-saved-ids Don't try to use POSIX saved ids |
--disable-saved-ids Don't try to use POSIX saved ids |
--disable-shadow Never use shadow passwords |
--disable-shadow Never use shadow passwords |
--disable-root-sudo Don't allow root to run sudo |
--disable-root-sudo Don't allow root to run sudo |
|
|
--with-goons-insults include the insults from the "Goon Show" |
--with-goons-insults include the insults from the "Goon Show" |
--with-secure-path override the user's path with a builtin one |
--with-secure-path override the user's path with a builtin one |
--without-interfaces don't try to read the ip addr of ether interfaces |
--without-interfaces don't try to read the ip addr of ether interfaces |
|
--with-stow properly handle GNU stow packaging |
|
|
Some influential environment variables: |
Some influential environment variables: |
CC C compiler command |
CC C compiler command |
|
|
Use these variables to override the choices made by `configure' or to help |
Use these variables to override the choices made by `configure' or to help |
it to find libraries and programs with nonstandard names/locations. |
it to find libraries and programs with nonstandard names/locations. |
|
|
EOF |
_ACEOF |
fi |
fi |
|
|
if test "$ac_init_help" = "recursive"; then |
if test "$ac_init_help" = "recursive"; then |
# If there are subdirs, report their specific --help. |
# If there are subdirs, report their specific --help. |
ac_popdir=`pwd` |
ac_popdir=`pwd` |
for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
cd $ac_subdir |
test -d $ac_dir || continue |
# A "../" for each directory in /$ac_subdir. |
ac_builddir=. |
ac_dots=`echo $ac_subdir | |
|
sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` |
|
|
|
case $srcdir in |
if test "$ac_dir" != .; then |
.) # No --srcdir option. We are building in place. |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
ac_sub_srcdir=$srcdir ;; |
# A "../" for each directory in $ac_dir_suffix. |
[\\/]* | ?:[\\/]* ) # Absolute path. |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
ac_sub_srcdir=$srcdir/$ac_subdir ;; |
else |
*) # Relative path. |
ac_dir_suffix= ac_top_builddir= |
ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; |
fi |
esac |
|
|
|
|
case $srcdir in |
|
.) # No --srcdir option. We are building in place. |
|
ac_srcdir=. |
|
if test -z "$ac_top_builddir"; then |
|
ac_top_srcdir=. |
|
else |
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
|
fi ;; |
|
[\\/]* | ?:[\\/]* ) # Absolute path. |
|
ac_srcdir=$srcdir$ac_dir_suffix; |
|
ac_top_srcdir=$srcdir ;; |
|
*) # Relative path. |
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
|
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
|
esac |
|
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
|
# absolute. |
|
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
|
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
|
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
|
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
|
|
|
cd $ac_dir |
# Check for guested configure; otherwise get Cygnus style configure. |
# Check for guested configure; otherwise get Cygnus style configure. |
if test -f $ac_sub_srcdir/configure.gnu; then |
if test -f $ac_srcdir/configure.gnu; then |
echo |
echo |
$SHELL $ac_sub_srcdir/configure.gnu --help=recursive |
$SHELL $ac_srcdir/configure.gnu --help=recursive |
elif test -f $ac_sub_srcdir/configure; then |
elif test -f $ac_srcdir/configure; then |
echo |
echo |
$SHELL $ac_sub_srcdir/configure --help=recursive |
$SHELL $ac_srcdir/configure --help=recursive |
elif test -f $ac_sub_srcdir/configure.ac || |
elif test -f $ac_srcdir/configure.ac || |
test -f $ac_sub_srcdir/configure.in; then |
test -f $ac_srcdir/configure.in; then |
echo |
echo |
$ac_configure --help |
$ac_configure --help |
else |
else |
echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
fi |
fi |
cd $ac_popdir |
cd $ac_popdir |
done |
done |
|
|
|
|
test -n "$ac_init_help" && exit 0 |
test -n "$ac_init_help" && exit 0 |
if $ac_init_version; then |
if $ac_init_version; then |
cat <<\EOF |
cat <<\_ACEOF |
sudo configure 1.6.6 |
sudo configure 1.6.7 |
generated by GNU Autoconf 2.52 |
generated by GNU Autoconf 2.57 |
|
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
Free Software Foundation, Inc. |
Free Software Foundation, Inc. |
This configure script is free software; the Free Software Foundation |
This configure script is free software; the Free Software Foundation |
gives unlimited permission to copy, distribute and modify it. |
gives unlimited permission to copy, distribute and modify it. |
EOF |
_ACEOF |
exit 0 |
exit 0 |
fi |
fi |
exec 5>config.log |
exec 5>config.log |
cat >&5 <<EOF |
cat >&5 <<_ACEOF |
This file contains any messages produced by compilers while |
This file contains any messages produced by compilers while |
running configure, to aid debugging if configure makes a mistake. |
running configure, to aid debugging if configure makes a mistake. |
|
|
It was created by sudo $as_me 1.6.6, which was |
It was created by sudo $as_me 1.6.7, which was |
generated by GNU Autoconf 2.52. Invocation command line was |
generated by GNU Autoconf 2.57. Invocation command line was |
|
|
$ $0 $@ |
$ $0 $@ |
|
|
EOF |
_ACEOF |
{ |
{ |
cat <<_ASUNAME |
cat <<_ASUNAME |
## ---------- ## |
## --------- ## |
## Platform. ## |
## Platform. ## |
## ---------- ## |
## --------- ## |
|
|
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
|
|
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
|
|
PATH = $PATH |
|
|
|
_ASUNAME |
_ASUNAME |
|
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in $PATH |
|
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
echo "PATH: $as_dir" |
|
done |
|
|
} >&5 |
} >&5 |
|
|
cat >&5 <<EOF |
cat >&5 <<_ACEOF |
## ------------ ## |
|
## Core tests. ## |
|
## ------------ ## |
|
|
|
EOF |
|
|
|
|
## ----------- ## |
|
## Core tests. ## |
|
## ----------- ## |
|
|
|
_ACEOF |
|
|
|
|
# Keep a trace of the command line. |
# Keep a trace of the command line. |
# Strip out --no-create and --no-recursion so they do not pile up. |
# Strip out --no-create and --no-recursion so they do not pile up. |
|
# Strip out --silent because we don't want to record it for future runs. |
# Also quote any args containing shell meta-characters. |
# Also quote any args containing shell meta-characters. |
|
# Make two passes to allow for proper duplicate-argument suppression. |
ac_configure_args= |
ac_configure_args= |
|
ac_configure_args0= |
|
ac_configure_args1= |
ac_sep= |
ac_sep= |
for ac_arg |
ac_must_keep_next=false |
|
for ac_pass in 1 2 |
do |
do |
case $ac_arg in |
for ac_arg |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
do |
| --no-cr | --no-c) ;; |
case $ac_arg in |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
| -silent | --silent | --silen | --sile | --sil) |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` |
continue ;; |
ac_configure_args="$ac_configure_args$ac_sep\"$ac_arg\"" |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
ac_sep=" " ;; |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
*) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" |
esac |
ac_sep=" " ;; |
case $ac_pass in |
esac |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
# Get rid of the leading space. |
2) |
|
ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
|
if test $ac_must_keep_next = true; then |
|
ac_must_keep_next=false # Got value, back to normal. |
|
else |
|
case $ac_arg in |
|
*=* | --config-cache | -C | -disable-* | --disable-* \ |
|
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|
| -with-* | --with-* | -without-* | --without-* | --x) |
|
case "$ac_configure_args0 " in |
|
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|
esac |
|
;; |
|
-* ) ac_must_keep_next=true ;; |
|
esac |
|
fi |
|
ac_configure_args="$ac_configure_args$ac_sep\"$ac_arg\"" |
|
# Get rid of the leading space. |
|
ac_sep=" " |
|
;; |
|
esac |
|
done |
done |
done |
|
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
|
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
|
|
# When interrupted or exit'd, cleanup temporary files, and complete |
# When interrupted or exit'd, cleanup temporary files, and complete |
# config.log. We remove comments because anyway the quotes in there |
# config.log. We remove comments because anyway the quotes in there |
# would cause problems or look ugly. |
# would cause problems or look ugly. |
|
# WARNING: Be sure not to use single quotes in there, as some shells, |
|
# such as our DU 5.0 friend, will then `close' the trap. |
trap 'exit_status=$? |
trap 'exit_status=$? |
# Save into config.log some information that might help in debugging. |
# Save into config.log some information that might help in debugging. |
echo >&5 |
{ |
echo "## ----------------- ##" >&5 |
echo |
echo "## Cache variables. ##" >&5 |
|
echo "## ----------------- ##" >&5 |
cat <<\_ASBOX |
echo >&5 |
## ---------------- ## |
# The following way of writing the cache mishandles newlines in values, |
## Cache variables. ## |
|
## ---------------- ## |
|
_ASBOX |
|
echo |
|
# The following way of writing the cache mishandles newlines in values, |
{ |
{ |
(set) 2>&1 | |
(set) 2>&1 | |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
|
|
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
;; |
;; |
esac; |
esac; |
} >&5 |
} |
sed "/^$/d" confdefs.h >conftest.log |
echo |
if test -s conftest.log; then |
|
echo >&5 |
cat <<\_ASBOX |
echo "## ------------ ##" >&5 |
## ----------------- ## |
echo "## confdefs.h. ##" >&5 |
## Output variables. ## |
echo "## ------------ ##" >&5 |
## ----------------- ## |
echo >&5 |
_ASBOX |
cat conftest.log >&5 |
echo |
fi |
for ac_var in $ac_subst_vars |
(echo; echo) >&5 |
do |
test "$ac_signal" != 0 && |
eval ac_val=$`echo $ac_var` |
echo "$as_me: caught signal $ac_signal" >&5 |
echo "$ac_var='"'"'$ac_val'"'"'" |
echo "$as_me: exit $exit_status" >&5 |
done | sort |
rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && |
echo |
|
|
|
if test -n "$ac_subst_files"; then |
|
cat <<\_ASBOX |
|
## ------------- ## |
|
## Output files. ## |
|
## ------------- ## |
|
_ASBOX |
|
echo |
|
for ac_var in $ac_subst_files |
|
do |
|
eval ac_val=$`echo $ac_var` |
|
echo "$ac_var='"'"'$ac_val'"'"'" |
|
done | sort |
|
echo |
|
fi |
|
|
|
if test -s confdefs.h; then |
|
cat <<\_ASBOX |
|
## ----------- ## |
|
## confdefs.h. ## |
|
## ----------- ## |
|
_ASBOX |
|
echo |
|
sed "/^$/d" confdefs.h | sort |
|
echo |
|
fi |
|
test "$ac_signal" != 0 && |
|
echo "$as_me: caught signal $ac_signal" |
|
echo "$as_me: exit $exit_status" |
|
} >&5 |
|
rm -f core core.* *.core && |
|
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
exit $exit_status |
exit $exit_status |
' 0 |
' 0 |
for ac_signal in 1 2 13 15; do |
for ac_signal in 1 2 13 15; do |
|
|
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
echo >confdefs.h |
echo >confdefs.h |
|
|
|
# Predefined preprocessor variables. |
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define PACKAGE_NAME "$PACKAGE_NAME" |
|
_ACEOF |
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
|
_ACEOF |
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
|
_ACEOF |
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define PACKAGE_STRING "$PACKAGE_STRING" |
|
_ACEOF |
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
|
_ACEOF |
|
|
|
|
# Let the site file select an alternate cache file if it wants to. |
# Let the site file select an alternate cache file if it wants to. |
# Prefer explicitly selected file to automatically selected ones. |
# Prefer explicitly selected file to automatically selected ones. |
if test -z "$CONFIG_SITE"; then |
if test -z "$CONFIG_SITE"; then |
|
|
fi |
fi |
for ac_site_file in $CONFIG_SITE; do |
for ac_site_file in $CONFIG_SITE; do |
if test -r "$ac_site_file"; then |
if test -r "$ac_site_file"; then |
{ echo "$as_me:947: loading site script $ac_site_file" >&5 |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
echo "$as_me: loading site script $ac_site_file" >&6;} |
echo "$as_me: loading site script $ac_site_file" >&6;} |
cat "$ac_site_file" >&5 |
sed 's/^/| /' "$ac_site_file" >&5 |
. "$ac_site_file" |
. "$ac_site_file" |
fi |
fi |
done |
done |
|
|
# Some versions of bash will fail to source /dev/null (special |
# Some versions of bash will fail to source /dev/null (special |
# files actually), so we avoid doing that. |
# files actually), so we avoid doing that. |
if test -f "$cache_file"; then |
if test -f "$cache_file"; then |
{ echo "$as_me:958: loading cache $cache_file" >&5 |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
echo "$as_me: loading cache $cache_file" >&6;} |
echo "$as_me: loading cache $cache_file" >&6;} |
case $cache_file in |
case $cache_file in |
[\\/]* | ?:[\\/]* ) . $cache_file;; |
[\\/]* | ?:[\\/]* ) . $cache_file;; |
|
|
esac |
esac |
fi |
fi |
else |
else |
{ echo "$as_me:966: creating cache $cache_file" >&5 |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
echo "$as_me: creating cache $cache_file" >&6;} |
echo "$as_me: creating cache $cache_file" >&6;} |
>$cache_file |
>$cache_file |
fi |
fi |
|
|
eval ac_new_val="\$ac_env_${ac_var}_value" |
eval ac_new_val="\$ac_env_${ac_var}_value" |
case $ac_old_set,$ac_new_set in |
case $ac_old_set,$ac_new_set in |
set,) |
set,) |
{ echo "$as_me:982: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
ac_cache_corrupted=: ;; |
ac_cache_corrupted=: ;; |
,set) |
,set) |
{ echo "$as_me:986: error: \`$ac_var' was not set in the previous run" >&5 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
ac_cache_corrupted=: ;; |
ac_cache_corrupted=: ;; |
,);; |
,);; |
*) |
*) |
if test "x$ac_old_val" != "x$ac_new_val"; then |
if test "x$ac_old_val" != "x$ac_new_val"; then |
{ echo "$as_me:992: error: \`$ac_var' has changed since the previous run:" >&5 |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
{ echo "$as_me:994: former value: $ac_old_val" >&5 |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
echo "$as_me: former value: $ac_old_val" >&2;} |
echo "$as_me: former value: $ac_old_val" >&2;} |
{ echo "$as_me:996: current value: $ac_new_val" >&5 |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
echo "$as_me: current value: $ac_new_val" >&2;} |
echo "$as_me: current value: $ac_new_val" >&2;} |
ac_cache_corrupted=: |
ac_cache_corrupted=: |
fi;; |
fi;; |
esac |
esac |
# Pass precious variables to config.status. It doesn't matter if |
# Pass precious variables to config.status. |
# we pass some twice (in addition to the command line arguments). |
|
if test "$ac_new_set" = set; then |
if test "$ac_new_set" = set; then |
case $ac_new_val in |
case $ac_new_val in |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` |
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
ac_configure_args="$ac_configure_args '$ac_arg'" |
*) ac_arg=$ac_var=$ac_new_val ;; |
;; |
|
*) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" |
|
;; |
|
esac |
esac |
|
case " $ac_configure_args " in |
|
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
|
esac |
fi |
fi |
done |
done |
if $ac_cache_corrupted; then |
if $ac_cache_corrupted; then |
{ echo "$as_me:1015: error: changes in the environment can compromise the build" >&5 |
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
{ { echo "$as_me:1017: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi |
fi |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
|
*c*,-n*) ECHO_N= ECHO_C=' |
|
' ECHO_T=' ' ;; |
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
|
esac |
|
echo "#! $SHELL" >conftest.sh |
|
echo "exit 0" >>conftest.sh |
|
chmod +x conftest.sh |
|
if { (echo "$as_me:1037: PATH=\".;.\"; conftest.sh") >&5 |
|
(PATH=".;."; conftest.sh) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:1040: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; then |
|
ac_path_separator=';' |
|
else |
|
ac_path_separator=: |
|
fi |
|
PATH_SEPARATOR="$ac_path_separator" |
|
rm -f conftest.sh |
|
|
|
ac_config_headers="$ac_config_headers config.h pathnames.h" |
|
|
|
echo "Configuring Sudo version 1.6.6" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ac_config_headers="$ac_config_headers config.h pathnames.h" |
|
|
|
echo "Configuring Sudo version 1.6.7" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
timeout=5 |
timeout=5 |
password_timeout=5 |
password_timeout=5 |
sudo_umask=0022 |
sudo_umask=0022 |
|
|
test "$mandir" = '${prefix}/man' && mandir='$(prefix)/man' |
test "$mandir" = '${prefix}/man' && mandir='$(prefix)/man' |
test "$bindir" = '${exec_prefix}/bin' && bindir='$(exec_prefix)/bin' |
test "$bindir" = '${exec_prefix}/bin' && bindir='$(exec_prefix)/bin' |
test "$sbindir" = '${exec_prefix}/sbin' && sbindir='$(exec_prefix)/sbin' |
test "$sbindir" = '${exec_prefix}/sbin' && sbindir='$(exec_prefix)/sbin' |
test "$sysconfdir" = '${prefix}/etc' && sysconfdir='/etc' |
test "$sysconfdir" = '${prefix}/etc' -a X"$with_stow" != X"yes" && sysconfdir='/etc' |
|
|
|
|
|
|
# Check whether --with-otp-only or --without-otp-only was given. |
# Check whether --with-otp-only or --without-otp-only was given. |
if test "${with_otp_only+set}" = set; then |
if test "${with_otp_only+set}" = set; then |
withval="$with_otp_only" |
withval="$with_otp_only" |
case $with_otp_only in |
case $with_otp_only in |
yes) with_passwd=no |
yes) with_passwd=no |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define WITHOUT_PASSWD 1 |
#define WITHOUT_PASSWD 1 |
EOF |
_ACEOF |
|
|
{ echo "$as_me:1102: WARNING: --with-otp-only option deprecated, treating as --without-passwd" >&5 |
{ echo "$as_me:$LINENO: WARNING: --with-otp-only option deprecated, treating as --without-passwd" >&5 |
echo "$as_me: WARNING: --with-otp-only option deprecated, treating as --without-passwd" >&2;} |
echo "$as_me: WARNING: --with-otp-only option deprecated, treating as --without-passwd" >&2;} |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-alertmail or --without-alertmail was given. |
# Check whether --with-alertmail or --without-alertmail was given. |
if test "${with_alertmail+set}" = set; then |
if test "${with_alertmail+set}" = set; then |
withval="$with_alertmail" |
withval="$with_alertmail" |
case $with_alertmail in |
case $with_alertmail in |
*) with_mailto="$with_alertmail" |
*) with_mailto="$with_alertmail" |
{ echo "$as_me:1113: WARNING: --with-alertmail option deprecated, treating as --mailto" >&5 |
{ echo "$as_me:$LINENO: WARNING: --with-alertmail option deprecated, treating as --mailto" >&5 |
echo "$as_me: WARNING: --with-alertmail option deprecated, treating as --mailto" >&2;} |
echo "$as_me: WARNING: --with-alertmail option deprecated, treating as --mailto" >&2;} |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
|
|
|
|
# Check whether --with-CC or --without-CC was given. |
# Check whether --with-CC or --without-CC was given. |
if test "${with_CC+set}" = set; then |
if test "${with_CC+set}" = set; then |
withval="$with_CC" |
withval="$with_CC" |
case $with_CC in |
case $with_CC in |
yes) { { echo "$as_me:1123: error: \"must give --with-CC an argument.\"" >&5 |
yes) { { echo "$as_me:$LINENO: error: \"must give --with-CC an argument.\"" >&5 |
echo "$as_me: error: \"must give --with-CC an argument.\"" >&2;} |
echo "$as_me: error: \"must give --with-CC an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
no) { { echo "$as_me:1127: error: \"illegal argument: --without-CC.\"" >&5 |
no) { { echo "$as_me:$LINENO: error: \"illegal argument: --without-CC.\"" >&5 |
echo "$as_me: error: \"illegal argument: --without-CC.\"" >&2;} |
echo "$as_me: error: \"illegal argument: --without-CC.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
|
|
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-incpath or --without-incpath was given. |
# Check whether --with-incpath or --without-incpath was given. |
if test "${with_incpath+set}" = set; then |
if test "${with_incpath+set}" = set; then |
withval="$with_incpath" |
withval="$with_incpath" |
case $with_incpath in |
case $with_incpath in |
yes) { { echo "$as_me:1140: error: \"must give --with-incpath an argument.\"" >&5 |
yes) { { echo "$as_me:$LINENO: error: \"must give --with-incpath an argument.\"" >&5 |
echo "$as_me: error: \"must give --with-incpath an argument.\"" >&2;} |
echo "$as_me: error: \"must give --with-incpath an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
no) { { echo "$as_me:1144: error: \"--without-incpath not supported.\"" >&5 |
no) { { echo "$as_me:$LINENO: error: \"--without-incpath not supported.\"" >&5 |
echo "$as_me: error: \"--without-incpath not supported.\"" >&2;} |
echo "$as_me: error: \"--without-incpath not supported.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
|
|
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-libpath or --without-libpath was given. |
# Check whether --with-libpath or --without-libpath was given. |
if test "${with_libpath+set}" = set; then |
if test "${with_libpath+set}" = set; then |
withval="$with_libpath" |
withval="$with_libpath" |
case $with_libpath in |
case $with_libpath in |
yes) { { echo "$as_me:1160: error: \"must give --with-libpath an argument.\"" >&5 |
yes) { { echo "$as_me:$LINENO: error: \"must give --with-libpath an argument.\"" >&5 |
echo "$as_me: error: \"must give --with-libpath an argument.\"" >&2;} |
echo "$as_me: error: \"must give --with-libpath an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
no) { { echo "$as_me:1164: error: \"--without-libpath not supported.\"" >&5 |
no) { { echo "$as_me:$LINENO: error: \"--without-libpath not supported.\"" >&5 |
echo "$as_me: error: \"--without-libpath not supported.\"" >&2;} |
echo "$as_me: error: \"--without-libpath not supported.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
|
|
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-libraries or --without-libraries was given. |
# Check whether --with-libraries or --without-libraries was given. |
if test "${with_libraries+set}" = set; then |
if test "${with_libraries+set}" = set; then |
withval="$with_libraries" |
withval="$with_libraries" |
case $with_libraries in |
case $with_libraries in |
yes) { { echo "$as_me:1180: error: \"must give --with-libraries an argument.\"" >&5 |
yes) { { echo "$as_me:$LINENO: error: \"must give --with-libraries an argument.\"" >&5 |
echo "$as_me: error: \"must give --with-libraries an argument.\"" >&2;} |
echo "$as_me: error: \"must give --with-libraries an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
no) { { echo "$as_me:1184: error: \"--without-libraries not supported.\"" >&5 |
no) { { echo "$as_me:$LINENO: error: \"--without-libraries not supported.\"" >&5 |
echo "$as_me: error: \"--without-libraries not supported.\"" >&2;} |
echo "$as_me: error: \"--without-libraries not supported.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
|
|
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-devel or --without-devel was given. |
# Check whether --with-devel or --without-devel was given. |
if test "${with_devel+set}" = set; then |
if test "${with_devel+set}" = set; then |
withval="$with_devel" |
withval="$with_devel" |
|
|
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-efence or --without-efence was given. |
# Check whether --with-efence or --without-efence was given. |
if test "${with_efence+set}" = set; then |
if test "${with_efence+set}" = set; then |
withval="$with_efence" |
withval="$with_efence" |
|
|
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-csops or --without-csops was given. |
# Check whether --with-csops or --without-csops was given. |
if test "${with_csops+set}" = set; then |
if test "${with_csops+set}" = set; then |
withval="$with_csops" |
withval="$with_csops" |
|
|
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-passwd or --without-passwd was given. |
# Check whether --with-passwd or --without-passwd was given. |
if test "${with_passwd+set}" = set; then |
if test "${with_passwd+set}" = set; then |
withval="$with_passwd" |
withval="$with_passwd" |
case $with_passwd in |
case $with_passwd in |
yes) ;; |
yes) ;; |
no) cat >>confdefs.h <<\EOF |
no) cat >>confdefs.h <<\_ACEOF |
#define WITHOUT_PASSWD 1 |
#define WITHOUT_PASSWD 1 |
EOF |
_ACEOF |
|
|
echo "$as_me:1260: checking whether to use shadow/passwd file authentication" >&5 |
echo "$as_me:$LINENO: checking whether to use shadow/passwd file authentication" >&5 |
echo $ECHO_N "checking whether to use shadow/passwd file authentication... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to use shadow/passwd file authentication... $ECHO_C" >&6 |
echo "$as_me:1262: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
;; |
;; |
*) { { echo "$as_me:1265: error: \"Sorry, --with-passwd does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"Sorry, --with-passwd does not take an argument.\"" >&5 |
echo "$as_me: error: \"Sorry, --with-passwd does not take an argument.\"" >&2;} |
echo "$as_me: error: \"Sorry, --with-passwd does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-skey or --without-skey was given. |
# Check whether --with-skey or --without-skey was given. |
if test "${with_skey+set}" = set; then |
if test "${with_skey+set}" = set; then |
withval="$with_skey" |
withval="$with_skey" |
case $with_skey in |
case $with_skey in |
yes) if test -n "$with_opie"; then |
yes) if test -n "$with_opie"; then |
{ { echo "$as_me:1277: error: \"cannot use both S/Key and OPIE\"" >&5 |
{ { echo "$as_me:$LINENO: error: \"cannot use both S/Key and OPIE\"" >&5 |
echo "$as_me: error: \"cannot use both S/Key and OPIE\"" >&2;} |
echo "$as_me: error: \"cannot use both S/Key and OPIE\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi |
fi |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_SKEY 1 |
#define HAVE_SKEY 1 |
EOF |
_ACEOF |
|
|
echo "$as_me:1286: checking whether to try S/Key authentication" >&5 |
echo "$as_me:$LINENO: checking whether to try S/Key authentication" >&5 |
echo $ECHO_N "checking whether to try S/Key authentication... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to try S/Key authentication... $ECHO_C" >&6 |
echo "$as_me:1288: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
AUTH_OBJS="${AUTH_OBJS} rfc1938.o" |
AUTH_OBJS="${AUTH_OBJS} rfc1938.o" |
;; |
;; |
|
|
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-opie or --without-opie was given. |
# Check whether --with-opie or --without-opie was given. |
if test "${with_opie+set}" = set; then |
if test "${with_opie+set}" = set; then |
withval="$with_opie" |
withval="$with_opie" |
case $with_opie in |
case $with_opie in |
yes) if test -n "$with_skey"; then |
yes) if test -n "$with_skey"; then |
{ { echo "$as_me:1303: error: \"cannot use both S/Key and OPIE\"" >&5 |
{ { echo "$as_me:$LINENO: error: \"cannot use both S/Key and OPIE\"" >&5 |
echo "$as_me: error: \"cannot use both S/Key and OPIE\"" >&2;} |
echo "$as_me: error: \"cannot use both S/Key and OPIE\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi |
fi |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_OPIE 1 |
#define HAVE_OPIE 1 |
EOF |
_ACEOF |
|
|
echo "$as_me:1312: checking whether to try NRL OPIE authentication" >&5 |
echo "$as_me:$LINENO: checking whether to try NRL OPIE authentication" >&5 |
echo $ECHO_N "checking whether to try NRL OPIE authentication... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to try NRL OPIE authentication... $ECHO_C" >&6 |
echo "$as_me:1314: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
AUTH_OBJS="${AUTH_OBJS} rfc1938.o" |
AUTH_OBJS="${AUTH_OBJS} rfc1938.o" |
;; |
;; |
|
|
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-long-otp-prompt or --without-long-otp-prompt was given. |
# Check whether --with-long-otp-prompt or --without-long-otp-prompt was given. |
if test "${with_long_otp_prompt+set}" = set; then |
if test "${with_long_otp_prompt+set}" = set; then |
withval="$with_long_otp_prompt" |
withval="$with_long_otp_prompt" |
case $with_long_otp_prompt in |
case $with_long_otp_prompt in |
yes) |
yes) |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define LONG_OTP_PROMPT 1 |
#define LONG_OTP_PROMPT 1 |
EOF |
_ACEOF |
|
|
echo "$as_me:1333: checking whether to use a two line prompt for OTP authentication" >&5 |
echo "$as_me:$LINENO: checking whether to use a two line prompt for OTP authentication" >&5 |
echo $ECHO_N "checking whether to use a two line prompt for OTP authentication... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to use a two line prompt for OTP authentication... $ECHO_C" >&6 |
echo "$as_me:1335: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
long_otp_prompt=on |
long_otp_prompt=on |
;; |
;; |
no) long_otp_prompt=off |
no) long_otp_prompt=off |
;; |
;; |
*) { { echo "$as_me:1341: error: \"--with-long-otp-prompt does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-long-otp-prompt does not take an argument.\"" >&5 |
echo "$as_me: error: \"--with-long-otp-prompt does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--with-long-otp-prompt does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-SecurID or --without-SecurID was given. |
# Check whether --with-SecurID or --without-SecurID was given. |
if test "${with_SecurID+set}" = set; then |
if test "${with_SecurID+set}" = set; then |
withval="$with_SecurID" |
withval="$with_SecurID" |
case $with_SecurID in |
case $with_SecurID in |
no) ;; |
no) ;; |
*) |
*) |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_SECURID 1 |
#define HAVE_SECURID 1 |
EOF |
_ACEOF |
|
|
echo "$as_me:1358: checking whether to use SecurID for authentication" >&5 |
echo "$as_me:$LINENO: checking whether to use SecurID for authentication" >&5 |
echo $ECHO_N "checking whether to use SecurID for authentication... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to use SecurID for authentication... $ECHO_C" >&6 |
echo "$as_me:1360: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
with_passwd=no |
with_passwd=no |
AUTH_OBJS="securid.o" |
|
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-fwtk or --without-fwtk was given. |
# Check whether --with-fwtk or --without-fwtk was given. |
if test "${with_fwtk+set}" = set; then |
if test "${with_fwtk+set}" = set; then |
withval="$with_fwtk" |
withval="$with_fwtk" |
case $with_fwtk in |
case $with_fwtk in |
no) ;; |
no) ;; |
*) |
*) |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_FWTK 1 |
#define HAVE_FWTK 1 |
EOF |
_ACEOF |
|
|
echo "$as_me:1378: checking whether to use FWTK AuthSRV for authentication" >&5 |
echo "$as_me:$LINENO: checking whether to use FWTK AuthSRV for authentication" >&5 |
echo $ECHO_N "checking whether to use FWTK AuthSRV for authentication... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to use FWTK AuthSRV for authentication... $ECHO_C" >&6 |
echo "$as_me:1380: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
with_passwd=no |
with_passwd=no |
AUTH_OBJS="fwtk.o" |
AUTH_OBJS="fwtk.o" |
|
|
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-kerb4 or --without-kerb4 was given. |
# Check whether --with-kerb4 or --without-kerb4 was given. |
if test "${with_kerb4+set}" = set; then |
if test "${with_kerb4+set}" = set; then |
withval="$with_kerb4" |
withval="$with_kerb4" |
case $with_kerb4 in |
case $with_kerb4 in |
yes) echo "$as_me:1397: checking whether to try Kerberos 4 authentication" >&5 |
yes) echo "$as_me:$LINENO: checking whether to try Kerberos 4 authentication" >&5 |
echo $ECHO_N "checking whether to try Kerberos 4 authentication... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to try Kerberos 4 authentication... $ECHO_C" >&6 |
echo "$as_me:1399: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
;; |
;; |
no) ;; |
no) ;; |
*) { { echo "$as_me:1403: error: \"--with-kerb4 does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-kerb4 does not take an argument.\"" >&5 |
echo "$as_me: error: \"--with-kerb4 does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--with-kerb4 does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-kerb5 or --without-kerb5 was given. |
# Check whether --with-kerb5 or --without-kerb5 was given. |
if test "${with_kerb5+set}" = set; then |
if test "${with_kerb5+set}" = set; then |
withval="$with_kerb5" |
withval="$with_kerb5" |
case $with_kerb5 in |
case $with_kerb5 in |
yes) echo "$as_me:1414: checking whether to try Kerberos 5 authentication" >&5 |
yes) echo "$as_me:$LINENO: checking whether to try Kerberos 5 authentication" >&5 |
echo $ECHO_N "checking whether to try Kerberos 5 authentication... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to try Kerberos 5 authentication... $ECHO_C" >&6 |
echo "$as_me:1416: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
;; |
;; |
no) ;; |
no) ;; |
*) { { echo "$as_me:1420: error: \"--with-kerb5 does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-kerb5 does not take an argument.\"" >&5 |
echo "$as_me: error: \"--with-kerb5 does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--with-kerb5 does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-authenticate or --without-authenticate was given. |
# Check whether --with-authenticate or --without-authenticate was given. |
if test "${with_authenticate+set}" = set; then |
if test "${with_authenticate+set}" = set; then |
withval="$with_authenticate" |
withval="$with_authenticate" |
case $with_authenticate in |
case $with_authenticate in |
yes) |
yes) |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_AUTHENTICATE 1 |
#define HAVE_AUTHENTICATE 1 |
EOF |
_ACEOF |
|
|
echo "$as_me:1436: checking whether to use AIX general authentication" >&5 |
echo "$as_me:$LINENO: checking whether to use AIX general authentication" >&5 |
echo $ECHO_N "checking whether to use AIX general authentication... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to use AIX general authentication... $ECHO_C" >&6 |
echo "$as_me:1438: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
with_passwd=no |
with_passwd=no |
AUTH_OBJS="aix_auth.o" |
AUTH_OBJS="aix_auth.o" |
;; |
;; |
no) ;; |
no) ;; |
*) { { echo "$as_me:1444: error: \"--with-authenticate does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-authenticate does not take an argument.\"" >&5 |
echo "$as_me: error: \"--with-authenticate does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--with-authenticate does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-pam or --without-pam was given. |
# Check whether --with-pam or --without-pam was given. |
if test "${with_pam+set}" = set; then |
if test "${with_pam+set}" = set; then |
withval="$with_pam" |
withval="$with_pam" |
case $with_pam in |
case $with_pam in |
yes) |
yes) |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_PAM 1 |
#define HAVE_PAM 1 |
EOF |
_ACEOF |
|
|
echo "$as_me:1460: checking whether to use PAM authentication" >&5 |
echo "$as_me:$LINENO: checking whether to use PAM authentication" >&5 |
echo $ECHO_N "checking whether to use PAM authentication... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to use PAM authentication... $ECHO_C" >&6 |
echo "$as_me:1462: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
with_passwd=no |
with_passwd=no |
AUTH_OBJS="pam.o" |
AUTH_OBJS="pam.o" |
;; |
;; |
no) ;; |
no) ;; |
*) { { echo "$as_me:1468: error: \"--with-pam does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-pam does not take an argument.\"" >&5 |
echo "$as_me: error: \"--with-pam does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--with-pam does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-AFS or --without-AFS was given. |
# Check whether --with-AFS or --without-AFS was given. |
if test "${with_AFS+set}" = set; then |
if test "${with_AFS+set}" = set; then |
withval="$with_AFS" |
withval="$with_AFS" |
case $with_AFS in |
case $with_AFS in |
yes) |
yes) |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_AFS 1 |
#define HAVE_AFS 1 |
EOF |
_ACEOF |
|
|
echo "$as_me:1484: checking whether to try AFS (kerberos) authentication" >&5 |
echo "$as_me:$LINENO: checking whether to try AFS (kerberos) authentication" >&5 |
echo $ECHO_N "checking whether to try AFS (kerberos) authentication... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to try AFS (kerberos) authentication... $ECHO_C" >&6 |
echo "$as_me:1486: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
AUTH_OBJS="${AUTH_OBJS} afs.o" |
AUTH_OBJS="${AUTH_OBJS} afs.o" |
;; |
;; |
no) ;; |
no) ;; |
*) { { echo "$as_me:1491: error: \"--with-AFS does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-AFS does not take an argument.\"" >&5 |
echo "$as_me: error: \"--with-AFS does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--with-AFS does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-DCE or --without-DCE was given. |
# Check whether --with-DCE or --without-DCE was given. |
if test "${with_DCE+set}" = set; then |
if test "${with_DCE+set}" = set; then |
withval="$with_DCE" |
withval="$with_DCE" |
case $with_DCE in |
case $with_DCE in |
yes) |
yes) |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_DCE 1 |
#define HAVE_DCE 1 |
EOF |
_ACEOF |
|
|
echo "$as_me:1507: checking whether to try DCE (kerberos) authentication" >&5 |
echo "$as_me:$LINENO: checking whether to try DCE (kerberos) authentication" >&5 |
echo $ECHO_N "checking whether to try DCE (kerberos) authentication... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to try DCE (kerberos) authentication... $ECHO_C" >&6 |
echo "$as_me:1509: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
AUTH_OBJS="${AUTH_OBJS} dce.o" |
AUTH_OBJS="${AUTH_OBJS} dce.o" |
;; |
;; |
no) ;; |
no) ;; |
*) { { echo "$as_me:1514: error: \"--with-DCE does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-DCE does not take an argument.\"" >&5 |
echo "$as_me: error: \"--with-DCE does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--with-DCE does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-logincap or --without-logincap was given. |
# Check whether --with-logincap or --without-logincap was given. |
if test "${with_logincap+set}" = set; then |
if test "${with_logincap+set}" = set; then |
withval="$with_logincap" |
withval="$with_logincap" |
case $with_logincap in |
case $with_logincap in |
yes|no) ;; |
yes|no) ;; |
*) { { echo "$as_me:1526: error: \"--with-logincap does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-logincap does not take an argument.\"" >&5 |
echo "$as_me: error: \"--with-logincap does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--with-logincap does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-bsdauth or --without-bsdauth was given. |
# Check whether --with-bsdauth or --without-bsdauth was given. |
if test "${with_bsdauth+set}" = set; then |
if test "${with_bsdauth+set}" = set; then |
withval="$with_bsdauth" |
withval="$with_bsdauth" |
|
|
yes) with_logincap=yes |
yes) with_logincap=yes |
;; |
;; |
no) ;; |
no) ;; |
*) { { echo "$as_me:1540: error: \"--with-bsdauth does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-bsdauth does not take an argument.\"" >&5 |
echo "$as_me: error: \"--with-bsdauth does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--with-bsdauth does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
echo "$as_me:1547: checking whether to lecture users the first time they run sudo" >&5 |
echo "$as_me:$LINENO: checking whether to lecture users the first time they run sudo" >&5 |
echo $ECHO_N "checking whether to lecture users the first time they run sudo... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to lecture users the first time they run sudo... $ECHO_C" >&6 |
|
|
# Check whether --with-lecture or --without-lecture was given. |
# Check whether --with-lecture or --without-lecture was given. |
|
|
;; |
;; |
no|none) lecture=off |
no|none) lecture=off |
;; |
;; |
*) { { echo "$as_me:1558: error: \"unknown argument to --with-lecture: $with_lecture\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"unknown argument to --with-lecture: $with_lecture\"" >&5 |
echo "$as_me: error: \"unknown argument to --with-lecture: $with_lecture\"" >&2;} |
echo "$as_me: error: \"unknown argument to --with-lecture: $with_lecture\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
if test "$lecture" = "on"; then |
if test "$lecture" = "on"; then |
echo "$as_me:1565: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
else |
else |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define NO_LECTURE 1 |
#define NO_LECTURE 1 |
EOF |
_ACEOF |
|
|
echo "$as_me:1573: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi |
fi |
|
|
echo "$as_me:1577: checking whether sudo should log via syslog or to a file by default" >&5 |
echo "$as_me:$LINENO: checking whether sudo should log via syslog or to a file by default" >&5 |
echo $ECHO_N "checking whether sudo should log via syslog or to a file by default... $ECHO_C" >&6 |
echo $ECHO_N "checking whether sudo should log via syslog or to a file by default... $ECHO_C" >&6 |
|
|
# Check whether --with-logging or --without-logging was given. |
# Check whether --with-logging or --without-logging was given. |
if test "${with_logging+set}" = set; then |
if test "${with_logging+set}" = set; then |
withval="$with_logging" |
withval="$with_logging" |
case $with_logging in |
case $with_logging in |
yes) { { echo "$as_me:1584: error: \"must give --with-logging an argument.\"" >&5 |
yes) { { echo "$as_me:$LINENO: error: \"must give --with-logging an argument.\"" >&5 |
echo "$as_me: error: \"must give --with-logging an argument.\"" >&2;} |
echo "$as_me: error: \"must give --with-logging an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
no) { { echo "$as_me:1588: error: \"--without-logging not supported.\"" >&5 |
no) { { echo "$as_me:$LINENO: error: \"--without-logging not supported.\"" >&5 |
echo "$as_me: error: \"--without-logging not supported.\"" >&2;} |
echo "$as_me: error: \"--without-logging not supported.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
syslog) |
syslog) |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define LOGGING SLOG_SYSLOG |
#define LOGGING SLOG_SYSLOG |
EOF |
_ACEOF |
|
|
echo "$as_me:1597: result: syslog" >&5 |
echo "$as_me:$LINENO: result: syslog" >&5 |
echo "${ECHO_T}syslog" >&6 |
echo "${ECHO_T}syslog" >&6 |
;; |
;; |
file) cat >>confdefs.h <<\EOF |
file) cat >>confdefs.h <<\_ACEOF |
#define LOGGING SLOG_FILE |
#define LOGGING SLOG_FILE |
EOF |
_ACEOF |
|
|
echo "$as_me:1604: result: file" >&5 |
echo "$as_me:$LINENO: result: file" >&5 |
echo "${ECHO_T}file" >&6 |
echo "${ECHO_T}file" >&6 |
;; |
;; |
both) cat >>confdefs.h <<\EOF |
both) cat >>confdefs.h <<\_ACEOF |
#define LOGGING SLOG_BOTH |
#define LOGGING SLOG_BOTH |
EOF |
_ACEOF |
|
|
echo "$as_me:1611: result: both" >&5 |
echo "$as_me:$LINENO: result: both" >&5 |
echo "${ECHO_T}both" >&6 |
echo "${ECHO_T}both" >&6 |
;; |
;; |
*) { { echo "$as_me:1614: error: \"unknown argument to --with-logging: $with_logging\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"unknown argument to --with-logging: $with_logging\"" >&5 |
echo "$as_me: error: \"unknown argument to --with-logging: $with_logging\"" >&2;} |
echo "$as_me: error: \"unknown argument to --with-logging: $with_logging\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
else |
else |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define LOGGING SLOG_SYSLOG |
#define LOGGING SLOG_SYSLOG |
EOF |
_ACEOF |
echo "$as_me:1623: result: syslog" >&5 |
echo "$as_me:$LINENO: result: syslog" >&5 |
echo "${ECHO_T}syslog" >&6 |
echo "${ECHO_T}syslog" >&6 |
fi; |
fi; |
|
|
echo "$as_me:1627: checking which syslog facility sudo should log with" >&5 |
echo "$as_me:$LINENO: checking which syslog facility sudo should log with" >&5 |
echo $ECHO_N "checking which syslog facility sudo should log with... $ECHO_C" >&6 |
echo $ECHO_N "checking which syslog facility sudo should log with... $ECHO_C" >&6 |
|
|
# Check whether --with-logfac or --without-logfac was given. |
# Check whether --with-logfac or --without-logfac was given. |
if test "${with_logfac+set}" = set; then |
if test "${with_logfac+set}" = set; then |
withval="$with_logfac" |
withval="$with_logfac" |
case $with_logfac in |
case $with_logfac in |
yes) { { echo "$as_me:1634: error: \"must give --with-logfac an argument.\"" >&5 |
yes) { { echo "$as_me:$LINENO: error: \"must give --with-logfac an argument.\"" >&5 |
echo "$as_me: error: \"must give --with-logfac an argument.\"" >&2;} |
echo "$as_me: error: \"must give --with-logfac an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
no) { { echo "$as_me:1638: error: \"--without-logfac not supported.\"" >&5 |
no) { { echo "$as_me:$LINENO: error: \"--without-logfac not supported.\"" >&5 |
echo "$as_me: error: \"--without-logfac not supported.\"" >&2;} |
echo "$as_me: error: \"--without-logfac not supported.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
authpriv|auth|daemon|user|local0|local1|local2|local3|local4|local5|local6|local7) logfac=$with_logfac |
authpriv|auth|daemon|user|local0|local1|local2|local3|local4|local5|local6|local7) logfac=$with_logfac |
;; |
;; |
*) { { echo "$as_me:1644: error: \"$with_logfac is not a supported syslog facility.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"$with_logfac is not a supported syslog facility.\"" >&5 |
echo "$as_me: error: \"$with_logfac is not a supported syslog facility.\"" >&2;} |
echo "$as_me: error: \"$with_logfac is not a supported syslog facility.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define LOGFAC "$logfac" |
#define LOGFAC "$logfac" |
EOF |
_ACEOF |
|
|
echo "$as_me:1655: result: $logfac" >&5 |
echo "$as_me:$LINENO: result: $logfac" >&5 |
echo "${ECHO_T}$logfac" >&6 |
echo "${ECHO_T}$logfac" >&6 |
|
|
echo "$as_me:1658: checking at which syslog priority to log commands" >&5 |
echo "$as_me:$LINENO: checking at which syslog priority to log commands" >&5 |
echo $ECHO_N "checking at which syslog priority to log commands... $ECHO_C" >&6 |
echo $ECHO_N "checking at which syslog priority to log commands... $ECHO_C" >&6 |
|
|
# Check whether --with-goodpri or --without-goodpri was given. |
# Check whether --with-goodpri or --without-goodpri was given. |
if test "${with_goodpri+set}" = set; then |
if test "${with_goodpri+set}" = set; then |
withval="$with_goodpri" |
withval="$with_goodpri" |
case $with_goodpri in |
case $with_goodpri in |
yes) { { echo "$as_me:1665: error: \"must give --with-goodpri an argument.\"" >&5 |
yes) { { echo "$as_me:$LINENO: error: \"must give --with-goodpri an argument.\"" >&5 |
echo "$as_me: error: \"must give --with-goodpri an argument.\"" >&2;} |
echo "$as_me: error: \"must give --with-goodpri an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
no) { { echo "$as_me:1669: error: \"--without-goodpri not supported.\"" >&5 |
no) { { echo "$as_me:$LINENO: error: \"--without-goodpri not supported.\"" >&5 |
echo "$as_me: error: \"--without-goodpri not supported.\"" >&2;} |
echo "$as_me: error: \"--without-goodpri not supported.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
alert|crit|debug|emerg|err|info|notice|warning) |
alert|crit|debug|emerg|err|info|notice|warning) |
goodpri=$with_goodpri |
goodpri=$with_goodpri |
;; |
;; |
*) { { echo "$as_me:1676: error: \"$with_goodpri is not a supported syslog priority.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"$with_goodpri is not a supported syslog priority.\"" >&5 |
echo "$as_me: error: \"$with_goodpri is not a supported syslog priority.\"" >&2;} |
echo "$as_me: error: \"$with_goodpri is not a supported syslog priority.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define PRI_SUCCESS "$goodpri" |
#define PRI_SUCCESS "$goodpri" |
EOF |
_ACEOF |
|
|
echo "$as_me:1687: result: $goodpri" >&5 |
echo "$as_me:$LINENO: result: $goodpri" >&5 |
echo "${ECHO_T}$goodpri" >&6 |
echo "${ECHO_T}$goodpri" >&6 |
|
|
echo "$as_me:1690: checking at which syslog priority to log failures" >&5 |
echo "$as_me:$LINENO: checking at which syslog priority to log failures" >&5 |
echo $ECHO_N "checking at which syslog priority to log failures... $ECHO_C" >&6 |
echo $ECHO_N "checking at which syslog priority to log failures... $ECHO_C" >&6 |
|
|
# Check whether --with-badpri or --without-badpri was given. |
# Check whether --with-badpri or --without-badpri was given. |
if test "${with_badpri+set}" = set; then |
if test "${with_badpri+set}" = set; then |
withval="$with_badpri" |
withval="$with_badpri" |
case $with_badpri in |
case $with_badpri in |
yes) { { echo "$as_me:1697: error: \"must give --with-badpri an argument.\"" >&5 |
yes) { { echo "$as_me:$LINENO: error: \"must give --with-badpri an argument.\"" >&5 |
echo "$as_me: error: \"must give --with-badpri an argument.\"" >&2;} |
echo "$as_me: error: \"must give --with-badpri an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
no) { { echo "$as_me:1701: error: \"--without-badpri not supported.\"" >&5 |
no) { { echo "$as_me:$LINENO: error: \"--without-badpri not supported.\"" >&5 |
echo "$as_me: error: \"--without-badpri not supported.\"" >&2;} |
echo "$as_me: error: \"--without-badpri not supported.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
alert|crit|debug|emerg|err|info|notice|warning) |
alert|crit|debug|emerg|err|info|notice|warning) |
badpri=$with_badpri |
badpri=$with_badpri |
;; |
;; |
*) { { echo "$as_me:1708: error: $with_badpri is not a supported syslog priority." >&5 |
*) { { echo "$as_me:$LINENO: error: $with_badpri is not a supported syslog priority." >&5 |
echo "$as_me: error: $with_badpri is not a supported syslog priority." >&2;} |
echo "$as_me: error: $with_badpri is not a supported syslog priority." >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define PRI_FAILURE "$badpri" |
#define PRI_FAILURE "$badpri" |
EOF |
_ACEOF |
|
|
echo "$as_me:1719: result: badpri" >&5 |
echo "$as_me:$LINENO: result: $badpri" >&5 |
echo "${ECHO_T}badpri" >&6 |
echo "${ECHO_T}$badpri" >&6 |
|
|
|
|
# Check whether --with-logpath or --without-logpath was given. |
# Check whether --with-logpath or --without-logpath was given. |
if test "${with_logpath+set}" = set; then |
if test "${with_logpath+set}" = set; then |
withval="$with_logpath" |
withval="$with_logpath" |
case $with_logpath in |
case $with_logpath in |
yes) { { echo "$as_me:1726: error: \"must give --with-logpath an argument.\"" >&5 |
yes) { { echo "$as_me:$LINENO: error: \"must give --with-logpath an argument.\"" >&5 |
echo "$as_me: error: \"must give --with-logpath an argument.\"" >&2;} |
echo "$as_me: error: \"must give --with-logpath an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
no) { { echo "$as_me:1730: error: \"--without-logpath not supported.\"" >&5 |
no) { { echo "$as_me:$LINENO: error: \"--without-logpath not supported.\"" >&5 |
echo "$as_me: error: \"--without-logpath not supported.\"" >&2;} |
echo "$as_me: error: \"--without-logpath not supported.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
echo "$as_me:1737: checking how long a line in the log file should be" >&5 |
echo "$as_me:$LINENO: checking how long a line in the log file should be" >&5 |
echo $ECHO_N "checking how long a line in the log file should be... $ECHO_C" >&6 |
echo $ECHO_N "checking how long a line in the log file should be... $ECHO_C" >&6 |
|
|
# Check whether --with-loglen or --without-loglen was given. |
# Check whether --with-loglen or --without-loglen was given. |
if test "${with_loglen+set}" = set; then |
if test "${with_loglen+set}" = set; then |
withval="$with_loglen" |
withval="$with_loglen" |
case $with_loglen in |
case $with_loglen in |
yes) { { echo "$as_me:1744: error: \"must give --with-loglen an argument.\"" >&5 |
yes) { { echo "$as_me:$LINENO: error: \"must give --with-loglen an argument.\"" >&5 |
echo "$as_me: error: \"must give --with-loglen an argument.\"" >&2;} |
echo "$as_me: error: \"must give --with-loglen an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
no) { { echo "$as_me:1748: error: \"--without-loglen not supported.\"" >&5 |
no) { { echo "$as_me:$LINENO: error: \"--without-loglen not supported.\"" >&5 |
echo "$as_me: error: \"--without-loglen not supported.\"" >&2;} |
echo "$as_me: error: \"--without-loglen not supported.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
[0-9]*) loglen=$with_loglen |
[0-9]*) loglen=$with_loglen |
;; |
;; |
*) { { echo "$as_me:1754: error: \"you must enter a number, not $with_loglen\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"you must enter a number, not $with_loglen\"" >&5 |
echo "$as_me: error: \"you must enter a number, not $with_loglen\"" >&2;} |
echo "$as_me: error: \"you must enter a number, not $with_loglen\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define MAXLOGFILELEN $loglen |
#define MAXLOGFILELEN $loglen |
EOF |
_ACEOF |
|
|
echo "$as_me:1765: result: $loglen" >&5 |
echo "$as_me:$LINENO: result: $loglen" >&5 |
echo "${ECHO_T}$loglen" >&6 |
echo "${ECHO_T}$loglen" >&6 |
|
|
echo "$as_me:1768: checking whether sudo should ignore '.' or '' in \$PATH" >&5 |
echo "$as_me:$LINENO: checking whether sudo should ignore '.' or '' in \$PATH" >&5 |
echo $ECHO_N "checking whether sudo should ignore '.' or '' in \$PATH... $ECHO_C" >&6 |
echo $ECHO_N "checking whether sudo should ignore '.' or '' in \$PATH... $ECHO_C" >&6 |
|
|
# Check whether --with-ignore-dot or --without-ignore-dot was given. |
# Check whether --with-ignore-dot or --without-ignore-dot was given. |
|
|
;; |
;; |
no) ignore_dot=off |
no) ignore_dot=off |
;; |
;; |
*) { { echo "$as_me:1779: error: \"--with-ignore-dot does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-ignore-dot does not take an argument.\"" >&5 |
echo "$as_me: error: \"--with-ignore-dot does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--with-ignore-dot does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
|
|
fi; |
fi; |
if test "$ignore_dot" = "on"; then |
if test "$ignore_dot" = "on"; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define IGNORE_DOT_PATH 1 |
#define IGNORE_DOT_PATH 1 |
EOF |
_ACEOF |
|
|
echo "$as_me:1791: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
else |
else |
echo "$as_me:1794: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi |
fi |
|
|
echo "$as_me:1798: checking whether to send mail when a user is not in sudoers" >&5 |
echo "$as_me:$LINENO: checking whether to send mail when a user is not in sudoers" >&5 |
echo $ECHO_N "checking whether to send mail when a user is not in sudoers... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to send mail when a user is not in sudoers... $ECHO_C" >&6 |
|
|
# Check whether --with-mail-if-no-user or --without-mail-if-no-user was given. |
# Check whether --with-mail-if-no-user or --without-mail-if-no-user was given. |
|
|
;; |
;; |
no) mail_no_user=off |
no) mail_no_user=off |
;; |
;; |
*) { { echo "$as_me:1809: error: \"--with-mail-if-no-user does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-mail-if-no-user does not take an argument.\"" >&5 |
echo "$as_me: error: \"--with-mail-if-no-user does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--with-mail-if-no-user does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
|
|
fi; |
fi; |
if test "$mail_no_user" = "on"; then |
if test "$mail_no_user" = "on"; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define SEND_MAIL_WHEN_NO_USER 1 |
#define SEND_MAIL_WHEN_NO_USER 1 |
EOF |
_ACEOF |
|
|
echo "$as_me:1821: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
else |
else |
echo "$as_me:1824: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi |
fi |
|
|
echo "$as_me:1828: checking whether to send mail when user listed but not for this host" >&5 |
echo "$as_me:$LINENO: checking whether to send mail when user listed but not for this host" >&5 |
echo $ECHO_N "checking whether to send mail when user listed but not for this host... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to send mail when user listed but not for this host... $ECHO_C" >&6 |
|
|
# Check whether --with-mail-if-no-host or --without-mail-if-no-host was given. |
# Check whether --with-mail-if-no-host or --without-mail-if-no-host was given. |
|
|
;; |
;; |
no) mail_no_host=off |
no) mail_no_host=off |
;; |
;; |
*) { { echo "$as_me:1839: error: \"--with-mail-if-no-host does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-mail-if-no-host does not take an argument.\"" >&5 |
echo "$as_me: error: \"--with-mail-if-no-host does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--with-mail-if-no-host does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
|
|
fi; |
fi; |
if test "$mail_no_host" = "on"; then |
if test "$mail_no_host" = "on"; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define SEND_MAIL_WHEN_NO_HOST 1 |
#define SEND_MAIL_WHEN_NO_HOST 1 |
EOF |
_ACEOF |
|
|
echo "$as_me:1851: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
else |
else |
echo "$as_me:1854: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi |
fi |
|
|
echo "$as_me:1858: checking whether to send mail when a user tries a disallowed command" >&5 |
echo "$as_me:$LINENO: checking whether to send mail when a user tries a disallowed command" >&5 |
echo $ECHO_N "checking whether to send mail when a user tries a disallowed command... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to send mail when a user tries a disallowed command... $ECHO_C" >&6 |
|
|
# Check whether --with-mail-if-noperms or --without-mail-if-noperms was given. |
# Check whether --with-mail-if-noperms or --without-mail-if-noperms was given. |
|
|
;; |
;; |
no) mail_noperms=off |
no) mail_noperms=off |
;; |
;; |
*) { { echo "$as_me:1869: error: \"--with-mail-if-noperms does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-mail-if-noperms does not take an argument.\"" >&5 |
echo "$as_me: error: \"--with-mail-if-noperms does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--with-mail-if-noperms does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
|
|
fi; |
fi; |
if test "$mail_noperms" = "on"; then |
if test "$mail_noperms" = "on"; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define SEND_MAIL_WHEN_NOT_OK 1 |
#define SEND_MAIL_WHEN_NOT_OK 1 |
EOF |
_ACEOF |
|
|
echo "$as_me:1881: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
else |
else |
echo "$as_me:1884: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi |
fi |
|
|
echo "$as_me:1888: checking who should get the mail that sudo sends" >&5 |
echo "$as_me:$LINENO: checking who should get the mail that sudo sends" >&5 |
echo $ECHO_N "checking who should get the mail that sudo sends... $ECHO_C" >&6 |
echo $ECHO_N "checking who should get the mail that sudo sends... $ECHO_C" >&6 |
|
|
# Check whether --with-mailto or --without-mailto was given. |
# Check whether --with-mailto or --without-mailto was given. |
if test "${with_mailto+set}" = set; then |
if test "${with_mailto+set}" = set; then |
withval="$with_mailto" |
withval="$with_mailto" |
case $with_mailto in |
case $with_mailto in |
yes) { { echo "$as_me:1895: error: \"must give --with-mailto an argument.\"" >&5 |
yes) { { echo "$as_me:$LINENO: error: \"must give --with-mailto an argument.\"" >&5 |
echo "$as_me: error: \"must give --with-mailto an argument.\"" >&2;} |
echo "$as_me: error: \"must give --with-mailto an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
no) { { echo "$as_me:1899: error: \"--without-mailto not supported.\"" >&5 |
no) { { echo "$as_me:$LINENO: error: \"--without-mailto not supported.\"" >&5 |
echo "$as_me: error: \"--without-mailto not supported.\"" >&2;} |
echo "$as_me: error: \"--without-mailto not supported.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
|
|
esac |
esac |
fi; |
fi; |
|
|
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define MAILTO "$mailto" |
#define MAILTO "$mailto" |
EOF |
_ACEOF |
|
|
echo "$as_me:1912: result: $mailto" >&5 |
echo "$as_me:$LINENO: result: $mailto" >&5 |
echo "${ECHO_T}$mailto" >&6 |
echo "${ECHO_T}$mailto" >&6 |
|
|
|
|
# Check whether --with-mailsubject or --without-mailsubject was given. |
# Check whether --with-mailsubject or --without-mailsubject was given. |
if test "${with_mailsubject+set}" = set; then |
if test "${with_mailsubject+set}" = set; then |
withval="$with_mailsubject" |
withval="$with_mailsubject" |
case $with_mailsubject in |
case $with_mailsubject in |
yes) { { echo "$as_me:1919: error: \"must give --with-mailsubject an argument.\"" >&5 |
yes) { { echo "$as_me:$LINENO: error: \"must give --with-mailsubject an argument.\"" >&5 |
echo "$as_me: error: \"must give --with-mailsubject an argument.\"" >&2;} |
echo "$as_me: error: \"must give --with-mailsubject an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
no) echo "Sorry, --without-mailsubject not supported." |
no) echo "Sorry, --without-mailsubject not supported." |
;; |
;; |
*) mailsub="$with_mailsubject" |
*) mailsub="$with_mailsubject" |
echo "$as_me:1926: checking sudo mail subject" >&5 |
echo "$as_me:$LINENO: checking sudo mail subject" >&5 |
echo $ECHO_N "checking sudo mail subject... $ECHO_C" >&6 |
echo $ECHO_N "checking sudo mail subject... $ECHO_C" >&6 |
echo "$as_me:1928: result: Using alert mail subject: $mailsub" >&5 |
echo "$as_me:$LINENO: result: Using alert mail subject: $mailsub" >&5 |
echo "${ECHO_T}Using alert mail subject: $mailsub" >&6 |
echo "${ECHO_T}Using alert mail subject: $mailsub" >&6 |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define MAILSUBJECT "$mailsub" |
#define MAILSUBJECT "$mailsub" |
EOF |
_ACEOF |
|
|
echo "$as_me:1938: checking for bad password prompt" >&5 |
|
|
echo "$as_me:$LINENO: checking for bad password prompt" >&5 |
echo $ECHO_N "checking for bad password prompt... $ECHO_C" >&6 |
echo $ECHO_N "checking for bad password prompt... $ECHO_C" >&6 |
|
|
# Check whether --with-passprompt or --without-passprompt was given. |
# Check whether --with-passprompt or --without-passprompt was given. |
if test "${with_passprompt+set}" = set; then |
if test "${with_passprompt+set}" = set; then |
withval="$with_passprompt" |
withval="$with_passprompt" |
case $with_passprompt in |
case $with_passprompt in |
yes) { { echo "$as_me:1945: error: \"must give --with-passprompt an argument.\"" >&5 |
yes) { { echo "$as_me:$LINENO: error: \"must give --with-passprompt an argument.\"" >&5 |
echo "$as_me: error: \"must give --with-passprompt an argument.\"" >&2;} |
echo "$as_me: error: \"must give --with-passprompt an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
|
|
*) passprompt="$with_passprompt" |
*) passprompt="$with_passprompt" |
esac |
esac |
fi; |
fi; |
echo "$as_me:1954: result: $passprompt" >&5 |
echo "$as_me:$LINENO: result: $passprompt" >&5 |
echo "${ECHO_T}$passprompt" >&6 |
echo "${ECHO_T}$passprompt" >&6 |
|
|
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define PASSPROMPT "$passprompt" |
#define PASSPROMPT "$passprompt" |
EOF |
_ACEOF |
|
|
echo "$as_me:1961: checking for bad password message" >&5 |
|
|
echo "$as_me:$LINENO: checking for bad password message" >&5 |
echo $ECHO_N "checking for bad password message... $ECHO_C" >&6 |
echo $ECHO_N "checking for bad password message... $ECHO_C" >&6 |
|
|
# Check whether --with-badpass-message or --without-badpass-message was given. |
# Check whether --with-badpass-message or --without-badpass-message was given. |
if test "${with_badpass_message+set}" = set; then |
if test "${with_badpass_message+set}" = set; then |
withval="$with_badpass_message" |
withval="$with_badpass_message" |
case $with_badpass_message in |
case $with_badpass_message in |
yes) { { echo "$as_me:1968: error: \"Must give --with-badpass-message an argument.\"" >&5 |
yes) { { echo "$as_me:$LINENO: error: \"Must give --with-badpass-message an argument.\"" >&5 |
echo "$as_me: error: \"Must give --with-badpass-message an argument.\"" >&2;} |
echo "$as_me: error: \"Must give --with-badpass-message an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
|
|
esac |
esac |
fi; |
fi; |
|
|
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define INCORRECT_PASSWORD "$badpass_message" |
#define INCORRECT_PASSWORD "$badpass_message" |
EOF |
_ACEOF |
|
|
echo "$as_me:1983: result: $badpass_message" >&5 |
echo "$as_me:$LINENO: result: $badpass_message" >&5 |
echo "${ECHO_T}$badpass_message" >&6 |
echo "${ECHO_T}$badpass_message" >&6 |
|
|
echo "$as_me:1986: checking whether to expect fully qualified hosts in sudoers" >&5 |
echo "$as_me:$LINENO: checking whether to expect fully qualified hosts in sudoers" >&5 |
echo $ECHO_N "checking whether to expect fully qualified hosts in sudoers... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to expect fully qualified hosts in sudoers... $ECHO_C" >&6 |
|
|
# Check whether --with-fqdn or --without-fqdn was given. |
# Check whether --with-fqdn or --without-fqdn was given. |
|
|
;; |
;; |
no) fqdn=off |
no) fqdn=off |
;; |
;; |
*) { { echo "$as_me:1997: error: \"--with-fqdn does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-fqdn does not take an argument.\"" >&5 |
echo "$as_me: error: \"--with-fqdn does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--with-fqdn does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
|
|
fi; |
fi; |
if test "$fqdn" = "on"; then |
if test "$fqdn" = "on"; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define FQDN 1 |
#define FQDN 1 |
EOF |
_ACEOF |
|
|
echo "$as_me:2009: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
else |
else |
echo "$as_me:2012: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi |
fi |
|
|
|
|
# Check whether --with-timedir or --without-timedir was given. |
# Check whether --with-timedir or --without-timedir was given. |
if test "${with_timedir+set}" = set; then |
if test "${with_timedir+set}" = set; then |
withval="$with_timedir" |
withval="$with_timedir" |
case $with_timedir in |
case $with_timedir in |
yes) { { echo "$as_me:2020: error: \"must give --with-timedir an argument.\"" >&5 |
yes) { { echo "$as_me:$LINENO: error: \"must give --with-timedir an argument.\"" >&5 |
echo "$as_me: error: \"must give --with-timedir an argument.\"" >&2;} |
echo "$as_me: error: \"must give --with-timedir an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
no) { { echo "$as_me:2024: error: \"--without-timedir not supported.\"" >&5 |
no) { { echo "$as_me:$LINENO: error: \"--without-timedir not supported.\"" >&5 |
echo "$as_me: error: \"--without-timedir not supported.\"" >&2;} |
echo "$as_me: error: \"--without-timedir not supported.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-sendmail or --without-sendmail was given. |
# Check whether --with-sendmail or --without-sendmail was given. |
if test "${with_sendmail+set}" = set; then |
if test "${with_sendmail+set}" = set; then |
withval="$with_sendmail" |
withval="$with_sendmail" |
|
|
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-sudoers-mode or --without-sudoers-mode was given. |
# Check whether --with-sudoers-mode or --without-sudoers-mode was given. |
if test "${with_sudoers_mode+set}" = set; then |
if test "${with_sudoers_mode+set}" = set; then |
withval="$with_sudoers_mode" |
withval="$with_sudoers_mode" |
case $with_sudoers_mode in |
case $with_sudoers_mode in |
yes) { { echo "$as_me:2050: error: \"must give --with-sudoers-mode an argument.\"" >&5 |
yes) { { echo "$as_me:$LINENO: error: \"must give --with-sudoers-mode an argument.\"" >&5 |
echo "$as_me: error: \"must give --with-sudoers-mode an argument.\"" >&2;} |
echo "$as_me: error: \"must give --with-sudoers-mode an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
no) { { echo "$as_me:2054: error: \"--without-sudoers-mode not supported.\"" >&5 |
no) { { echo "$as_me:$LINENO: error: \"--without-sudoers-mode not supported.\"" >&5 |
echo "$as_me: error: \"--without-sudoers-mode not supported.\"" >&2;} |
echo "$as_me: error: \"--without-sudoers-mode not supported.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
|
|
;; |
;; |
0*) SUDOERS_MODE=$with_sudoers_mode |
0*) SUDOERS_MODE=$with_sudoers_mode |
;; |
;; |
*) { { echo "$as_me:2062: error: \"you must use a numeric uid, not a name.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"you must use an octal mode, not a name.\"" >&5 |
echo "$as_me: error: \"you must use a numeric uid, not a name.\"" >&2;} |
echo "$as_me: error: \"you must use an octal mode, not a name.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-sudoers-uid or --without-sudoers-uid was given. |
# Check whether --with-sudoers-uid or --without-sudoers-uid was given. |
if test "${with_sudoers_uid+set}" = set; then |
if test "${with_sudoers_uid+set}" = set; then |
withval="$with_sudoers_uid" |
withval="$with_sudoers_uid" |
case $with_sudoers_uid in |
case $with_sudoers_uid in |
yes) { { echo "$as_me:2073: error: \"must give --with-sudoers-uid an argument.\"" >&5 |
yes) { { echo "$as_me:$LINENO: error: \"must give --with-sudoers-uid an argument.\"" >&5 |
echo "$as_me: error: \"must give --with-sudoers-uid an argument.\"" >&2;} |
echo "$as_me: error: \"must give --with-sudoers-uid an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
no) { { echo "$as_me:2077: error: \"--without-sudoers-uid not supported.\"" >&5 |
no) { { echo "$as_me:$LINENO: error: \"--without-sudoers-uid not supported.\"" >&5 |
echo "$as_me: error: \"--without-sudoers-uid not supported.\"" >&2;} |
echo "$as_me: error: \"--without-sudoers-uid not supported.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
[0-9]*) SUDOERS_UID=$with_sudoers_uid |
[0-9]*) SUDOERS_UID=$with_sudoers_uid |
;; |
;; |
*) { { echo "$as_me:2083: error: \"you must use a numeric uid, not a name.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"you must use an unsigned numeric uid, not a name.\"" >&5 |
echo "$as_me: error: \"you must use a numeric uid, not a name.\"" >&2;} |
echo "$as_me: error: \"you must use an unsigned numeric uid, not a name.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-sudoers-gid or --without-sudoers-gid was given. |
# Check whether --with-sudoers-gid or --without-sudoers-gid was given. |
if test "${with_sudoers_gid+set}" = set; then |
if test "${with_sudoers_gid+set}" = set; then |
withval="$with_sudoers_gid" |
withval="$with_sudoers_gid" |
case $with_sudoers_gid in |
case $with_sudoers_gid in |
yes) { { echo "$as_me:2094: error: \"must give --with-sudoers-gid an argument.\"" >&5 |
yes) { { echo "$as_me:$LINENO: error: \"must give --with-sudoers-gid an argument.\"" >&5 |
echo "$as_me: error: \"must give --with-sudoers-gid an argument.\"" >&2;} |
echo "$as_me: error: \"must give --with-sudoers-gid an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
no) { { echo "$as_me:2098: error: \"--without-sudoers-gid not supported.\"" >&5 |
no) { { echo "$as_me:$LINENO: error: \"--without-sudoers-gid not supported.\"" >&5 |
echo "$as_me: error: \"--without-sudoers-gid not supported.\"" >&2;} |
echo "$as_me: error: \"--without-sudoers-gid not supported.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
[0-9]*) SUDOERS_GID=$with_sudoers_gid |
[0-9]*) SUDOERS_GID=$with_sudoers_gid |
;; |
;; |
*) { { echo "$as_me:2104: error: \"you must use a numeric gid, not a name.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"you must use an unsigned numeric gid, not a name.\"" >&5 |
echo "$as_me: error: \"you must use a numeric gid, not a name.\"" >&2;} |
echo "$as_me: error: \"you must use an unsigned numeric gid, not a name.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
echo "$as_me:2111: checking for umask programs should be run with" >&5 |
echo "$as_me:$LINENO: checking for umask programs should be run with" >&5 |
echo $ECHO_N "checking for umask programs should be run with... $ECHO_C" >&6 |
echo $ECHO_N "checking for umask programs should be run with... $ECHO_C" >&6 |
|
|
# Check whether --with-umask or --without-umask was given. |
# Check whether --with-umask or --without-umask was given. |
if test "${with_umask+set}" = set; then |
if test "${with_umask+set}" = set; then |
withval="$with_umask" |
withval="$with_umask" |
case $with_umask in |
case $with_umask in |
yes) { { echo "$as_me:2118: error: \"must give --with-umask an argument.\"" >&5 |
yes) { { echo "$as_me:$LINENO: error: \"must give --with-umask an argument.\"" >&5 |
echo "$as_me: error: \"must give --with-umask an argument.\"" >&2;} |
echo "$as_me: error: \"must give --with-umask an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
|
|
;; |
;; |
[0-9]*) sudo_umask=$with_umask |
[0-9]*) sudo_umask=$with_umask |
;; |
;; |
*) { { echo "$as_me:2126: error: \"you must enter a numeric mask.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"you must enter a numeric mask.\"" >&5 |
echo "$as_me: error: \"you must enter a numeric mask.\"" >&2;} |
echo "$as_me: error: \"you must enter a numeric mask.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define SUDO_UMASK $sudo_umask |
#define SUDO_UMASK $sudo_umask |
EOF |
_ACEOF |
|
|
if test "$sudo_umask" = "0777"; then |
if test "$sudo_umask" = "0777"; then |
echo "$as_me:2138: result: user" >&5 |
echo "$as_me:$LINENO: result: user" >&5 |
echo "${ECHO_T}user" >&6 |
echo "${ECHO_T}user" >&6 |
else |
else |
echo "$as_me:2141: result: $sudo_umask" >&5 |
echo "$as_me:$LINENO: result: $sudo_umask" >&5 |
echo "${ECHO_T}$sudo_umask" >&6 |
echo "${ECHO_T}$sudo_umask" >&6 |
fi |
fi |
|
|
echo "$as_me:2145: checking for default user to run commands as" >&5 |
echo "$as_me:$LINENO: checking for default user to run commands as" >&5 |
echo $ECHO_N "checking for default user to run commands as... $ECHO_C" >&6 |
echo $ECHO_N "checking for default user to run commands as... $ECHO_C" >&6 |
|
|
# Check whether --with-runas-default or --without-runas-default was given. |
# Check whether --with-runas-default or --without-runas-default was given. |
if test "${with_runas_default+set}" = set; then |
if test "${with_runas_default+set}" = set; then |
withval="$with_runas_default" |
withval="$with_runas_default" |
case $with_runas_default in |
case $with_runas_default in |
yes) { { echo "$as_me:2152: error: \"must give --with-runas-default an argument.\"" >&5 |
yes) { { echo "$as_me:$LINENO: error: \"must give --with-runas-default an argument.\"" >&5 |
echo "$as_me: error: \"must give --with-runas-default an argument.\"" >&2;} |
echo "$as_me: error: \"must give --with-runas-default an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
no) { { echo "$as_me:2156: error: \"--without-runas-default not supported.\"" >&5 |
no) { { echo "$as_me:$LINENO: error: \"--without-runas-default not supported.\"" >&5 |
echo "$as_me: error: \"--without-runas-default not supported.\"" >&2;} |
echo "$as_me: error: \"--without-runas-default not supported.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
|
|
esac |
esac |
fi; |
fi; |
|
|
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define RUNAS_DEFAULT "$runas_default" |
#define RUNAS_DEFAULT "$runas_default" |
EOF |
_ACEOF |
|
|
echo "$as_me:2169: result: $runas_default" >&5 |
echo "$as_me:$LINENO: result: $runas_default" >&5 |
echo "${ECHO_T}$runas_default" >&6 |
echo "${ECHO_T}$runas_default" >&6 |
|
|
|
|
# Check whether --with-exempt or --without-exempt was given. |
# Check whether --with-exempt or --without-exempt was given. |
if test "${with_exempt+set}" = set; then |
if test "${with_exempt+set}" = set; then |
withval="$with_exempt" |
withval="$with_exempt" |
case $with_exempt in |
case $with_exempt in |
yes) { { echo "$as_me:2176: error: \"must give --with-exempt an argument.\"" >&5 |
yes) { { echo "$as_me:$LINENO: error: \"must give --with-exempt an argument.\"" >&5 |
echo "$as_me: error: \"must give --with-exempt an argument.\"" >&2;} |
echo "$as_me: error: \"must give --with-exempt an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
no) { { echo "$as_me:2180: error: \"--without-exempt not supported.\"" >&5 |
no) { { echo "$as_me:$LINENO: error: \"--without-exempt not supported.\"" >&5 |
echo "$as_me: error: \"--without-exempt not supported.\"" >&2;} |
echo "$as_me: error: \"--without-exempt not supported.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
*) |
*) |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define EXEMPTGROUP "$with_exempt" |
#define EXEMPTGROUP "$with_exempt" |
EOF |
_ACEOF |
|
|
echo "$as_me:2189: checking for group to be exempt from password" >&5 |
echo "$as_me:$LINENO: checking for group to be exempt from password" >&5 |
echo $ECHO_N "checking for group to be exempt from password... $ECHO_C" >&6 |
echo $ECHO_N "checking for group to be exempt from password... $ECHO_C" >&6 |
echo "$as_me:2191: result: $with_exempt" >&5 |
echo "$as_me:$LINENO: result: $with_exempt" >&5 |
echo "${ECHO_T}$with_exempt" >&6 |
echo "${ECHO_T}$with_exempt" >&6 |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
echo "$as_me:2197: checking for editor that visudo should use" >&5 |
echo "$as_me:$LINENO: checking for editor that visudo should use" >&5 |
echo $ECHO_N "checking for editor that visudo should use... $ECHO_C" >&6 |
echo $ECHO_N "checking for editor that visudo should use... $ECHO_C" >&6 |
|
|
# Check whether --with-editor or --without-editor was given. |
# Check whether --with-editor or --without-editor was given. |
if test "${with_editor+set}" = set; then |
if test "${with_editor+set}" = set; then |
withval="$with_editor" |
withval="$with_editor" |
case $with_editor in |
case $with_editor in |
yes) { { echo "$as_me:2204: error: \"must give --with-editor an argument.\"" >&5 |
yes) { { echo "$as_me:$LINENO: error: \"must give --with-editor an argument.\"" >&5 |
echo "$as_me: error: \"must give --with-editor an argument.\"" >&2;} |
echo "$as_me: error: \"must give --with-editor an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
no) { { echo "$as_me:2208: error: \"--without-editor not supported.\"" >&5 |
no) { { echo "$as_me:$LINENO: error: \"--without-editor not supported.\"" >&5 |
echo "$as_me: error: \"--without-editor not supported.\"" >&2;} |
echo "$as_me: error: \"--without-editor not supported.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
*) |
*) |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define EDITOR "$with_editor" |
#define EDITOR "$with_editor" |
EOF |
_ACEOF |
|
|
echo "$as_me:2217: result: $with_editor" >&5 |
echo "$as_me:$LINENO: result: $with_editor" >&5 |
echo "${ECHO_T}$with_editor" >&6 |
echo "${ECHO_T}$with_editor" >&6 |
;; |
;; |
esac |
esac |
else |
else |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define EDITOR _PATH_VI |
#define EDITOR _PATH_VI |
EOF |
_ACEOF |
echo "$as_me:2225: result: vi" >&5 |
echo "$as_me:$LINENO: result: vi" >&5 |
echo "${ECHO_T}vi" >&6 |
echo "${ECHO_T}vi" >&6 |
fi; |
fi; |
|
|
echo "$as_me:2229: checking whether to obey EDITOR and VISUAL environment variables" >&5 |
echo "$as_me:$LINENO: checking whether to obey EDITOR and VISUAL environment variables" >&5 |
echo $ECHO_N "checking whether to obey EDITOR and VISUAL environment variables... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to obey EDITOR and VISUAL environment variables... $ECHO_C" >&6 |
|
|
# Check whether --with-env-editor or --without-env-editor was given. |
# Check whether --with-env-editor or --without-env-editor was given. |
|
|
;; |
;; |
no) env_editor=off |
no) env_editor=off |
;; |
;; |
*) { { echo "$as_me:2240: error: \"--with-env-editor does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-env-editor does not take an argument.\"" >&5 |
echo "$as_me: error: \"--with-env-editor does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--with-env-editor does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
|
|
fi; |
fi; |
if test "$env_editor" = "on"; then |
if test "$env_editor" = "on"; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define ENV_EDITOR 1 |
#define ENV_EDITOR 1 |
EOF |
_ACEOF |
|
|
echo "$as_me:2252: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
else |
else |
echo "$as_me:2255: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi |
fi |
|
|
echo "$as_me:2259: checking number of tries a user gets to enter their password" >&5 |
echo "$as_me:$LINENO: checking number of tries a user gets to enter their password" >&5 |
echo $ECHO_N "checking number of tries a user gets to enter their password... $ECHO_C" >&6 |
echo $ECHO_N "checking number of tries a user gets to enter their password... $ECHO_C" >&6 |
|
|
# Check whether --with-passwd-tries or --without-passwd-tries was given. |
# Check whether --with-passwd-tries or --without-passwd-tries was given. |
|
|
withval="$with_passwd_tries" |
withval="$with_passwd_tries" |
case $with_passwd_tries in |
case $with_passwd_tries in |
yes) ;; |
yes) ;; |
no) { { echo "$as_me:2267: error: \"--without-editor not supported.\"" >&5 |
no) { { echo "$as_me:$LINENO: error: \"--without-editor not supported.\"" >&5 |
echo "$as_me: error: \"--without-editor not supported.\"" >&2;} |
echo "$as_me: error: \"--without-editor not supported.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
[1-9]*) passwd_tries=$with_passwd_tries |
[1-9]*) passwd_tries=$with_passwd_tries |
;; |
;; |
*) { { echo "$as_me:2273: error: \"you must enter the numer of tries, > 0\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"you must enter the numer of tries, > 0\"" >&5 |
echo "$as_me: error: \"you must enter the numer of tries, > 0\"" >&2;} |
echo "$as_me: error: \"you must enter the numer of tries, > 0\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define TRIES_FOR_PASSWORD $passwd_tries |
#define TRIES_FOR_PASSWORD $passwd_tries |
EOF |
_ACEOF |
|
|
echo "$as_me:2284: result: $passwd_tries" >&5 |
echo "$as_me:$LINENO: result: $passwd_tries" >&5 |
echo "${ECHO_T}$passwd_tries" >&6 |
echo "${ECHO_T}$passwd_tries" >&6 |
|
|
echo "$as_me:2287: checking time in minutes after which sudo will ask for a password again" >&5 |
echo "$as_me:$LINENO: checking time in minutes after which sudo will ask for a password again" >&5 |
echo $ECHO_N "checking time in minutes after which sudo will ask for a password again... $ECHO_C" >&6 |
echo $ECHO_N "checking time in minutes after which sudo will ask for a password again... $ECHO_C" >&6 |
|
|
# Check whether --with-timeout or --without-timeout was given. |
# Check whether --with-timeout or --without-timeout was given. |
if test "${with_timeout+set}" = set; then |
if test "${with_timeout+set}" = set; then |
withval="$with_timeout" |
withval="$with_timeout" |
echo $with_timeout; case $with_timeout in |
case $with_timeout in |
yes) ;; |
yes) ;; |
no) timeout=0 |
no) timeout=0 |
;; |
;; |
[0-9]*) timeout=$with_timeout |
[0-9]*) timeout=$with_timeout |
;; |
;; |
*) { { echo "$as_me:2299: error: \"you must enter the numer of minutes.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"you must enter the numer of minutes.\"" >&5 |
echo "$as_me: error: \"you must enter the numer of minutes.\"" >&2;} |
echo "$as_me: error: \"you must enter the numer of minutes.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define TIMEOUT $timeout |
#define TIMEOUT $timeout |
EOF |
_ACEOF |
|
|
echo "$as_me:2310: result: $timeout" >&5 |
echo "$as_me:$LINENO: result: $timeout" >&5 |
echo "${ECHO_T}$timeout" >&6 |
echo "${ECHO_T}$timeout" >&6 |
|
|
echo "$as_me:2313: checking time in minutes after the password prompt will time out" >&5 |
echo "$as_me:$LINENO: checking time in minutes after the password prompt will time out" >&5 |
echo $ECHO_N "checking time in minutes after the password prompt will time out... $ECHO_C" >&6 |
echo $ECHO_N "checking time in minutes after the password prompt will time out... $ECHO_C" >&6 |
|
|
# Check whether --with-password-timeout or --without-password-timeout was given. |
# Check whether --with-password-timeout or --without-password-timeout was given. |
|
|
;; |
;; |
[0-9]*) password_timeout=$with_password_timeout |
[0-9]*) password_timeout=$with_password_timeout |
;; |
;; |
*) { { echo "$as_me:2325: error: \"you must enter the numer of minutes.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"you must enter the numer of minutes.\"" >&5 |
echo "$as_me: error: \"you must enter the numer of minutes.\"" >&2;} |
echo "$as_me: error: \"you must enter the numer of minutes.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define PASSWORD_TIMEOUT $password_timeout |
#define PASSWORD_TIMEOUT $password_timeout |
EOF |
_ACEOF |
|
|
echo "$as_me:2336: result: $password_timeout" >&5 |
echo "$as_me:$LINENO: result: $password_timeout" >&5 |
echo "${ECHO_T}$password_timeout" >&6 |
echo "${ECHO_T}$password_timeout" >&6 |
|
|
|
|
# Check whether --with-execv or --without-execv was given. |
# Check whether --with-execv or --without-execv was given. |
if test "${with_execv+set}" = set; then |
if test "${with_execv+set}" = set; then |
withval="$with_execv" |
withval="$with_execv" |
case $with_execv in |
case $with_execv in |
yes) echo "$as_me:2343: checking whether to use execvp or execv" >&5 |
yes) echo "$as_me:$LINENO: checking whether to use execvp or execv" >&5 |
echo $ECHO_N "checking whether to use execvp or execv... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to use execvp or execv... $ECHO_C" >&6 |
echo "$as_me:2345: result: execv" >&5 |
echo "$as_me:$LINENO: result: execv" >&5 |
echo "${ECHO_T}execv" >&6 |
echo "${ECHO_T}execv" >&6 |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define USE_EXECV 1 |
#define USE_EXECV 1 |
EOF |
_ACEOF |
|
|
;; |
;; |
no) ;; |
no) ;; |
*) { { echo "$as_me:2354: error: \"--with-execv does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-execv does not take an argument.\"" >&5 |
echo "$as_me: error: \"--with-execv does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--with-execv does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
echo "$as_me:2361: checking whether to use per-tty ticket files" >&5 |
echo "$as_me:$LINENO: checking whether to use per-tty ticket files" >&5 |
echo $ECHO_N "checking whether to use per-tty ticket files... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to use per-tty ticket files... $ECHO_C" >&6 |
|
|
# Check whether --with-tty-tickets or --without-tty-tickets was given. |
# Check whether --with-tty-tickets or --without-tty-tickets was given. |
|
|
;; |
;; |
no) tty_tickets=off |
no) tty_tickets=off |
;; |
;; |
*) { { echo "$as_me:2372: error: \"--with-tty-tickets does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-tty-tickets does not take an argument.\"" >&5 |
echo "$as_me: error: \"--with-tty-tickets does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--with-tty-tickets does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
|
|
fi; |
fi; |
if test "$tty_tickets" = "on"; then |
if test "$tty_tickets" = "on"; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define USE_TTY_TICKETS 1 |
#define USE_TTY_TICKETS 1 |
EOF |
_ACEOF |
|
|
echo "$as_me:2384: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
else |
else |
echo "$as_me:2387: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi |
fi |
|
|
echo "$as_me:2391: checking whether to include insults" >&5 |
echo "$as_me:$LINENO: checking whether to include insults" >&5 |
echo $ECHO_N "checking whether to include insults... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to include insults... $ECHO_C" >&6 |
|
|
# Check whether --with-insults or --without-insults was given. |
# Check whether --with-insults or --without-insults was given. |
|
|
;; |
;; |
no) insults=off |
no) insults=off |
;; |
;; |
*) { { echo "$as_me:2404: error: \"--with-insults does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-insults does not take an argument.\"" >&5 |
echo "$as_me: error: \"--with-insults does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--with-insults does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
|
|
fi; |
fi; |
if test "$insults" = "on"; then |
if test "$insults" = "on"; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define USE_INSULTS 1 |
#define USE_INSULTS 1 |
EOF |
_ACEOF |
|
|
echo "$as_me:2416: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
else |
else |
echo "$as_me:2419: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi |
fi |
|
|
|
|
# Check whether --with-all-insults or --without-all-insults was given. |
# Check whether --with-all-insults or --without-all-insults was given. |
if test "${with_all_insults+set}" = set; then |
if test "${with_all_insults+set}" = set; then |
withval="$with_all_insults" |
withval="$with_all_insults" |
|
|
with_goons_insults=yes |
with_goons_insults=yes |
;; |
;; |
no) ;; |
no) ;; |
*) { { echo "$as_me:2433: error: \"--with-all-insults does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-all-insults does not take an argument.\"" >&5 |
echo "$as_me: error: \"--with-all-insults does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--with-all-insults does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-classic-insults or --without-classic-insults was given. |
# Check whether --with-classic-insults or --without-classic-insults was given. |
if test "${with_classic_insults+set}" = set; then |
if test "${with_classic_insults+set}" = set; then |
withval="$with_classic_insults" |
withval="$with_classic_insults" |
case $with_classic_insults in |
case $with_classic_insults in |
yes) |
yes) |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define CLASSIC_INSULTS 1 |
#define CLASSIC_INSULTS 1 |
EOF |
_ACEOF |
|
|
;; |
;; |
no) ;; |
no) ;; |
*) { { echo "$as_me:2451: error: \"--with-classic-insults does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-classic-insults does not take an argument.\"" >&5 |
echo "$as_me: error: \"--with-classic-insults does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--with-classic-insults does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-csops-insults or --without-csops-insults was given. |
# Check whether --with-csops-insults or --without-csops-insults was given. |
if test "${with_csops_insults+set}" = set; then |
if test "${with_csops_insults+set}" = set; then |
withval="$with_csops_insults" |
withval="$with_csops_insults" |
case $with_csops_insults in |
case $with_csops_insults in |
yes) |
yes) |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define CSOPS_INSULTS 1 |
#define CSOPS_INSULTS 1 |
EOF |
_ACEOF |
|
|
;; |
;; |
no) ;; |
no) ;; |
*) { { echo "$as_me:2469: error: \"--with-csops-insults does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-csops-insults does not take an argument.\"" >&5 |
echo "$as_me: error: \"--with-csops-insults does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--with-csops-insults does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-hal-insults or --without-hal-insults was given. |
# Check whether --with-hal-insults or --without-hal-insults was given. |
if test "${with_hal_insults+set}" = set; then |
if test "${with_hal_insults+set}" = set; then |
withval="$with_hal_insults" |
withval="$with_hal_insults" |
case $with_hal_insults in |
case $with_hal_insults in |
yes) |
yes) |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAL_INSULTS 1 |
#define HAL_INSULTS 1 |
EOF |
_ACEOF |
|
|
;; |
;; |
no) ;; |
no) ;; |
*) { { echo "$as_me:2487: error: \"--with-hal-insults does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-hal-insults does not take an argument.\"" >&5 |
echo "$as_me: error: \"--with-hal-insults does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--with-hal-insults does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi; |
|
|
|
|
# Check whether --with-goons-insults or --without-goons-insults was given. |
# Check whether --with-goons-insults or --without-goons-insults was given. |
if test "${with_goons_insults+set}" = set; then |
if test "${with_goons_insults+set}" = set; then |
withval="$with_goons_insults" |
withval="$with_goons_insults" |
case $with_goons_insults in |
case $with_goons_insults in |
yes) |
yes) |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define GOONS_INSULTS 1 |
#define GOONS_INSULTS 1 |
EOF |
_ACEOF |
|
|
;; |
;; |
no) ;; |
no) ;; |
*) { { echo "$as_me:2505: error: \"--with-goons-insults does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-goons-insults does not take an argument.\"" >&5 |
echo "$as_me: error: \"--with-goons-insults does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--with-goons-insults does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
|
|
fi; |
fi; |
|
|
if test "$insults" = "on"; then |
if test "$insults" = "on"; then |
echo "$as_me:2513: checking which insult sets to include" >&5 |
echo "$as_me:$LINENO: checking which insult sets to include" >&5 |
echo $ECHO_N "checking which insult sets to include... $ECHO_C" >&6 |
echo $ECHO_N "checking which insult sets to include... $ECHO_C" >&6 |
i="" |
i="" |
test "$with_goons_insults" = "yes" && i="goons ${i}" |
test "$with_goons_insults" = "yes" && i="goons ${i}" |
test "$with_hal_insults" = "yes" && i="hal ${i}" |
test "$with_hal_insults" = "yes" && i="hal ${i}" |
test "$with_csops_insults" = "yes" && i="csops ${i}" |
test "$with_csops_insults" = "yes" && i="csops ${i}" |
test "$with_classic_insults" = "yes" && i="classic ${i}" |
test "$with_classic_insults" = "yes" && i="classic ${i}" |
echo "$as_me:2520: result: $i" >&5 |
echo "$as_me:$LINENO: result: $i" >&5 |
echo "${ECHO_T}$i" >&6 |
echo "${ECHO_T}$i" >&6 |
fi |
fi |
|
|
echo "$as_me:2524: checking whether to override the user's path" >&5 |
echo "$as_me:$LINENO: checking whether to override the user's path" >&5 |
echo $ECHO_N "checking whether to override the user's path... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to override the user's path... $ECHO_C" >&6 |
|
|
# Check whether --with-secure-path or --without-secure-path was given. |
# Check whether --with-secure-path or --without-secure-path was given. |
|
|
withval="$with_secure_path" |
withval="$with_secure_path" |
case $with_secure_path in |
case $with_secure_path in |
yes) |
yes) |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define SECURE_PATH "/bin:/usr/ucb:/usr/bin:/usr/sbin:/sbin:/usr/etc:/etc" |
#define SECURE_PATH "/bin:/usr/ucb:/usr/bin:/usr/sbin:/sbin:/usr/etc:/etc" |
EOF |
_ACEOF |
|
|
echo "$as_me:2536: result: :/usr/ucb:/usr/bin:/usr/sbin:/sbin:/usr/etc:/etc" >&5 |
echo "$as_me:$LINENO: result: :/usr/ucb:/usr/bin:/usr/sbin:/sbin:/usr/etc:/etc" >&5 |
echo "${ECHO_T}:/usr/ucb:/usr/bin:/usr/sbin:/sbin:/usr/etc:/etc" >&6 |
echo "${ECHO_T}:/usr/ucb:/usr/bin:/usr/sbin:/sbin:/usr/etc:/etc" >&6 |
;; |
;; |
no) echo "$as_me:2539: result: no" >&5 |
no) echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
;; |
;; |
*) cat >>confdefs.h <<EOF |
*) cat >>confdefs.h <<_ACEOF |
#define SECURE_PATH "$with_secure_path" |
#define SECURE_PATH "$with_secure_path" |
EOF |
_ACEOF |
|
|
echo "$as_me:2546: result: $with_secure_path" >&5 |
echo "$as_me:$LINENO: result: $with_secure_path" >&5 |
echo "${ECHO_T}$with_secure_path" >&6 |
echo "${ECHO_T}$with_secure_path" >&6 |
;; |
;; |
esac |
esac |
else |
else |
echo "$as_me:2551: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi; |
fi; |
|
|
echo "$as_me:2555: checking whether to get ip addresses from the network interfaces" >&5 |
echo "$as_me:$LINENO: checking whether to get ip addresses from the network interfaces" >&5 |
echo $ECHO_N "checking whether to get ip addresses from the network interfaces... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to get ip addresses from the network interfaces... $ECHO_C" >&6 |
|
|
# Check whether --with-interfaces or --without-interfaces was given. |
# Check whether --with-interfaces or --without-interfaces was given. |
if test "${with_interfaces+set}" = set; then |
if test "${with_interfaces+set}" = set; then |
withval="$with_interfaces" |
withval="$with_interfaces" |
case $with_interfaces in |
case $with_interfaces in |
yes) echo "$as_me:2562: result: yes" >&5 |
yes) echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
;; |
;; |
no) |
no) |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define STUB_LOAD_INTERFACES 1 |
#define STUB_LOAD_INTERFACES 1 |
EOF |
_ACEOF |
|
|
echo "$as_me:2570: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
;; |
;; |
*) { { echo "$as_me:2573: error: \"--with-interfaces does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-interfaces does not take an argument.\"" >&5 |
echo "$as_me: error: \"--with-interfaces does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--with-interfaces does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
else |
else |
echo "$as_me:2579: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
fi; |
fi; |
|
|
echo "$as_me:2583: checking whether to do user authentication by default" >&5 |
echo "$as_me:$LINENO: checking whether stow should be used" >&5 |
|
echo $ECHO_N "checking whether stow should be used... $ECHO_C" >&6 |
|
|
|
# Check whether --with-stow or --without-stow was given. |
|
if test "${with_stow+set}" = set; then |
|
withval="$with_stow" |
|
case $with_stow in |
|
yes) echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6 |
|
|
|
cat >>confdefs.h <<\_ACEOF |
|
#define USE_STOW 1 |
|
_ACEOF |
|
|
|
;; |
|
no) echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6 |
|
;; |
|
*) { { echo "$as_me:$LINENO: error: \"--with-stow does not take an argument.\"" >&5 |
|
echo "$as_me: error: \"--with-stow does not take an argument.\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
;; |
|
esac |
|
else |
|
echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6 |
|
fi; |
|
|
|
|
|
echo "$as_me:$LINENO: checking whether to do user authentication by default" >&5 |
echo $ECHO_N "checking whether to do user authentication by default... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to do user authentication by default... $ECHO_C" >&6 |
# Check whether --enable-authentication or --disable-authentication was given. |
# Check whether --enable-authentication or --disable-authentication was given. |
if test "${enable_authentication+set}" = set; then |
if test "${enable_authentication+set}" = set; then |
enableval="$enable_authentication" |
enableval="$enable_authentication" |
case "$enableval" in |
case "$enableval" in |
yes) echo "$as_me:2589: result: yes" >&5 |
yes) echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
;; |
;; |
no) echo "$as_me:2592: result: no" >&5 |
no) echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define NO_AUTHENTICATION 1 |
#define NO_AUTHENTICATION 1 |
EOF |
_ACEOF |
|
|
;; |
;; |
*) echo "$as_me:2600: result: no" >&5 |
*) echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
echo "Ignoring unknown argument to --enable-authentication: $enableval" |
echo "Ignoring unknown argument to --enable-authentication: $enableval" |
;; |
;; |
esac |
esac |
|
|
else |
else |
echo "$as_me:2607: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
fi; |
fi; |
|
|
echo "$as_me:2611: checking whether to disable running the mailer as root" >&5 |
echo "$as_me:$LINENO: checking whether to disable running the mailer as root" >&5 |
echo $ECHO_N "checking whether to disable running the mailer as root... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to disable running the mailer as root... $ECHO_C" >&6 |
# Check whether --enable-root-mailer or --disable-root-mailer was given. |
# Check whether --enable-root-mailer or --disable-root-mailer was given. |
if test "${enable_root_mailer+set}" = set; then |
if test "${enable_root_mailer+set}" = set; then |
enableval="$enable_root_mailer" |
enableval="$enable_root_mailer" |
case "$enableval" in |
case "$enableval" in |
yes) echo "$as_me:2617: result: no" >&5 |
yes) echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
;; |
;; |
no) echo "$as_me:2620: result: yes" >&5 |
no) echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define NO_ROOT_MAILER 1 |
#define NO_ROOT_MAILER 1 |
EOF |
_ACEOF |
|
|
;; |
;; |
*) echo "$as_me:2628: result: no" >&5 |
*) echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
echo "Ignoring unknown argument to --enable-root-mailer: $enableval" |
echo "Ignoring unknown argument to --enable-root-mailer: $enableval" |
;; |
;; |
esac |
esac |
|
|
else |
else |
echo "$as_me:2635: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi; |
fi; |
|
|
|
|
if test "${enable_setreuid+set}" = set; then |
if test "${enable_setreuid+set}" = set; then |
enableval="$enable_setreuid" |
enableval="$enable_setreuid" |
case "$enableval" in |
case "$enableval" in |
no) BROKEN_SETREUID=1 |
no) SKIP_SETREUID=yes |
;; |
;; |
*) ;; |
*) ;; |
esac |
esac |
|
|
fi; |
fi; |
|
|
echo "$as_me:2650: checking whether to disable use of POSIX saved ids" >&5 |
# Check whether --enable-setresuid or --disable-setresuid was given. |
|
if test "${enable_setresuid+set}" = set; then |
|
enableval="$enable_setresuid" |
|
case "$enableval" in |
|
no) SKIP_SETRESUID=yes |
|
;; |
|
*) ;; |
|
esac |
|
|
|
fi; |
|
|
|
echo "$as_me:$LINENO: checking whether to disable use of POSIX saved ids" >&5 |
echo $ECHO_N "checking whether to disable use of POSIX saved ids... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to disable use of POSIX saved ids... $ECHO_C" >&6 |
# Check whether --enable-saved-ids or --disable-saved-ids was given. |
# Check whether --enable-saved-ids or --disable-saved-ids was given. |
if test "${enable_saved_ids+set}" = set; then |
if test "${enable_saved_ids+set}" = set; then |
enableval="$enable_saved_ids" |
enableval="$enable_saved_ids" |
case "$enableval" in |
case "$enableval" in |
yes) echo "$as_me:2656: result: no" >&5 |
yes) echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
;; |
;; |
no) echo "$as_me:2659: result: yes" >&5 |
no) echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define NO_SAVED_IDS 1 |
#define NO_SAVED_IDS 1 |
EOF |
_ACEOF |
|
|
;; |
;; |
*) echo "$as_me:2667: result: no" >&5 |
*) echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
echo "Ignoring unknown argument to --enable-saved-ids: $enableval" |
echo "Ignoring unknown argument to --enable-saved-ids: $enableval" |
;; |
;; |
esac |
esac |
|
|
else |
else |
echo "$as_me:2674: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi; |
fi; |
|
|
echo "$as_me:2678: checking whether to disable shadow password support" >&5 |
echo "$as_me:$LINENO: checking whether to disable shadow password support" >&5 |
echo $ECHO_N "checking whether to disable shadow password support... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to disable shadow password support... $ECHO_C" >&6 |
# Check whether --enable-shadow or --disable-shadow was given. |
# Check whether --enable-shadow or --disable-shadow was given. |
if test "${enable_shadow+set}" = set; then |
if test "${enable_shadow+set}" = set; then |
enableval="$enable_shadow" |
enableval="$enable_shadow" |
case "$enableval" in |
case "$enableval" in |
yes) echo "$as_me:2684: result: no" >&5 |
yes) echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
;; |
;; |
no) echo "$as_me:2687: result: yes" >&5 |
no) echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
CHECKSHADOW="false" |
CHECKSHADOW="false" |
;; |
;; |
*) echo "$as_me:2691: result: no" >&5 |
*) echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
echo "Ignoring unknown argument to --enable-shadow: $enableval" |
echo "Ignoring unknown argument to --enable-shadow: $enableval" |
;; |
;; |
esac |
esac |
|
|
else |
else |
echo "$as_me:2698: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi; |
fi; |
|
|
echo "$as_me:2702: checking whether root should be allowed to use sudo" >&5 |
echo "$as_me:$LINENO: checking whether root should be allowed to use sudo" >&5 |
echo $ECHO_N "checking whether root should be allowed to use sudo... $ECHO_C" >&6 |
echo $ECHO_N "checking whether root should be allowed to use sudo... $ECHO_C" >&6 |
# Check whether --enable-root-sudo or --disable-root-sudo was given. |
# Check whether --enable-root-sudo or --disable-root-sudo was given. |
if test "${enable_root_sudo+set}" = set; then |
if test "${enable_root_sudo+set}" = set; then |
enableval="$enable_root_sudo" |
enableval="$enable_root_sudo" |
case "$enableval" in |
case "$enableval" in |
yes) echo "$as_me:2708: result: yes" >&5 |
yes) echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
;; |
;; |
no) |
no) |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define NO_ROOT_SUDO 1 |
#define NO_ROOT_SUDO 1 |
EOF |
_ACEOF |
|
|
echo "$as_me:2716: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
;; |
;; |
*) { { echo "$as_me:2719: error: \"--enable-root-sudo does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--enable-root-sudo does not take an argument.\"" >&5 |
echo "$as_me: error: \"--enable-root-sudo does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--enable-root-sudo does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
|
|
else |
else |
echo "$as_me:2726: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
fi; |
fi; |
|
|
echo "$as_me:2730: checking whether to log the hostname in the log file" >&5 |
echo "$as_me:$LINENO: checking whether to log the hostname in the log file" >&5 |
echo $ECHO_N "checking whether to log the hostname in the log file... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to log the hostname in the log file... $ECHO_C" >&6 |
# Check whether --enable-log-host or --disable-log-host was given. |
# Check whether --enable-log-host or --disable-log-host was given. |
if test "${enable_log_host+set}" = set; then |
if test "${enable_log_host+set}" = set; then |
enableval="$enable_log_host" |
enableval="$enable_log_host" |
case "$enableval" in |
case "$enableval" in |
yes) echo "$as_me:2736: result: yes" >&5 |
yes) echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HOST_IN_LOG 1 |
#define HOST_IN_LOG 1 |
EOF |
_ACEOF |
|
|
;; |
;; |
no) echo "$as_me:2744: result: no" >&5 |
no) echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
;; |
;; |
*) echo "$as_me:2747: result: no" >&5 |
*) echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
echo "Ignoring unknown argument to --enable-log-host: $enableval" |
echo "Ignoring unknown argument to --enable-log-host: $enableval" |
;; |
;; |
esac |
esac |
|
|
else |
else |
echo "$as_me:2754: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi; |
fi; |
|
|
echo "$as_me:2758: checking whether to invoke a shell if sudo is given no arguments" >&5 |
echo "$as_me:$LINENO: checking whether to invoke a shell if sudo is given no arguments" >&5 |
echo $ECHO_N "checking whether to invoke a shell if sudo is given no arguments... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to invoke a shell if sudo is given no arguments... $ECHO_C" >&6 |
# Check whether --enable-noargs-shell or --disable-noargs-shell was given. |
# Check whether --enable-noargs-shell or --disable-noargs-shell was given. |
if test "${enable_noargs_shell+set}" = set; then |
if test "${enable_noargs_shell+set}" = set; then |
enableval="$enable_noargs_shell" |
enableval="$enable_noargs_shell" |
case "$enableval" in |
case "$enableval" in |
yes) echo "$as_me:2764: result: yes" >&5 |
yes) echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define SHELL_IF_NO_ARGS 1 |
#define SHELL_IF_NO_ARGS 1 |
EOF |
_ACEOF |
|
|
;; |
;; |
no) echo "$as_me:2772: result: no" >&5 |
no) echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
;; |
;; |
*) echo "$as_me:2775: result: no" >&5 |
*) echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
echo "Ignoring unknown argument to --enable-noargs-shell: $enableval" |
echo "Ignoring unknown argument to --enable-noargs-shell: $enableval" |
;; |
;; |
esac |
esac |
|
|
else |
else |
echo "$as_me:2782: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi; |
fi; |
|
|
echo "$as_me:2786: checking whether to set \$HOME to target user in shell mode" >&5 |
echo "$as_me:$LINENO: checking whether to set \$HOME to target user in shell mode" >&5 |
echo $ECHO_N "checking whether to set \$HOME to target user in shell mode... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to set \$HOME to target user in shell mode... $ECHO_C" >&6 |
# Check whether --enable-shell-sets-home or --disable-shell-sets-home was given. |
# Check whether --enable-shell-sets-home or --disable-shell-sets-home was given. |
if test "${enable_shell_sets_home+set}" = set; then |
if test "${enable_shell_sets_home+set}" = set; then |
enableval="$enable_shell_sets_home" |
enableval="$enable_shell_sets_home" |
case "$enableval" in |
case "$enableval" in |
yes) echo "$as_me:2792: result: yes" >&5 |
yes) echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define SHELL_SETS_HOME 1 |
#define SHELL_SETS_HOME 1 |
EOF |
_ACEOF |
|
|
;; |
;; |
no) echo "$as_me:2800: result: no" >&5 |
no) echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
;; |
;; |
*) echo "$as_me:2803: result: no" >&5 |
*) echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
echo "Ignoring unknown argument to --enable-shell-sets-home: $enableval" |
echo "Ignoring unknown argument to --enable-shell-sets-home: $enableval" |
;; |
;; |
esac |
esac |
|
|
else |
else |
echo "$as_me:2810: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi; |
fi; |
|
|
echo "$as_me:2814: checking whether to disable 'command not found' messages" >&5 |
echo "$as_me:$LINENO: checking whether to disable 'command not found' messages" >&5 |
echo $ECHO_N "checking whether to disable 'command not found' messages... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to disable 'command not found' messages... $ECHO_C" >&6 |
# Check whether --enable-path_info or --disable-path_info was given. |
# Check whether --enable-path_info or --disable-path_info was given. |
if test "${enable_path_info+set}" = set; then |
if test "${enable_path_info+set}" = set; then |
enableval="$enable_path_info" |
enableval="$enable_path_info" |
case "$enableval" in |
case "$enableval" in |
yes) echo "$as_me:2820: result: no" >&5 |
yes) echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
;; |
;; |
no) echo "$as_me:2823: result: yes" >&5 |
no) echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define DONT_LEAK_PATH_INFO 1 |
#define DONT_LEAK_PATH_INFO 1 |
EOF |
_ACEOF |
|
|
;; |
;; |
*) echo "$as_me:2831: result: no" >&5 |
*) echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
echo "Ignoring unknown argument to --enable-path-info: $enableval" |
echo "Ignoring unknown argument to --enable-path-info: $enableval" |
;; |
;; |
esac |
esac |
|
|
else |
else |
echo "$as_me:2838: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi; |
fi; |
|
|
# Extract the first word of "egrep", so it can be a program name with args. |
# Extract the first word of "egrep", so it can be a program name with args. |
set dummy egrep; ac_word=$2 |
set dummy egrep; ac_word=$2 |
echo "$as_me:2844: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_EGREPPROG+set}" = set; then |
if test "${ac_cv_prog_EGREPPROG+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
if test -n "$EGREPPROG"; then |
if test -n "$EGREPPROG"; then |
ac_cv_prog_EGREPPROG="$EGREPPROG" # Let the user override the test. |
ac_cv_prog_EGREPPROG="$EGREPPROG" # Let the user override the test. |
else |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
ac_dummy="$PATH" |
for as_dir in $PATH |
for ac_dir in $ac_dummy; do |
do |
IFS=$ac_save_IFS |
IFS=$as_save_IFS |
test -z "$ac_dir" && ac_dir=. |
test -z "$as_dir" && as_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_cv_prog_EGREPPROG="egrep" |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
echo "$as_me:2859: found $ac_dir/$ac_word" >&5 |
ac_cv_prog_EGREPPROG="egrep" |
break |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
done |
done |
|
done |
|
|
fi |
fi |
fi |
fi |
EGREPPROG=$ac_cv_prog_EGREPPROG |
EGREPPROG=$ac_cv_prog_EGREPPROG |
if test -n "$EGREPPROG"; then |
if test -n "$EGREPPROG"; then |
echo "$as_me:2867: result: $EGREPPROG" >&5 |
echo "$as_me:$LINENO: result: $EGREPPROG" >&5 |
echo "${ECHO_T}$EGREPPROG" >&6 |
echo "${ECHO_T}$EGREPPROG" >&6 |
else |
else |
echo "$as_me:2870: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi |
fi |
|
|
|
|
if test -n "$ac_tool_prefix"; then |
if test -n "$ac_tool_prefix"; then |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
echo "$as_me:2891: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_CC+set}" = set; then |
if test "${ac_cv_prog_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
if test -n "$CC"; then |
if test -n "$CC"; then |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
else |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
ac_dummy="$PATH" |
for as_dir in $PATH |
for ac_dir in $ac_dummy; do |
do |
IFS=$ac_save_IFS |
IFS=$as_save_IFS |
test -z "$ac_dir" && ac_dir=. |
test -z "$as_dir" && as_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
echo "$as_me:2906: found $ac_dir/$ac_word" >&5 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
break |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
done |
done |
|
done |
|
|
fi |
fi |
fi |
fi |
CC=$ac_cv_prog_CC |
CC=$ac_cv_prog_CC |
if test -n "$CC"; then |
if test -n "$CC"; then |
echo "$as_me:2914: result: $CC" >&5 |
echo "$as_me:$LINENO: result: $CC" >&5 |
echo "${ECHO_T}$CC" >&6 |
echo "${ECHO_T}$CC" >&6 |
else |
else |
echo "$as_me:2917: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi |
fi |
|
|
|
|
ac_ct_CC=$CC |
ac_ct_CC=$CC |
# Extract the first word of "gcc", so it can be a program name with args. |
# Extract the first word of "gcc", so it can be a program name with args. |
set dummy gcc; ac_word=$2 |
set dummy gcc; ac_word=$2 |
echo "$as_me:2926: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_CC"; then |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
else |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
ac_dummy="$PATH" |
for as_dir in $PATH |
for ac_dir in $ac_dummy; do |
do |
IFS=$ac_save_IFS |
IFS=$as_save_IFS |
test -z "$ac_dir" && ac_dir=. |
test -z "$as_dir" && as_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_cv_prog_ac_ct_CC="gcc" |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
echo "$as_me:2941: found $ac_dir/$ac_word" >&5 |
ac_cv_prog_ac_ct_CC="gcc" |
break |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
done |
done |
|
done |
|
|
fi |
fi |
fi |
fi |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_CC"; then |
echo "$as_me:2949: result: $ac_ct_CC" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
else |
else |
echo "$as_me:2952: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi |
fi |
|
|
|
|
if test -n "$ac_tool_prefix"; then |
if test -n "$ac_tool_prefix"; then |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
echo "$as_me:2965: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_CC+set}" = set; then |
if test "${ac_cv_prog_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
if test -n "$CC"; then |
if test -n "$CC"; then |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
else |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
ac_dummy="$PATH" |
for as_dir in $PATH |
for ac_dir in $ac_dummy; do |
do |
IFS=$ac_save_IFS |
IFS=$as_save_IFS |
test -z "$ac_dir" && ac_dir=. |
test -z "$as_dir" && as_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
echo "$as_me:2980: found $ac_dir/$ac_word" >&5 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
break |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
done |
done |
|
done |
|
|
fi |
fi |
fi |
fi |
CC=$ac_cv_prog_CC |
CC=$ac_cv_prog_CC |
if test -n "$CC"; then |
if test -n "$CC"; then |
echo "$as_me:2988: result: $CC" >&5 |
echo "$as_me:$LINENO: result: $CC" >&5 |
echo "${ECHO_T}$CC" >&6 |
echo "${ECHO_T}$CC" >&6 |
else |
else |
echo "$as_me:2991: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi |
fi |
|
|
|
|
ac_ct_CC=$CC |
ac_ct_CC=$CC |
# Extract the first word of "cc", so it can be a program name with args. |
# Extract the first word of "cc", so it can be a program name with args. |
set dummy cc; ac_word=$2 |
set dummy cc; ac_word=$2 |
echo "$as_me:3000: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_CC"; then |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
else |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
ac_dummy="$PATH" |
for as_dir in $PATH |
for ac_dir in $ac_dummy; do |
do |
IFS=$ac_save_IFS |
IFS=$as_save_IFS |
test -z "$ac_dir" && ac_dir=. |
test -z "$as_dir" && as_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_cv_prog_ac_ct_CC="cc" |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
echo "$as_me:3015: found $ac_dir/$ac_word" >&5 |
ac_cv_prog_ac_ct_CC="cc" |
break |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
done |
done |
|
done |
|
|
fi |
fi |
fi |
fi |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_CC"; then |
echo "$as_me:3023: result: $ac_ct_CC" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
else |
else |
echo "$as_me:3026: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi |
fi |
|
|
|
|
if test -z "$CC"; then |
if test -z "$CC"; then |
# Extract the first word of "cc", so it can be a program name with args. |
# Extract the first word of "cc", so it can be a program name with args. |
set dummy cc; ac_word=$2 |
set dummy cc; ac_word=$2 |
echo "$as_me:3039: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_CC+set}" = set; then |
if test "${ac_cv_prog_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
else |
else |
ac_prog_rejected=no |
ac_prog_rejected=no |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
ac_dummy="$PATH" |
for as_dir in $PATH |
for ac_dir in $ac_dummy; do |
do |
IFS=$ac_save_IFS |
IFS=$as_save_IFS |
test -z "$ac_dir" && ac_dir=. |
test -z "$as_dir" && as_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
for ac_exec_ext in '' $ac_executable_extensions; do |
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_prog_rejected=yes |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
continue |
ac_prog_rejected=yes |
fi |
continue |
ac_cv_prog_CC="cc" |
fi |
echo "$as_me:3059: found $ac_dir/$ac_word" >&5 |
ac_cv_prog_CC="cc" |
break |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
done |
done |
|
done |
|
|
if test $ac_prog_rejected = yes; then |
if test $ac_prog_rejected = yes; then |
# We found a bogon in the path, so make sure we never use it. |
# We found a bogon in the path, so make sure we never use it. |
|
|
# However, it has the same basename, so the bogon will be chosen |
# However, it has the same basename, so the bogon will be chosen |
# first if we set CC to just the basename; use the full file name. |
# first if we set CC to just the basename; use the full file name. |
shift |
shift |
set dummy "$ac_dir/$ac_word" ${1+"$@"} |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
shift |
|
ac_cv_prog_CC="$@" |
|
fi |
fi |
fi |
fi |
fi |
fi |
fi |
fi |
CC=$ac_cv_prog_CC |
CC=$ac_cv_prog_CC |
if test -n "$CC"; then |
if test -n "$CC"; then |
echo "$as_me:3081: result: $CC" >&5 |
echo "$as_me:$LINENO: result: $CC" >&5 |
echo "${ECHO_T}$CC" >&6 |
echo "${ECHO_T}$CC" >&6 |
else |
else |
echo "$as_me:3084: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi |
fi |
|
|
|
|
do |
do |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
echo "$as_me:3095: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_CC+set}" = set; then |
if test "${ac_cv_prog_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
if test -n "$CC"; then |
if test -n "$CC"; then |
ac_cv_prog_CC="$CC" # Let the user override the test. |
ac_cv_prog_CC="$CC" # Let the user override the test. |
else |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
ac_dummy="$PATH" |
for as_dir in $PATH |
for ac_dir in $ac_dummy; do |
do |
IFS=$ac_save_IFS |
IFS=$as_save_IFS |
test -z "$ac_dir" && ac_dir=. |
test -z "$as_dir" && as_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
echo "$as_me:3110: found $ac_dir/$ac_word" >&5 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
break |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
done |
done |
|
done |
|
|
fi |
fi |
fi |
fi |
CC=$ac_cv_prog_CC |
CC=$ac_cv_prog_CC |
if test -n "$CC"; then |
if test -n "$CC"; then |
echo "$as_me:3118: result: $CC" >&5 |
echo "$as_me:$LINENO: result: $CC" >&5 |
echo "${ECHO_T}$CC" >&6 |
echo "${ECHO_T}$CC" >&6 |
else |
else |
echo "$as_me:3121: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi |
fi |
|
|
|
|
do |
do |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
echo "$as_me:3134: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_CC"; then |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
else |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
ac_dummy="$PATH" |
for as_dir in $PATH |
for ac_dir in $ac_dummy; do |
do |
IFS=$ac_save_IFS |
IFS=$as_save_IFS |
test -z "$ac_dir" && ac_dir=. |
test -z "$as_dir" && as_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_cv_prog_ac_ct_CC="$ac_prog" |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
echo "$as_me:3149: found $ac_dir/$ac_word" >&5 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
break |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
done |
done |
|
done |
|
|
fi |
fi |
fi |
fi |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
if test -n "$ac_ct_CC"; then |
if test -n "$ac_ct_CC"; then |
echo "$as_me:3157: result: $ac_ct_CC" >&5 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
else |
else |
echo "$as_me:3160: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi |
fi |
|
|
|
|
|
|
fi |
fi |
|
|
test -z "$CC" && { { echo "$as_me:3172: error: no acceptable cc found in \$PATH" >&5 |
|
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
|
See \`config.log' for more details." >&5 |
|
echo "$as_me: error: no acceptable C compiler found in \$PATH |
|
See \`config.log' for more details." >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
|
|
# Provide some information about the compiler. |
# Provide some information about the compiler. |
echo "$as_me:3177:" \ |
echo "$as_me:$LINENO:" \ |
"checking for C compiler version" >&5 |
"checking for C compiler version" >&5 |
ac_compiler=`set X $ac_compile; echo $2` |
ac_compiler=`set X $ac_compile; echo $2` |
{ (eval echo "$as_me:3180: \"$ac_compiler --version </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:3183: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } |
(exit $ac_status); } |
{ (eval echo "$as_me:3185: \"$ac_compiler -v </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:3188: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } |
(exit $ac_status); } |
{ (eval echo "$as_me:3190: \"$ac_compiler -V </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:3193: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } |
(exit $ac_status); } |
|
|
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 3197 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
int |
int |
main () |
main () |
|
|
} |
} |
_ACEOF |
_ACEOF |
ac_clean_files_save=$ac_clean_files |
ac_clean_files_save=$ac_clean_files |
ac_clean_files="$ac_clean_files a.out a.exe" |
ac_clean_files="$ac_clean_files a.out a.exe b.out" |
# Try to create an executable without -o first, disregard a.out. |
# Try to create an executable without -o first, disregard a.out. |
# It will help us diagnose broken compilers, and finding out an intuition |
# It will help us diagnose broken compilers, and finding out an intuition |
# of exeext. |
# of exeext. |
echo "$as_me:3213: checking for C compiler default output" >&5 |
echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
if { (eval echo "$as_me:3216: \"$ac_link_default\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
(eval $ac_link_default) 2>&5 |
(eval $ac_link_default) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:3219: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; then |
(exit $ac_status); }; then |
# Find the output, starting from the most likely. This scheme is |
# Find the output, starting from the most likely. This scheme is |
# not robust to junk in `.', hence go to wildcards (a.*) only as a last |
# not robust to junk in `.', hence go to wildcards (a.*) only as a last |
# resort. |
# resort. |
for ac_file in `ls a.exe conftest.exe 2>/dev/null; |
|
ls a.out conftest 2>/dev/null; |
# Be careful to initialize this variable, since it used to be cached. |
ls a.* conftest.* 2>/dev/null`; do |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
|
ac_cv_exeext= |
|
# b.out is created by i960 compilers. |
|
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
|
do |
|
test -f "$ac_file" || continue |
case $ac_file in |
case $ac_file in |
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
a.out ) # We found the default executable, but exeext='' is most |
;; |
# certainly right. |
conftest.$ac_ext ) |
break;; |
# This is the source file. |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
;; |
# FIXME: I believe we export ac_cv_exeext for Libtool --akim. |
[ab].out ) |
export ac_cv_exeext |
# We found the default executable, but exeext='' is most |
break;; |
# certainly right. |
* ) break;; |
break;; |
|
*.* ) |
|
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
# FIXME: I believe we export ac_cv_exeext for Libtool, |
|
# but it would be cool to find out if it's true. Does anybody |
|
# maintain Libtool? --akim. |
|
export ac_cv_exeext |
|
break;; |
|
* ) |
|
break;; |
esac |
esac |
done |
done |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
{ { echo "$as_me:3242: error: C compiler cannot create executables" >&5 |
|
echo "$as_me: error: C compiler cannot create executables" >&2;} |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
|
See \`config.log' for more details." >&5 |
|
echo "$as_me: error: C compiler cannot create executables |
|
See \`config.log' for more details." >&2;} |
{ (exit 77); exit 77; }; } |
{ (exit 77); exit 77; }; } |
fi |
fi |
|
|
ac_exeext=$ac_cv_exeext |
ac_exeext=$ac_cv_exeext |
echo "$as_me:3248: result: $ac_file" >&5 |
echo "$as_me:$LINENO: result: $ac_file" >&5 |
echo "${ECHO_T}$ac_file" >&6 |
echo "${ECHO_T}$ac_file" >&6 |
|
|
# Check the compiler produces executables we can run. If not, either |
# Check the compiler produces executables we can run. If not, either |
# the compiler is broken, or we cross compile. |
# the compiler is broken, or we cross compile. |
echo "$as_me:3253: checking whether the C compiler works" >&5 |
echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
# If not cross compiling, check that we can run a simple program. |
# If not cross compiling, check that we can run a simple program. |
if test "$cross_compiling" != yes; then |
if test "$cross_compiling" != yes; then |
if { ac_try='./$ac_file' |
if { ac_try='./$ac_file' |
{ (eval echo "$as_me:3259: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:3262: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
cross_compiling=no |
cross_compiling=no |
else |
else |
if test "$cross_compiling" = maybe; then |
if test "$cross_compiling" = maybe; then |
cross_compiling=yes |
cross_compiling=yes |
else |
else |
{ { echo "$as_me:3269: error: cannot run C compiled programs. |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
If you meant to cross compile, use \`--host'." >&5 |
If you meant to cross compile, use \`--host'. |
|
See \`config.log' for more details." >&5 |
echo "$as_me: error: cannot run C compiled programs. |
echo "$as_me: error: cannot run C compiled programs. |
If you meant to cross compile, use \`--host'." >&2;} |
If you meant to cross compile, use \`--host'. |
|
See \`config.log' for more details." >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi |
fi |
fi |
fi |
fi |
fi |
echo "$as_me:3277: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
|
|
rm -f a.out a.exe conftest$ac_cv_exeext |
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
ac_clean_files=$ac_clean_files_save |
ac_clean_files=$ac_clean_files_save |
# Check the compiler produces executables we can run. If not, either |
# Check the compiler produces executables we can run. If not, either |
# the compiler is broken, or we cross compile. |
# the compiler is broken, or we cross compile. |
echo "$as_me:3284: checking whether we are cross compiling" >&5 |
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
echo "$as_me:3286: result: $cross_compiling" >&5 |
echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
echo "${ECHO_T}$cross_compiling" >&6 |
echo "${ECHO_T}$cross_compiling" >&6 |
|
|
echo "$as_me:3289: checking for executable suffix" >&5 |
echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
if { (eval echo "$as_me:3291: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:3294: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; then |
(exit $ac_status); }; then |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
# `rm'. |
# `rm'. |
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do |
for ac_file in conftest.exe conftest conftest.*; do |
|
test -f "$ac_file" || continue |
case $ac_file in |
case $ac_file in |
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
export ac_cv_exeext |
export ac_cv_exeext |
break;; |
break;; |
|
|
esac |
esac |
done |
done |
else |
else |
{ { echo "$as_me:3310: error: cannot compute EXEEXT: cannot compile and link" >&5 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} |
See \`config.log' for more details." >&5 |
|
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
|
See \`config.log' for more details." >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi |
fi |
|
|
rm -f conftest$ac_cv_exeext |
rm -f conftest$ac_cv_exeext |
echo "$as_me:3316: result: $ac_cv_exeext" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
echo "${ECHO_T}$ac_cv_exeext" >&6 |
echo "${ECHO_T}$ac_cv_exeext" >&6 |
|
|
rm -f conftest.$ac_ext |
rm -f conftest.$ac_ext |
EXEEXT=$ac_cv_exeext |
EXEEXT=$ac_cv_exeext |
ac_exeext=$EXEEXT |
ac_exeext=$EXEEXT |
echo "$as_me:3322: checking for object suffix" >&5 |
echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
if test "${ac_cv_objext+set}" = set; then |
if test "${ac_cv_objext+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 3328 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
int |
int |
main () |
main () |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.o conftest.obj |
rm -f conftest.o conftest.obj |
if { (eval echo "$as_me:3340: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:3343: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; then |
(exit $ac_status); }; then |
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
case $ac_file in |
case $ac_file in |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
break;; |
break;; |
esac |
esac |
done |
done |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
{ { echo "$as_me:3355: error: cannot compute OBJEXT: cannot compile" >&5 |
|
echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
|
See \`config.log' for more details." >&5 |
|
echo "$as_me: error: cannot compute suffix of object files: cannot compile |
|
See \`config.log' for more details." >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi |
fi |
|
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
fi |
fi |
echo "$as_me:3362: result: $ac_cv_objext" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
echo "${ECHO_T}$ac_cv_objext" >&6 |
echo "${ECHO_T}$ac_cv_objext" >&6 |
OBJEXT=$ac_cv_objext |
OBJEXT=$ac_cv_objext |
ac_objext=$OBJEXT |
ac_objext=$OBJEXT |
echo "$as_me:3366: checking whether we are using the GNU C compiler" >&5 |
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 3372 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
int |
int |
main () |
main () |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:3387: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:3390: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -s conftest.$ac_objext' |
{ (eval echo "$as_me:3393: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:3396: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_compiler_gnu=yes |
ac_compiler_gnu=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_compiler_gnu=no |
ac_compiler_gnu=no |
fi |
fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
|
fi |
fi |
echo "$as_me:3408: result: $ac_cv_c_compiler_gnu" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
GCC=`test $ac_compiler_gnu = yes && echo yes` |
GCC=`test $ac_compiler_gnu = yes && echo yes` |
ac_test_CFLAGS=${CFLAGS+set} |
ac_test_CFLAGS=${CFLAGS+set} |
ac_save_CFLAGS=$CFLAGS |
ac_save_CFLAGS=$CFLAGS |
CFLAGS="-g" |
CFLAGS="-g" |
echo "$as_me:3414: checking whether $CC accepts -g" >&5 |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
if test "${ac_cv_prog_cc_g+set}" = set; then |
if test "${ac_cv_prog_cc_g+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 3420 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
int |
int |
main () |
main () |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:3432: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:3435: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -s conftest.$ac_objext' |
{ (eval echo "$as_me:3438: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:3441: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_prog_cc_g=yes |
ac_cv_prog_cc_g=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_prog_cc_g=no |
ac_cv_prog_cc_g=no |
fi |
fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
echo "$as_me:3451: result: $ac_cv_prog_cc_g" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
if test "$ac_test_CFLAGS" = set; then |
if test "$ac_test_CFLAGS" = set; then |
CFLAGS=$ac_save_CFLAGS |
CFLAGS=$ac_save_CFLAGS |
|
|
CFLAGS= |
CFLAGS= |
fi |
fi |
fi |
fi |
|
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
|
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
|
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_cv_prog_cc_stdc=no |
|
ac_save_CC=$CC |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#include <stdarg.h> |
|
#include <stdio.h> |
|
#include <sys/types.h> |
|
#include <sys/stat.h> |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
struct buf { int x; }; |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
static char *e (p, i) |
|
char **p; |
|
int i; |
|
{ |
|
return p[i]; |
|
} |
|
static char *f (char * (*g) (char **, int), char **p, ...) |
|
{ |
|
char *s; |
|
va_list v; |
|
va_start (v,p); |
|
s = g (p, va_arg (v,int)); |
|
va_end (v); |
|
return s; |
|
} |
|
int test (int i, double x); |
|
struct s1 {int (*f) (int a);}; |
|
struct s2 {int (*f) (double a);}; |
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
int argc; |
|
char **argv; |
|
int |
|
main () |
|
{ |
|
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
# Don't try gcc -ansi; that turns off useful extensions and |
|
# breaks some systems' header files. |
|
# AIX -qlanglvl=ansi |
|
# Ultrix and OSF/1 -std1 |
|
# HP-UX 10.20 and later -Ae |
|
# HP-UX older versions -Aa -D_HPUX_SOURCE |
|
# SVR4 -Xc -D__EXTENSIONS__ |
|
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
do |
|
CC="$ac_save_CC $ac_arg" |
|
rm -f conftest.$ac_objext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
(eval $ac_compile) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && |
|
{ ac_try='test -s conftest.$ac_objext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; }; then |
|
ac_cv_prog_cc_stdc=$ac_arg |
|
break |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
fi |
|
rm -f conftest.$ac_objext |
|
done |
|
rm -f conftest.$ac_ext conftest.$ac_objext |
|
CC=$ac_save_CC |
|
|
|
fi |
|
|
|
case "x$ac_cv_prog_cc_stdc" in |
|
x|xno) |
|
echo "$as_me:$LINENO: result: none needed" >&5 |
|
echo "${ECHO_T}none needed" >&6 ;; |
|
*) |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
|
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
|
CC="$CC $ac_cv_prog_cc_stdc" ;; |
|
esac |
|
|
# Some people use a C++ compiler to compile C. Since we use `exit', |
# Some people use a C++ compiler to compile C. Since we use `exit', |
# in C++ we need to declare it. In case someone uses the same compiler |
# in C++ we need to declare it. In case someone uses the same compiler |
# for both compiling C and C++ we need to have the C++ compiler decide |
# for both compiling C and C++ we need to have the C++ compiler decide |
|
|
#endif |
#endif |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:3478: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:3481: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -s conftest.$ac_objext' |
{ (eval echo "$as_me:3484: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:3487: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
for ac_declaration in \ |
for ac_declaration in \ |
''\ |
''\ |
|
|
'void exit (int);' |
'void exit (int);' |
do |
do |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 3499 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <stdlib.h> |
#include <stdlib.h> |
$ac_declaration |
$ac_declaration |
int |
int |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:3512: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:3515: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -s conftest.$ac_objext' |
{ (eval echo "$as_me:3518: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:3521: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
: |
: |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
continue |
continue |
fi |
fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 3531 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
$ac_declaration |
$ac_declaration |
int |
int |
main () |
main () |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:3543: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:3546: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -s conftest.$ac_objext' |
{ (eval echo "$as_me:3549: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:3552: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
break |
break |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
fi |
fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
done |
done |
|
|
|
|
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
fi |
fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
ac_ext=c |
ac_ext=c |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
echo "$as_me:3579: checking for POSIXized ISC" >&5 |
|
echo $ECHO_N "checking for POSIXized ISC... $ECHO_C" >&6 |
|
if test -d /etc/conf/kconfig.d && |
|
grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 |
|
then |
|
echo "$as_me:3584: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6 |
|
ISC=yes # If later tests want to check for ISC. |
|
|
|
cat >>confdefs.h <<\EOF |
echo "$as_me:$LINENO: checking for library containing strerror" >&5 |
#define _POSIX_SOURCE 1 |
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 |
EOF |
if test "${ac_cv_search_strerror+set}" = set; then |
|
|
if test "$GCC" = yes; then |
|
CC="$CC -posix" |
|
else |
|
CC="$CC -Xp" |
|
fi |
|
else |
|
echo "$as_me:3598: result: no" >&5 |
|
echo "${ECHO_T}no" >&6 |
|
ISC= |
|
fi |
|
|
|
ac_cv_prog_cc_cross="no" |
|
cross_compiling="no" |
|
|
|
echo "$as_me:3606: checking for $CC option to accept ANSI C" >&5 |
|
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
|
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
ac_cv_prog_cc_stdc=no |
ac_func_search_save_LIBS=$LIBS |
ac_save_CC=$CC |
ac_cv_search_strerror=no |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 3614 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
#include <stdarg.h> |
_ACEOF |
#include <stdio.h> |
cat confdefs.h >>conftest.$ac_ext |
#include <sys/types.h> |
cat >>conftest.$ac_ext <<_ACEOF |
#include <sys/stat.h> |
/* end confdefs.h. */ |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
struct buf { int x; }; |
/* Override any gcc2 internal prototype to avoid an error. */ |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
#ifdef __cplusplus |
static char *e (p, i) |
extern "C" |
char **p; |
#endif |
int i; |
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char strerror (); |
|
int |
|
main () |
{ |
{ |
return p[i]; |
strerror (); |
|
; |
|
return 0; |
} |
} |
static char *f (char * (*g) (char **, int), char **p, ...) |
_ACEOF |
{ |
rm -f conftest.$ac_objext conftest$ac_exeext |
char *s; |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
va_list v; |
(eval $ac_link) 2>&5 |
va_start (v,p); |
ac_status=$? |
s = g (p, va_arg (v,int)); |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
va_end (v); |
(exit $ac_status); } && |
return s; |
{ ac_try='test -s conftest$ac_exeext' |
} |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
int test (int i, double x); |
(eval $ac_try) 2>&5 |
struct s1 {int (*f) (int a);}; |
ac_status=$? |
struct s2 {int (*f) (double a);}; |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
(exit $ac_status); }; }; then |
int argc; |
ac_cv_search_strerror="none required" |
char **argv; |
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
fi |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
if test "$ac_cv_search_strerror" = no; then |
|
for ac_lib in cposix; do |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char strerror (); |
int |
int |
main () |
main () |
{ |
{ |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
strerror (); |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
# Don't try gcc -ansi; that turns off useful extensions and |
rm -f conftest.$ac_objext conftest$ac_exeext |
# breaks some systems' header files. |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
# AIX -qlanglvl=ansi |
(eval $ac_link) 2>&5 |
# Ultrix and OSF/1 -std1 |
|
# HP-UX 10.20 and later -Ae |
|
# HP-UX older versions -Aa -D_HPUX_SOURCE |
|
# SVR4 -Xc -D__EXTENSIONS__ |
|
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
do |
|
CC="$ac_save_CC $ac_arg" |
|
rm -f conftest.$ac_objext |
|
if { (eval echo "$as_me:3663: \"$ac_compile\"") >&5 |
|
(eval $ac_compile) 2>&5 |
|
ac_status=$? |
ac_status=$? |
echo "$as_me:3666: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:3669: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:3672: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_prog_cc_stdc=$ac_arg |
ac_cv_search_strerror="-l$ac_lib" |
break |
break |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
fi |
fi |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
done |
done |
rm -f conftest.$ac_ext conftest.$ac_objext |
fi |
CC=$ac_save_CC |
LIBS=$ac_func_search_save_LIBS |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 |
|
echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
|
if test "$ac_cv_search_strerror" != no; then |
|
test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" |
|
|
fi |
fi |
|
|
case "x$ac_cv_prog_cc_stdc" in |
ac_cv_prog_cc_cross="no" |
x|xno) |
cross_compiling="no" |
echo "$as_me:3689: result: none needed" >&5 |
|
echo "${ECHO_T}none needed" >&6 ;; |
|
*) |
|
echo "$as_me:3692: result: $ac_cv_prog_cc_stdc" >&5 |
|
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
|
CC="$CC $ac_cv_prog_cc_stdc" ;; |
|
esac |
|
|
|
ac_cv_prog_cc_cross="no" |
ac_cv_prog_cc_cross="no" |
cross_compiling="no" |
cross_compiling="no" |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
echo "$as_me:3704: checking how to run the C preprocessor" >&5 |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
# On Suns, sometimes $CPP names a directory. |
# On Suns, sometimes $CPP names a directory. |
if test -n "$CPP" && test -d "$CPP"; then |
if test -n "$CPP" && test -d "$CPP"; then |
|
|
do |
do |
# Use a header file that comes with gcc, so configuring glibc |
# Use a header file that comes with gcc, so configuring glibc |
# with a fresh cross-compiler works. |
# with a fresh cross-compiler works. |
|
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
# <limits.h> exists even on freestanding compilers. |
# On the NeXT, cc -E runs the code through the compiler's parser, |
# On the NeXT, cc -E runs the code through the compiler's parser, |
# not just through cpp. "Syntax error" is here to catch this case. |
# not just through cpp. "Syntax error" is here to catch this case. |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 3725 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
#include <assert.h> |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
Syntax error |
Syntax error |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:3730: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 |
rm -f conftest.er1 |
cat conftest.err >&5 |
cat conftest.err >&5 |
echo "$as_me:3736: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
if test -s conftest.err; then |
if test -s conftest.err; then |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
: |
: |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
# Broken: fails on valid input. |
# Broken: fails on valid input. |
continue |
continue |
fi |
fi |
|
|
# OK, works on sane cases. Now check whether non-existent headers |
# OK, works on sane cases. Now check whether non-existent headers |
# can be detected and how. |
# can be detected and how. |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 3759 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <ac_nonexistent.h> |
#include <ac_nonexistent.h> |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:3763: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 |
rm -f conftest.er1 |
cat conftest.err >&5 |
cat conftest.err >&5 |
echo "$as_me:3769: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
if test -s conftest.err; then |
if test -s conftest.err; then |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
continue |
continue |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
# Passes both tests. |
# Passes both tests. |
ac_preproc_ok=: |
ac_preproc_ok=: |
break |
break |
|
|
else |
else |
ac_cv_prog_CPP=$CPP |
ac_cv_prog_CPP=$CPP |
fi |
fi |
echo "$as_me:3806: result: $CPP" >&5 |
echo "$as_me:$LINENO: result: $CPP" >&5 |
echo "${ECHO_T}$CPP" >&6 |
echo "${ECHO_T}$CPP" >&6 |
ac_preproc_ok=false |
ac_preproc_ok=false |
for ac_c_preproc_warn_flag in '' yes |
for ac_c_preproc_warn_flag in '' yes |
do |
do |
# Use a header file that comes with gcc, so configuring glibc |
# Use a header file that comes with gcc, so configuring glibc |
# with a fresh cross-compiler works. |
# with a fresh cross-compiler works. |
|
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
# <limits.h> exists even on freestanding compilers. |
# On the NeXT, cc -E runs the code through the compiler's parser, |
# On the NeXT, cc -E runs the code through the compiler's parser, |
# not just through cpp. "Syntax error" is here to catch this case. |
# not just through cpp. "Syntax error" is here to catch this case. |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 3816 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
#include <assert.h> |
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
Syntax error |
Syntax error |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:3821: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 |
rm -f conftest.er1 |
cat conftest.err >&5 |
cat conftest.err >&5 |
echo "$as_me:3827: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
if test -s conftest.err; then |
if test -s conftest.err; then |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
: |
: |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
# Broken: fails on valid input. |
# Broken: fails on valid input. |
continue |
continue |
fi |
fi |
|
|
# OK, works on sane cases. Now check whether non-existent headers |
# OK, works on sane cases. Now check whether non-existent headers |
# can be detected and how. |
# can be detected and how. |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 3850 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <ac_nonexistent.h> |
#include <ac_nonexistent.h> |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:3854: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 |
rm -f conftest.er1 |
cat conftest.err >&5 |
cat conftest.err >&5 |
echo "$as_me:3860: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
if test -s conftest.err; then |
if test -s conftest.err; then |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
continue |
continue |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
# Passes both tests. |
# Passes both tests. |
ac_preproc_ok=: |
ac_preproc_ok=: |
break |
break |
|
|
if $ac_preproc_ok; then |
if $ac_preproc_ok; then |
: |
: |
else |
else |
{ { echo "$as_me:3888: error: C preprocessor \"$CPP\" fails sanity check" >&5 |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} |
See \`config.log' for more details." >&5 |
|
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
|
See \`config.log' for more details." >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi |
fi |
|
|
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
|
if test "$with_devel" = "yes" -a -n "$GCC"; then |
if test "$with_devel" = "yes" -a -n "$GCC"; then |
CFLAGS="${CFLAGS} -Wall" |
CFLAGS="${CFLAGS} -Wall" |
fi |
fi |
|
|
# Extract the first word of "uname", so it can be a program name with args. |
# Extract the first word of "uname", so it can be a program name with args. |
set dummy uname; ac_word=$2 |
set dummy uname; ac_word=$2 |
echo "$as_me:3905: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_UNAMEPROG+set}" = set; then |
if test "${ac_cv_prog_UNAMEPROG+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
if test -n "$UNAMEPROG"; then |
if test -n "$UNAMEPROG"; then |
ac_cv_prog_UNAMEPROG="$UNAMEPROG" # Let the user override the test. |
ac_cv_prog_UNAMEPROG="$UNAMEPROG" # Let the user override the test. |
else |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
ac_dummy="$PATH" |
for as_dir in $PATH |
for ac_dir in $ac_dummy; do |
do |
IFS=$ac_save_IFS |
IFS=$as_save_IFS |
test -z "$ac_dir" && ac_dir=. |
test -z "$as_dir" && as_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_cv_prog_UNAMEPROG="uname" |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
echo "$as_me:3920: found $ac_dir/$ac_word" >&5 |
ac_cv_prog_UNAMEPROG="uname" |
break |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
done |
done |
|
done |
|
|
fi |
fi |
fi |
fi |
UNAMEPROG=$ac_cv_prog_UNAMEPROG |
UNAMEPROG=$ac_cv_prog_UNAMEPROG |
if test -n "$UNAMEPROG"; then |
if test -n "$UNAMEPROG"; then |
echo "$as_me:3928: result: $UNAMEPROG" >&5 |
echo "$as_me:$LINENO: result: $UNAMEPROG" >&5 |
echo "${ECHO_T}$UNAMEPROG" >&6 |
echo "${ECHO_T}$UNAMEPROG" >&6 |
else |
else |
echo "$as_me:3931: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi |
fi |
|
|
# Extract the first word of "tr", so it can be a program name with args. |
# Extract the first word of "tr", so it can be a program name with args. |
set dummy tr; ac_word=$2 |
set dummy tr; ac_word=$2 |
echo "$as_me:3937: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_TRPROG+set}" = set; then |
if test "${ac_cv_prog_TRPROG+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
if test -n "$TRPROG"; then |
if test -n "$TRPROG"; then |
ac_cv_prog_TRPROG="$TRPROG" # Let the user override the test. |
ac_cv_prog_TRPROG="$TRPROG" # Let the user override the test. |
else |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
ac_dummy="$PATH" |
for as_dir in $PATH |
for ac_dir in $ac_dummy; do |
do |
IFS=$ac_save_IFS |
IFS=$as_save_IFS |
test -z "$ac_dir" && ac_dir=. |
test -z "$as_dir" && as_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_cv_prog_TRPROG="tr" |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
echo "$as_me:3952: found $ac_dir/$ac_word" >&5 |
ac_cv_prog_TRPROG="tr" |
break |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
done |
done |
|
done |
|
|
fi |
fi |
fi |
fi |
TRPROG=$ac_cv_prog_TRPROG |
TRPROG=$ac_cv_prog_TRPROG |
if test -n "$TRPROG"; then |
if test -n "$TRPROG"; then |
echo "$as_me:3960: result: $TRPROG" >&5 |
echo "$as_me:$LINENO: result: $TRPROG" >&5 |
echo "${ECHO_T}$TRPROG" >&6 |
echo "${ECHO_T}$TRPROG" >&6 |
else |
else |
echo "$as_me:3963: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi |
fi |
|
|
# Extract the first word of "sed", so it can be a program name with args. |
# Extract the first word of "sed", so it can be a program name with args. |
set dummy sed; ac_word=$2 |
set dummy sed; ac_word=$2 |
echo "$as_me:3969: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_SEDPROG+set}" = set; then |
if test "${ac_cv_prog_SEDPROG+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
if test -n "$SEDPROG"; then |
if test -n "$SEDPROG"; then |
ac_cv_prog_SEDPROG="$SEDPROG" # Let the user override the test. |
ac_cv_prog_SEDPROG="$SEDPROG" # Let the user override the test. |
else |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
ac_dummy="$PATH" |
for as_dir in $PATH |
for ac_dir in $ac_dummy; do |
do |
IFS=$ac_save_IFS |
IFS=$as_save_IFS |
test -z "$ac_dir" && ac_dir=. |
test -z "$as_dir" && as_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_cv_prog_SEDPROG="sed" |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
echo "$as_me:3984: found $ac_dir/$ac_word" >&5 |
ac_cv_prog_SEDPROG="sed" |
break |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
done |
done |
|
done |
|
|
fi |
fi |
fi |
fi |
SEDPROG=$ac_cv_prog_SEDPROG |
SEDPROG=$ac_cv_prog_SEDPROG |
if test -n "$SEDPROG"; then |
if test -n "$SEDPROG"; then |
echo "$as_me:3992: result: $SEDPROG" >&5 |
echo "$as_me:$LINENO: result: $SEDPROG" >&5 |
echo "${ECHO_T}$SEDPROG" >&6 |
echo "${ECHO_T}$SEDPROG" >&6 |
else |
else |
echo "$as_me:3995: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi |
fi |
|
|
# Extract the first word of "nroff", so it can be a program name with args. |
# Extract the first word of "nroff", so it can be a program name with args. |
set dummy nroff; ac_word=$2 |
set dummy nroff; ac_word=$2 |
echo "$as_me:4001: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_NROFFPROG+set}" = set; then |
if test "${ac_cv_prog_NROFFPROG+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
if test -n "$NROFFPROG"; then |
if test -n "$NROFFPROG"; then |
ac_cv_prog_NROFFPROG="$NROFFPROG" # Let the user override the test. |
ac_cv_prog_NROFFPROG="$NROFFPROG" # Let the user override the test. |
else |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
ac_dummy="$PATH" |
for as_dir in $PATH |
for ac_dir in $ac_dummy; do |
do |
IFS=$ac_save_IFS |
IFS=$as_save_IFS |
test -z "$ac_dir" && ac_dir=. |
test -z "$as_dir" && as_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_cv_prog_NROFFPROG="nroff" |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
echo "$as_me:4016: found $ac_dir/$ac_word" >&5 |
ac_cv_prog_NROFFPROG="nroff" |
break |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
done |
done |
|
done |
|
|
fi |
fi |
fi |
fi |
NROFFPROG=$ac_cv_prog_NROFFPROG |
NROFFPROG=$ac_cv_prog_NROFFPROG |
if test -n "$NROFFPROG"; then |
if test -n "$NROFFPROG"; then |
echo "$as_me:4024: result: $NROFFPROG" >&5 |
echo "$as_me:$LINENO: result: $NROFFPROG" >&5 |
echo "${ECHO_T}$NROFFPROG" >&6 |
echo "${ECHO_T}$NROFFPROG" >&6 |
else |
else |
echo "$as_me:4027: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi |
fi |
|
|
|
|
fi |
fi |
done |
done |
if test -z "$ac_aux_dir"; then |
if test -z "$ac_aux_dir"; then |
{ { echo "$as_me:4053: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi |
fi |
|
|
|
|
# Make sure we can run config.sub. |
# Make sure we can run config.sub. |
$ac_config_sub sun4 >/dev/null 2>&1 || |
$ac_config_sub sun4 >/dev/null 2>&1 || |
{ { echo "$as_me:4063: error: cannot run $ac_config_sub" >&5 |
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
|
|
echo "$as_me:4067: checking build system type" >&5 |
echo "$as_me:$LINENO: checking build system type" >&5 |
echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
if test "${ac_cv_build+set}" = set; then |
if test "${ac_cv_build+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
test -z "$ac_cv_build_alias" && |
test -z "$ac_cv_build_alias" && |
ac_cv_build_alias=`$ac_config_guess` |
ac_cv_build_alias=`$ac_config_guess` |
test -z "$ac_cv_build_alias" && |
test -z "$ac_cv_build_alias" && |
{ { echo "$as_me:4076: error: cannot guess build type; you must specify one" >&5 |
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
{ { echo "$as_me:4080: error: $ac_config_sub $ac_cv_build_alias failed." >&5 |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} |
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
|
|
fi |
fi |
echo "$as_me:4085: result: $ac_cv_build" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
echo "${ECHO_T}$ac_cv_build" >&6 |
echo "${ECHO_T}$ac_cv_build" >&6 |
build=$ac_cv_build |
build=$ac_cv_build |
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
echo "$as_me:4092: checking host system type" >&5 |
|
|
echo "$as_me:$LINENO: checking host system type" >&5 |
echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
if test "${ac_cv_host+set}" = set; then |
if test "${ac_cv_host+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
test -z "$ac_cv_host_alias" && |
test -z "$ac_cv_host_alias" && |
ac_cv_host_alias=$ac_cv_build_alias |
ac_cv_host_alias=$ac_cv_build_alias |
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
{ { echo "$as_me:4101: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
|
|
fi |
fi |
echo "$as_me:4106: result: $ac_cv_host" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
echo "${ECHO_T}$ac_cv_host" >&6 |
echo "${ECHO_T}$ac_cv_host" >&6 |
host=$ac_cv_host |
host=$ac_cv_host |
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
|
|
|
if test -n "$sudo_cv_prev_host"; then |
if test -n "$sudo_cv_prev_host"; then |
if test "$sudo_cv_prev_host" != "$host"; then |
if test "$sudo_cv_prev_host" != "$host"; then |
echo "" |
echo "" |
|
|
echo "" |
echo "" |
exit 1 |
exit 1 |
else |
else |
echo "$as_me:4121: checking previous host type" >&5 |
echo "$as_me:$LINENO: checking previous host type" >&5 |
echo $ECHO_N "checking previous host type... $ECHO_C" >&6 |
echo $ECHO_N "checking previous host type... $ECHO_C" >&6 |
if test "${sudo_cv_prev_host+set}" = set; then |
if test "${sudo_cv_prev_host+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
# check for password adjunct functions (shadow passwords) |
# check for password adjunct functions (shadow passwords) |
if test "$CHECKSHADOW" = "true"; then |
if test "$CHECKSHADOW" = "true"; then |
|
|
|
|
for ac_func in getpwanam issecure |
for ac_func in getpwanam issecure |
do |
do |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
echo "$as_me:4165: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 4171 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func (); below. */ |
which can conflict with char $ac_func (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char $ac_func (); |
char $ac_func (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
choke me |
choke me |
#else |
#else |
f = $ac_func; |
char (*f) () = $ac_func; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != $ac_func; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:4202: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:4205: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:4208: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:4211: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
eval "$as_ac_var=yes" |
eval "$as_ac_var=yes" |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
eval "$as_ac_var=no" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:4221: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
EOF |
_ACEOF |
|
|
else |
else |
break |
break |
fi |
fi |
done |
done |
|
|
|
|
|
|
|
|
|
|
CHECKSHADOW="false" |
CHECKSHADOW="false" |
fi |
fi |
;; |
;; |
|
|
;; |
;; |
*-*-hiuxmpp*) |
*-*-hiuxmpp*) |
if test "$CHECKSHADOW" = "true"; then |
if test "$CHECKSHADOW" = "true"; then |
echo "$as_me:4257: checking for getprpwnam in -lsec" >&5 |
echo "$as_me:$LINENO: checking for getprpwnam in -lsec" >&5 |
echo $ECHO_N "checking for getprpwnam in -lsec... $ECHO_C" >&6 |
echo $ECHO_N "checking for getprpwnam in -lsec... $ECHO_C" >&6 |
if test "${ac_cv_lib_sec_getprpwnam+set}" = set; then |
if test "${ac_cv_lib_sec_getprpwnam+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lsec $LIBS" |
LIBS="-lsec $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 4265 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:4284: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:4287: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:4290: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:4293: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_sec_getprpwnam=yes |
ac_cv_lib_sec_getprpwnam=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_sec_getprpwnam=no |
ac_cv_lib_sec_getprpwnam=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:4304: result: $ac_cv_lib_sec_getprpwnam" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_sec_getprpwnam" >&5 |
echo "${ECHO_T}$ac_cv_lib_sec_getprpwnam" >&6 |
echo "${ECHO_T}$ac_cv_lib_sec_getprpwnam" >&6 |
if test $ac_cv_lib_sec_getprpwnam = yes; then |
if test $ac_cv_lib_sec_getprpwnam = yes; then |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_GETPRPWNAM 1 |
#define HAVE_GETPRPWNAM 1 |
EOF |
_ACEOF |
SUDO_LIBS="${SUDO_LIBS} -lsec"; LIBS="${LIBS} -lsec"; SECUREWARE=1 |
SUDO_LIBS="${SUDO_LIBS} -lsec"; LIBS="${LIBS} -lsec"; SECUREWARE=1 |
else |
else |
echo "$as_me:4312: checking for getprpwnam in -lsecurity" >&5 |
echo "$as_me:$LINENO: checking for getprpwnam in -lsecurity" >&5 |
echo $ECHO_N "checking for getprpwnam in -lsecurity... $ECHO_C" >&6 |
echo $ECHO_N "checking for getprpwnam in -lsecurity... $ECHO_C" >&6 |
if test "${ac_cv_lib_security_getprpwnam+set}" = set; then |
if test "${ac_cv_lib_security_getprpwnam+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lsecurity $LIBS" |
LIBS="-lsecurity $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 4320 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:4339: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:4342: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:4345: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:4348: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_security_getprpwnam=yes |
ac_cv_lib_security_getprpwnam=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_security_getprpwnam=no |
ac_cv_lib_security_getprpwnam=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:4359: result: $ac_cv_lib_security_getprpwnam" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_security_getprpwnam" >&5 |
echo "${ECHO_T}$ac_cv_lib_security_getprpwnam" >&6 |
echo "${ECHO_T}$ac_cv_lib_security_getprpwnam" >&6 |
if test $ac_cv_lib_security_getprpwnam = yes; then |
if test $ac_cv_lib_security_getprpwnam = yes; then |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_GETPRPWNAM 1 |
#define HAVE_GETPRPWNAM 1 |
EOF |
_ACEOF |
SUDO_LIBS="${SUDO_LIBS} -lsecurity"; LIBS="${LIBS} -lsecurity"; SECUREWARE=1 |
SUDO_LIBS="${SUDO_LIBS} -lsecurity"; LIBS="${LIBS} -lsecurity"; SECUREWARE=1 |
fi |
fi |
|
|
|
|
;; |
;; |
*-*-hpux1[0-9]*) |
*-*-hpux1[0-9]*) |
if test "$CHECKSHADOW" = "true"; then |
if test "$CHECKSHADOW" = "true"; then |
echo "$as_me:4377: checking for getprpwnam in -lsec" >&5 |
echo "$as_me:$LINENO: checking for getprpwnam in -lsec" >&5 |
echo $ECHO_N "checking for getprpwnam in -lsec... $ECHO_C" >&6 |
echo $ECHO_N "checking for getprpwnam in -lsec... $ECHO_C" >&6 |
if test "${ac_cv_lib_sec_getprpwnam+set}" = set; then |
if test "${ac_cv_lib_sec_getprpwnam+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lsec $LIBS" |
LIBS="-lsec $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 4385 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:4404: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:4407: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:4410: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:4413: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_sec_getprpwnam=yes |
ac_cv_lib_sec_getprpwnam=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_sec_getprpwnam=no |
ac_cv_lib_sec_getprpwnam=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:4424: result: $ac_cv_lib_sec_getprpwnam" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_sec_getprpwnam" >&5 |
echo "${ECHO_T}$ac_cv_lib_sec_getprpwnam" >&6 |
echo "${ECHO_T}$ac_cv_lib_sec_getprpwnam" >&6 |
if test $ac_cv_lib_sec_getprpwnam = yes; then |
if test $ac_cv_lib_sec_getprpwnam = yes; then |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_GETPRPWNAM 1 |
#define HAVE_GETPRPWNAM 1 |
EOF |
_ACEOF |
echo "$as_me:4430: checking for iscomsec in -lsec" >&5 |
echo "$as_me:$LINENO: checking for iscomsec in -lsec" >&5 |
echo $ECHO_N "checking for iscomsec in -lsec... $ECHO_C" >&6 |
echo $ECHO_N "checking for iscomsec in -lsec... $ECHO_C" >&6 |
if test "${ac_cv_lib_sec_iscomsec+set}" = set; then |
if test "${ac_cv_lib_sec_iscomsec+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lsec $LIBS" |
LIBS="-lsec $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 4438 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:4457: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:4460: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:4463: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:4466: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_sec_iscomsec=yes |
ac_cv_lib_sec_iscomsec=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_sec_iscomsec=no |
ac_cv_lib_sec_iscomsec=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:4477: result: $ac_cv_lib_sec_iscomsec" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_sec_iscomsec" >&5 |
echo "${ECHO_T}$ac_cv_lib_sec_iscomsec" >&6 |
echo "${ECHO_T}$ac_cv_lib_sec_iscomsec" >&6 |
if test $ac_cv_lib_sec_iscomsec = yes; then |
if test $ac_cv_lib_sec_iscomsec = yes; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_ISCOMSEC 1 |
#define HAVE_ISCOMSEC 1 |
EOF |
_ACEOF |
|
|
fi |
fi |
SUDO_LIBS="${SUDO_LIBS} -lsec"; LIBS="${LIBS} -lsec"; SECUREWARE=1 |
SUDO_LIBS="${SUDO_LIBS} -lsec"; LIBS="${LIBS} -lsec"; SECUREWARE=1 |
|
|
;; |
;; |
*-*-hpux9*) |
*-*-hpux9*) |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define BROKEN_SYSLOG 1 |
#define BROKEN_SYSLOG 1 |
EOF |
_ACEOF |
|
|
|
|
if test "$CHECKSHADOW" = "true"; then |
if test "$CHECKSHADOW" = "true"; then |
|
|
for ac_func in getspwuid |
for ac_func in getspwuid |
do |
do |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
echo "$as_me:4510: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 4516 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func (); below. */ |
which can conflict with char $ac_func (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char $ac_func (); |
char $ac_func (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
choke me |
choke me |
#else |
#else |
f = $ac_func; |
char (*f) () = $ac_func; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != $ac_func; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:4547: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:4550: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:4553: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:4556: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
eval "$as_ac_var=yes" |
eval "$as_ac_var=yes" |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
eval "$as_ac_var=no" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:4566: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
EOF |
_ACEOF |
|
|
fi |
fi |
done |
done |
|
|
|
|
|
|
CHECKSHADOW="false" |
CHECKSHADOW="false" |
fi |
fi |
|
|
|
|
test -n "$mansectform" || mansectform=4 |
test -n "$mansectform" || mansectform=4 |
;; |
;; |
*-*-hpux*) |
*-*-hpux*) |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define BROKEN_SYSLOG 1 |
#define BROKEN_SYSLOG 1 |
EOF |
_ACEOF |
|
|
|
|
# Not sure if setuid binaries are safe in < 9.x |
# Not sure if setuid binaries are safe in < 9.x |
if test -n "$GCC"; then |
if test -n "$GCC"; then |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -static" |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -static" |
|
|
# ignore envariables wrt dynamic lib path |
# ignore envariables wrt dynamic lib path |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -Wl,-no_library_replacement" |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -Wl,-no_library_replacement" |
|
|
echo "$as_me:4617: checking whether to disable sia support on Digital UNIX" >&5 |
echo "$as_me:$LINENO: checking whether to disable sia support on Digital UNIX" >&5 |
echo $ECHO_N "checking whether to disable sia support on Digital UNIX... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to disable sia support on Digital UNIX... $ECHO_C" >&6 |
# Check whether --enable-sia or --disable-sia was given. |
# Check whether --enable-sia or --disable-sia was given. |
if test "${enable_sia+set}" = set; then |
if test "${enable_sia+set}" = set; then |
enableval="$enable_sia" |
enableval="$enable_sia" |
case "$enableval" in |
case "$enableval" in |
yes) echo "$as_me:4623: result: no" >&5 |
yes) echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
;; |
;; |
no) echo "$as_me:4626: result: yes" >&5 |
no) echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
CHECKSIA=false |
CHECKSIA=false |
;; |
;; |
*) echo "$as_me:4630: result: no" >&5 |
*) echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
echo "Ignoring unknown argument to --enable-sia: $enableval" |
echo "Ignoring unknown argument to --enable-sia: $enableval" |
;; |
;; |
esac |
esac |
|
|
else |
else |
echo "$as_me:4637: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi; |
fi; |
|
|
# use SIA by default, if we have it, else SecureWare |
# use SIA by default, if we have it, else SecureWare |
# unless overridden on the command line |
# unless overridden on the command line |
if test "$CHECKSIA" = "true"; then |
if test "$CHECKSIA" = "true"; then |
echo "$as_me:4644: checking for sia_ses_init" >&5 |
echo "$as_me:$LINENO: checking for sia_ses_init" >&5 |
echo $ECHO_N "checking for sia_ses_init... $ECHO_C" >&6 |
echo $ECHO_N "checking for sia_ses_init... $ECHO_C" >&6 |
if test "${ac_cv_func_sia_ses_init+set}" = set; then |
if test "${ac_cv_func_sia_ses_init+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 4650 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char sia_ses_init (); below. */ |
which can conflict with char sia_ses_init (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char sia_ses_init (); |
char sia_ses_init (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_sia_ses_init) || defined (__stub___sia_ses_init) |
#if defined (__stub_sia_ses_init) || defined (__stub___sia_ses_init) |
choke me |
choke me |
#else |
#else |
f = sia_ses_init; |
char (*f) () = sia_ses_init; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != sia_ses_init; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:4681: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:4684: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:4687: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:4690: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_func_sia_ses_init=yes |
ac_cv_func_sia_ses_init=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_func_sia_ses_init=no |
ac_cv_func_sia_ses_init=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:4700: result: $ac_cv_func_sia_ses_init" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_sia_ses_init" >&5 |
echo "${ECHO_T}$ac_cv_func_sia_ses_init" >&6 |
echo "${ECHO_T}$ac_cv_func_sia_ses_init" >&6 |
if test $ac_cv_func_sia_ses_init = yes; then |
if test $ac_cv_func_sia_ses_init = yes; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_SIA 1 |
#define HAVE_SIA 1 |
EOF |
_ACEOF |
|
|
if test -n "$with_skey" -o -n "$with_opie" -o -n "$with_otp_only" -o -n "$with_long_otp_prompt" -o -n "$with_SecurID" -o -n "$with_fwtk" -o -n "$with_kerb4" -o -n "$with_kerb5" -o -n "$with_pam" -o -n "$with_AFS" -o -n "$with_DCE"; then |
if test -n "$with_skey" -o -n "$with_opie" -o -n "$with_otp_only" -o -n "$with_long_otp_prompt" -o -n "$with_SecurID" -o -n "$with_fwtk" -o -n "$with_kerb4" -o -n "$with_kerb5" -o -n "$with_pam" -o -n "$with_AFS" -o -n "$with_DCE"; then |
{ { echo "$as_me:4709: error: \"you cannot mix SIA and other authentication schemes. You can turn off SIA support via the --disable-sia option\"" >&5 |
{ { echo "$as_me:$LINENO: error: \"you cannot mix SIA and other authentication schemes. You can turn off SIA support via the --disable-sia option\"" >&5 |
echo "$as_me: error: \"you cannot mix SIA and other authentication schemes. You can turn off SIA support via the --disable-sia option\"" >&2;} |
echo "$as_me: error: \"you cannot mix SIA and other authentication schemes. You can turn off SIA support via the --disable-sia option\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi; CHECKSHADOW=false |
fi; CHECKSHADOW=false |
|
|
|
|
fi |
fi |
if test "$CHECKSHADOW" = "true"; then |
if test "$CHECKSHADOW" = "true"; then |
echo "$as_me:4717: checking for getprpwnam in -lsecurity" >&5 |
echo "$as_me:$LINENO: checking for getprpwnam in -lsecurity" >&5 |
echo $ECHO_N "checking for getprpwnam in -lsecurity... $ECHO_C" >&6 |
echo $ECHO_N "checking for getprpwnam in -lsecurity... $ECHO_C" >&6 |
if test "${ac_cv_lib_security_getprpwnam+set}" = set; then |
if test "${ac_cv_lib_security_getprpwnam+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lsecurity $LIBS" |
LIBS="-lsecurity $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 4725 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:4744: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:4747: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:4750: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:4753: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_security_getprpwnam=yes |
ac_cv_lib_security_getprpwnam=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_security_getprpwnam=no |
ac_cv_lib_security_getprpwnam=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:4764: result: $ac_cv_lib_security_getprpwnam" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_security_getprpwnam" >&5 |
echo "${ECHO_T}$ac_cv_lib_security_getprpwnam" >&6 |
echo "${ECHO_T}$ac_cv_lib_security_getprpwnam" >&6 |
if test $ac_cv_lib_security_getprpwnam = yes; then |
if test $ac_cv_lib_security_getprpwnam = yes; then |
SECUREWARE=1 |
SECUREWARE=1 |
|
|
|
|
if test -n "$SECUREWARE"; then |
if test -n "$SECUREWARE"; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_GETPRPWNAM 1 |
#define HAVE_GETPRPWNAM 1 |
EOF |
_ACEOF |
|
|
# -ldb includes bogus versions of snprintf/vsnprintf |
# -ldb includes bogus versions of snprintf/vsnprintf |
|
|
for ac_func in snprintf |
for ac_func in snprintf |
do |
do |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
echo "$as_me:4784: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 4790 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func (); below. */ |
which can conflict with char $ac_func (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char $ac_func (); |
char $ac_func (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
choke me |
choke me |
#else |
#else |
f = $ac_func; |
char (*f) () = $ac_func; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != $ac_func; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:4821: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:4824: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:4827: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:4830: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
eval "$as_ac_var=yes" |
eval "$as_ac_var=yes" |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
eval "$as_ac_var=no" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:4840: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
EOF |
_ACEOF |
|
|
else |
else |
NEED_SNPRINTF=1 |
NEED_SNPRINTF=1 |
fi |
fi |
done |
done |
|
|
|
|
for ac_func in vsnprintf |
for ac_func in vsnprintf |
do |
do |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
echo "$as_me:4855: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 4861 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func (); below. */ |
which can conflict with char $ac_func (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char $ac_func (); |
char $ac_func (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
choke me |
choke me |
#else |
#else |
f = $ac_func; |
char (*f) () = $ac_func; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != $ac_func; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:4892: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:4895: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:4898: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:4901: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
eval "$as_ac_var=yes" |
eval "$as_ac_var=yes" |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
eval "$as_ac_var=no" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:4911: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
EOF |
_ACEOF |
|
|
else |
else |
NEED_SNPRINTF=1 |
NEED_SNPRINTF=1 |
|
|
done |
done |
|
|
# 4.x and higher need -ldb too... |
# 4.x and higher need -ldb too... |
echo "$as_me:4924: checking for dbopen in -ldb" >&5 |
echo "$as_me:$LINENO: checking for dbopen in -ldb" >&5 |
echo $ECHO_N "checking for dbopen in -ldb... $ECHO_C" >&6 |
echo $ECHO_N "checking for dbopen in -ldb... $ECHO_C" >&6 |
if test "${ac_cv_lib_db_dbopen+set}" = set; then |
if test "${ac_cv_lib_db_dbopen+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-ldb $LIBS" |
LIBS="-ldb $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 4932 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:4951: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:4954: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:4957: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:4960: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_db_dbopen=yes |
ac_cv_lib_db_dbopen=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_db_dbopen=no |
ac_cv_lib_db_dbopen=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:4971: result: $ac_cv_lib_db_dbopen" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_db_dbopen" >&5 |
echo "${ECHO_T}$ac_cv_lib_db_dbopen" >&6 |
echo "${ECHO_T}$ac_cv_lib_db_dbopen" >&6 |
if test $ac_cv_lib_db_dbopen = yes; then |
if test $ac_cv_lib_db_dbopen = yes; then |
SUDO_LIBS="${SUDO_LIBS} -lsecurity -ldb -laud -lm"; LIBS="${LIBS} -lsecurity -ldb -laud -lm" |
SUDO_LIBS="${SUDO_LIBS} -lsecurity -ldb -laud -lm"; LIBS="${LIBS} -lsecurity -ldb -laud -lm" |
|
|
SUDO_LIBS="${SUDO_LIBS} -lsecurity -ldb -laud -lm"; LIBS="${LIBS} -lsecurity -ldb -laud -lm" |
SUDO_LIBS="${SUDO_LIBS} -lsecurity -ldb -laud -lm"; LIBS="${LIBS} -lsecurity -ldb -laud -lm" |
fi |
fi |
|
|
|
|
for ac_func in dispcrypt |
for ac_func in dispcrypt |
do |
do |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
echo "$as_me:4982: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 4988 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func (); below. */ |
which can conflict with char $ac_func (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char $ac_func (); |
char $ac_func (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
choke me |
choke me |
#else |
#else |
f = $ac_func; |
char (*f) () = $ac_func; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != $ac_func; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:5019: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5022: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:5025: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5028: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
eval "$as_ac_var=yes" |
eval "$as_ac_var=yes" |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
eval "$as_ac_var=no" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:5038: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
EOF |
_ACEOF |
|
|
fi |
fi |
done |
done |
|
|
echo "$as_me:5048: checking for broken /usr/include/prot.h" >&5 |
echo "$as_me:$LINENO: checking for broken /usr/include/prot.h" >&5 |
echo $ECHO_N "checking for broken /usr/include/prot.h... $ECHO_C" >&6 |
echo $ECHO_N "checking for broken /usr/include/prot.h... $ECHO_C" >&6 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 5051 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
#include <sys/types.h> |
#include <sys/types.h> |
#include <sys/security.h> |
#include <sys/security.h> |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:5067: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5070: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -s conftest.$ac_objext' |
{ (eval echo "$as_me:5073: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5076: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
echo "$as_me:5078: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
echo "$as_me:5083: result: yes, fixing locally" >&5 |
|
|
echo "$as_me:$LINENO: result: yes, fixing locally" >&5 |
echo "${ECHO_T}yes, fixing locally" >&6 |
echo "${ECHO_T}yes, fixing locally" >&6 |
sed 's:<acl.h>:<sys/acl.h>:g' < /usr/include/prot.h > prot.h |
sed 's:<acl.h>:<sys/acl.h>:g' < /usr/include/prot.h > prot.h |
|
|
|
|
*-*-irix*) |
*-*-irix*) |
CPPFLAGS="${CPPFLAGS} -D_BSD_TYPES" |
CPPFLAGS="${CPPFLAGS} -D_BSD_TYPES" |
if test -z "$NROFFPROG"; then |
if test -z "$NROFFPROG"; then |
MAN_POSTINSTALL=' /bin/rm -f $(mandir8)/sudo.$(mansect8).z $(mandir8)/visudo.$(mansect8).z $(mandir5)/sudoers.$(mansect5).z ; /usr/bin/pack $(mandir8)/sudo.$(mansect8) $(mandir8)/visudo.$(mansect8) $(mandir5)/sudoers.$(mansect5)' |
MAN_POSTINSTALL=' /bin/rm -f $(mandirsu)/sudo.$(mansectsu).z $(mandirsu)/visudo.$(mansectsu).z $(mandirform)/sudoers.$(mansectform).z ; /usr/bin/pack $(mandirsu)/sudo.$(mansectsu) $(mandirsu)/visudo.$(mansectsu) $(mandirform)/sudoers.$(mansectform)' |
if test "$prefix" = "/usr/local" -a "$mandir" = '$(prefix)/man'; then |
if test "$prefix" = "/usr/local" -a "$mandir" = '$(prefix)/man'; then |
if test -d /usr/share/catman/local; then |
if test -d /usr/share/catman/local; then |
mandir="/usr/share/catman/local" |
mandir="/usr/share/catman/local" |
|
|
fi |
fi |
# IRIX <= 4 needs -lsun |
# IRIX <= 4 needs -lsun |
if test "$OSREV" -le 4; then |
if test "$OSREV" -le 4; then |
echo "$as_me:5118: checking for getpwnam in -lsun" >&5 |
echo "$as_me:$LINENO: checking for getpwnam in -lsun" >&5 |
echo $ECHO_N "checking for getpwnam in -lsun... $ECHO_C" >&6 |
echo $ECHO_N "checking for getpwnam in -lsun... $ECHO_C" >&6 |
if test "${ac_cv_lib_sun_getpwnam+set}" = set; then |
if test "${ac_cv_lib_sun_getpwnam+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lsun $LIBS" |
LIBS="-lsun $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 5126 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:5145: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5148: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:5151: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5154: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_sun_getpwnam=yes |
ac_cv_lib_sun_getpwnam=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_sun_getpwnam=no |
ac_cv_lib_sun_getpwnam=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:5165: result: $ac_cv_lib_sun_getpwnam" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getpwnam" >&5 |
echo "${ECHO_T}$ac_cv_lib_sun_getpwnam" >&6 |
echo "${ECHO_T}$ac_cv_lib_sun_getpwnam" >&6 |
if test $ac_cv_lib_sun_getpwnam = yes; then |
if test $ac_cv_lib_sun_getpwnam = yes; then |
LIBS="${LIBS} -lsun" |
LIBS="${LIBS} -lsun" |
|
|
for ac_func in getspnam |
for ac_func in getspnam |
do |
do |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
echo "$as_me:5182: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 5188 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func (); below. */ |
which can conflict with char $ac_func (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char $ac_func (); |
char $ac_func (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
choke me |
choke me |
#else |
#else |
f = $ac_func; |
char (*f) () = $ac_func; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != $ac_func; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:5219: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5222: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:5225: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5228: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
eval "$as_ac_var=yes" |
eval "$as_ac_var=yes" |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
eval "$as_ac_var=no" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:5238: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
EOF |
_ACEOF |
|
|
else |
else |
echo "$as_me:5246: checking for getspnam in -lshadow" >&5 |
echo "$as_me:$LINENO: checking for getspnam in -lshadow" >&5 |
echo $ECHO_N "checking for getspnam in -lshadow... $ECHO_C" >&6 |
echo $ECHO_N "checking for getspnam in -lshadow... $ECHO_C" >&6 |
if test "${ac_cv_lib_shadow_getspnam+set}" = set; then |
if test "${ac_cv_lib_shadow_getspnam+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lshadow $LIBS" |
LIBS="-lshadow $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 5254 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:5273: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5276: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:5279: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5282: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_shadow_getspnam=yes |
ac_cv_lib_shadow_getspnam=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_shadow_getspnam=no |
ac_cv_lib_shadow_getspnam=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:5293: result: $ac_cv_lib_shadow_getspnam" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_shadow_getspnam" >&5 |
echo "${ECHO_T}$ac_cv_lib_shadow_getspnam" >&6 |
echo "${ECHO_T}$ac_cv_lib_shadow_getspnam" >&6 |
if test $ac_cv_lib_shadow_getspnam = yes; then |
if test $ac_cv_lib_shadow_getspnam = yes; then |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_GETSPNAM 1 |
#define HAVE_GETSPNAM 1 |
EOF |
_ACEOF |
SUDO_LIBS="${SUDO_LIBS} -lshadow"; LIBS="${LIBS} -lshadow" |
SUDO_LIBS="${SUDO_LIBS} -lshadow"; LIBS="${LIBS} -lshadow" |
fi |
fi |
|
|
|
|
fi |
fi |
|
|
if test "$CHECKSHADOW" = "true"; then |
if test "$CHECKSHADOW" = "true"; then |
echo "$as_me:5318: checking for getprpwnam in -lsec" >&5 |
echo "$as_me:$LINENO: checking for getprpwnam in -lsec" >&5 |
echo $ECHO_N "checking for getprpwnam in -lsec... $ECHO_C" >&6 |
echo $ECHO_N "checking for getprpwnam in -lsec... $ECHO_C" >&6 |
if test "${ac_cv_lib_sec_getprpwnam+set}" = set; then |
if test "${ac_cv_lib_sec_getprpwnam+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lsec $LIBS" |
LIBS="-lsec $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 5326 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:5345: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5348: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:5351: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5354: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_sec_getprpwnam=yes |
ac_cv_lib_sec_getprpwnam=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_sec_getprpwnam=no |
ac_cv_lib_sec_getprpwnam=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:5365: result: $ac_cv_lib_sec_getprpwnam" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_sec_getprpwnam" >&5 |
echo "${ECHO_T}$ac_cv_lib_sec_getprpwnam" >&6 |
echo "${ECHO_T}$ac_cv_lib_sec_getprpwnam" >&6 |
if test $ac_cv_lib_sec_getprpwnam = yes; then |
if test $ac_cv_lib_sec_getprpwnam = yes; then |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_GETPRPWNAM 1 |
#define HAVE_GETPRPWNAM 1 |
EOF |
_ACEOF |
SUDO_LIBS="${SUDO_LIBS} -lprot"; LIBS="${LIBS} -lprot"; OSDEFS="${OSDEFS} -D_AUDIT -D_ACL -DSecureWare"; SECUREWARE=1 |
SUDO_LIBS="${SUDO_LIBS} -lprot"; LIBS="${LIBS} -lprot"; OSDEFS="${OSDEFS} -D_AUDIT -D_ACL -DSecureWare"; SECUREWARE=1 |
fi |
fi |
|
|
|
|
*-*-ultrix*) |
*-*-ultrix*) |
OS="ultrix" |
OS="ultrix" |
if test "$CHECKSHADOW" = "true"; then |
if test "$CHECKSHADOW" = "true"; then |
echo "$as_me:5380: checking for getauthuid in -lauth" >&5 |
echo "$as_me:$LINENO: checking for getauthuid in -lauth" >&5 |
echo $ECHO_N "checking for getauthuid in -lauth... $ECHO_C" >&6 |
echo $ECHO_N "checking for getauthuid in -lauth... $ECHO_C" >&6 |
if test "${ac_cv_lib_auth_getauthuid+set}" = set; then |
if test "${ac_cv_lib_auth_getauthuid+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lauth $LIBS" |
LIBS="-lauth $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 5388 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:5407: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5410: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:5413: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5416: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_auth_getauthuid=yes |
ac_cv_lib_auth_getauthuid=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_auth_getauthuid=no |
ac_cv_lib_auth_getauthuid=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:5427: result: $ac_cv_lib_auth_getauthuid" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_auth_getauthuid" >&5 |
echo "${ECHO_T}$ac_cv_lib_auth_getauthuid" >&6 |
echo "${ECHO_T}$ac_cv_lib_auth_getauthuid" >&6 |
if test $ac_cv_lib_auth_getauthuid = yes; then |
if test $ac_cv_lib_auth_getauthuid = yes; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_GETAUTHUID 1 |
#define HAVE_GETAUTHUID 1 |
EOF |
_ACEOF |
SUDO_LIBS="${SUDO_LIBS} -lauth"; LIBS="${LIBS} -lauth" |
SUDO_LIBS="${SUDO_LIBS} -lauth"; LIBS="${LIBS} -lauth" |
fi |
fi |
|
|
|
|
LIBS="${LIBS} -lcrypt" |
LIBS="${LIBS} -lcrypt" |
|
|
if test "$CHECKSHADOW" = "true"; then |
if test "$CHECKSHADOW" = "true"; then |
echo "$as_me:5454: checking for getspnam in -lsec" >&5 |
echo "$as_me:$LINENO: checking for getspnam in -lsec" >&5 |
echo $ECHO_N "checking for getspnam in -lsec... $ECHO_C" >&6 |
echo $ECHO_N "checking for getspnam in -lsec... $ECHO_C" >&6 |
if test "${ac_cv_lib_sec_getspnam+set}" = set; then |
if test "${ac_cv_lib_sec_getspnam+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lsec $LIBS" |
LIBS="-lsec $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 5462 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:5481: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5484: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:5487: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5490: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_sec_getspnam=yes |
ac_cv_lib_sec_getspnam=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_sec_getspnam=no |
ac_cv_lib_sec_getspnam=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:5501: result: $ac_cv_lib_sec_getspnam" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_sec_getspnam" >&5 |
echo "${ECHO_T}$ac_cv_lib_sec_getspnam" >&6 |
echo "${ECHO_T}$ac_cv_lib_sec_getspnam" >&6 |
if test $ac_cv_lib_sec_getspnam = yes; then |
if test $ac_cv_lib_sec_getspnam = yes; then |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_GETSPNAM 1 |
#define HAVE_GETSPNAM 1 |
EOF |
_ACEOF |
SUDO_LIBS="${SUDO_LIBS} -lsec"; LIBS="${LIBS} -lsec" |
SUDO_LIBS="${SUDO_LIBS} -lsec"; LIBS="${LIBS} -lsec" |
fi |
fi |
|
|
|
|
;; |
;; |
*-*-sco*|*-sco-*) |
*-*-sco*|*-sco-*) |
if test "$CHECKSHADOW" = "true"; then |
if test "$CHECKSHADOW" = "true"; then |
echo "$as_me:5517: checking for getprpwnam in -lprot" >&5 |
echo "$as_me:$LINENO: checking for getprpwnam in -lprot" >&5 |
echo $ECHO_N "checking for getprpwnam in -lprot... $ECHO_C" >&6 |
echo $ECHO_N "checking for getprpwnam in -lprot... $ECHO_C" >&6 |
if test "${ac_cv_lib_prot_getprpwnam_lx+set}" = set; then |
if test "${ac_cv_lib_prot_getprpwnam_lx+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lprot -lx $LIBS" |
LIBS="-lprot -lx $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 5525 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:5544: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5547: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:5550: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5553: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_prot_getprpwnam_lx=yes |
ac_cv_lib_prot_getprpwnam_lx=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_prot_getprpwnam_lx=no |
ac_cv_lib_prot_getprpwnam_lx=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:5564: result: $ac_cv_lib_prot_getprpwnam_lx" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_prot_getprpwnam_lx" >&5 |
echo "${ECHO_T}$ac_cv_lib_prot_getprpwnam_lx" >&6 |
echo "${ECHO_T}$ac_cv_lib_prot_getprpwnam_lx" >&6 |
if test $ac_cv_lib_prot_getprpwnam_lx = yes; then |
if test $ac_cv_lib_prot_getprpwnam_lx = yes; then |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_GETPRPWNAM 1 |
#define HAVE_GETPRPWNAM 1 |
EOF |
_ACEOF |
SUDO_LIBS="${SUDO_LIBS} -lprot -lx"; LIBS="${LIBS} -lprot -lx"; SECUREWARE=1 |
SUDO_LIBS="${SUDO_LIBS} -lprot -lx"; LIBS="${LIBS} -lprot -lx"; SECUREWARE=1 |
fi |
fi |
|
|
echo "$as_me:5573: checking for getspnam in -lgen" >&5 |
echo "$as_me:$LINENO: checking for getspnam in -lgen" >&5 |
echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6 |
echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6 |
if test "${ac_cv_lib_gen_getspnam+set}" = set; then |
if test "${ac_cv_lib_gen_getspnam+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lgen $LIBS" |
LIBS="-lgen $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 5581 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:5600: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5603: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:5606: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5609: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_gen_getspnam=yes |
ac_cv_lib_gen_getspnam=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_gen_getspnam=no |
ac_cv_lib_gen_getspnam=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:5620: result: $ac_cv_lib_gen_getspnam" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getspnam" >&5 |
echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6 |
echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6 |
if test $ac_cv_lib_gen_getspnam = yes; then |
if test $ac_cv_lib_gen_getspnam = yes; then |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_GETSPNAM 1 |
#define HAVE_GETSPNAM 1 |
EOF |
_ACEOF |
SUDO_LIBS="${SUDO_LIBS} -lgen"; LIBS="${LIBS} -lgen" |
SUDO_LIBS="${SUDO_LIBS} -lgen"; LIBS="${LIBS} -lgen" |
fi |
fi |
|
|
|
|
;; |
;; |
*-sequent-sysv*) |
*-sequent-sysv*) |
if test "$CHECKSHADOW" = "true"; then |
if test "$CHECKSHADOW" = "true"; then |
echo "$as_me:5642: checking for getspnam in -lsec" >&5 |
echo "$as_me:$LINENO: checking for getspnam in -lsec" >&5 |
echo $ECHO_N "checking for getspnam in -lsec... $ECHO_C" >&6 |
echo $ECHO_N "checking for getspnam in -lsec... $ECHO_C" >&6 |
if test "${ac_cv_lib_sec_getspnam+set}" = set; then |
if test "${ac_cv_lib_sec_getspnam+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lsec $LIBS" |
LIBS="-lsec $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 5650 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:5669: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5672: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:5675: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5678: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_sec_getspnam=yes |
ac_cv_lib_sec_getspnam=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_sec_getspnam=no |
ac_cv_lib_sec_getspnam=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:5689: result: $ac_cv_lib_sec_getspnam" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_sec_getspnam" >&5 |
echo "${ECHO_T}$ac_cv_lib_sec_getspnam" >&6 |
echo "${ECHO_T}$ac_cv_lib_sec_getspnam" >&6 |
if test $ac_cv_lib_sec_getspnam = yes; then |
if test $ac_cv_lib_sec_getspnam = yes; then |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_GETSPNAM 1 |
#define HAVE_GETSPNAM 1 |
EOF |
_ACEOF |
SUDO_LIBS="${SUDO_LIBS} -lsec"; LIBS="${LIBS} -lsec" |
SUDO_LIBS="${SUDO_LIBS} -lsec"; LIBS="${LIBS} -lsec" |
fi |
fi |
|
|
|
|
test -n "$mansectform" || mansectform=4 |
test -n "$mansectform" || mansectform=4 |
;; |
;; |
*-ncr-sysv4*|*-ncr-sysvr4*) |
*-ncr-sysv4*|*-ncr-sysvr4*) |
echo "$as_me:5704: checking for strcasecmp in -lc89" >&5 |
echo "$as_me:$LINENO: checking for strcasecmp in -lc89" >&5 |
echo $ECHO_N "checking for strcasecmp in -lc89... $ECHO_C" >&6 |
echo $ECHO_N "checking for strcasecmp in -lc89... $ECHO_C" >&6 |
if test "${ac_cv_lib_c89_strcasecmp+set}" = set; then |
if test "${ac_cv_lib_c89_strcasecmp+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lc89 $LIBS" |
LIBS="-lc89 $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 5712 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:5731: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5734: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:5737: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5740: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_c89_strcasecmp=yes |
ac_cv_lib_c89_strcasecmp=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_c89_strcasecmp=no |
ac_cv_lib_c89_strcasecmp=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:5751: result: $ac_cv_lib_c89_strcasecmp" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_c89_strcasecmp" >&5 |
echo "${ECHO_T}$ac_cv_lib_c89_strcasecmp" >&6 |
echo "${ECHO_T}$ac_cv_lib_c89_strcasecmp" >&6 |
if test $ac_cv_lib_c89_strcasecmp = yes; then |
if test $ac_cv_lib_c89_strcasecmp = yes; then |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_STRCASECMP 1 |
#define HAVE_STRCASECMP 1 |
EOF |
_ACEOF |
LIBS="${LIBS} -lc89"; ac_cv_func_strcasecmp=yes |
LIBS="${LIBS} -lc89"; ac_cv_func_strcasecmp=yes |
fi |
fi |
|
|
|
|
test -n "$mansectform" || mansectform=4 |
test -n "$mansectform" || mansectform=4 |
;; |
;; |
*-*-bsdi*) |
*-*-bsdi*) |
BROKEN_SETREUID=yes |
SKIP_SETREUID=yes |
# Use shlicc for BSD/OS [23].x unless asked to do otherwise |
# Use shlicc for BSD/OS [23].x unless asked to do otherwise |
if test "${with_CC+set}" != set -a "$ac_cv_prog_CC" = gcc; then |
if test "${with_CC+set}" != set -a "$ac_cv_prog_CC" = gcc; then |
case "$OSREV" in |
case "$OSREV" in |
|
|
# backported to 2.0.5. We just take 2.1 and above... |
# backported to 2.0.5. We just take 2.1 and above... |
case "`echo $host_os | sed 's/^freebsd\([0-9\.]*\).*$/\1/'`" in |
case "`echo $host_os | sed 's/^freebsd\([0-9\.]*\).*$/\1/'`" in |
0.*|1.*|2.0*) |
0.*|1.*|2.0*) |
BROKEN_SETREUID=yes |
SKIP_SETREUID=yes |
;; |
;; |
esac |
esac |
if test "$with_logincap" = "yes"; then |
if test "$with_logincap" = "yes"; then |
|
|
fi |
fi |
;; |
;; |
*-*-*openbsd*) |
*-*-*openbsd*) |
BROKEN_SETREUID=yes |
SKIP_SETREUID=yes |
if test "$CHECKSHADOW" = "true"; then |
if test "$CHECKSHADOW" = "true"; then |
CHECKSHADOW="false" |
CHECKSHADOW="false" |
fi |
fi |
|
|
# NetBSD has a real setreuid(2) starting with 1.3.2 |
# NetBSD has a real setreuid(2) starting with 1.3.2 |
case "`echo $host_os | sed 's/^netbsd\([0-9\.]*\).*$/\1/'`" in |
case "`echo $host_os | sed 's/^netbsd\([0-9\.]*\).*$/\1/'`" in |
0.9*|1.012*|1.3|1.3.1) |
0.9*|1.012*|1.3|1.3.1) |
BROKEN_SETREUID=yes |
SKIP_SETREUID=yes |
;; |
;; |
esac |
esac |
if test "$CHECKSHADOW" = "true"; then |
if test "$CHECKSHADOW" = "true"; then |
|
|
for ac_func in getspnam |
for ac_func in getspnam |
do |
do |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
echo "$as_me:5840: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 5846 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func (); below. */ |
which can conflict with char $ac_func (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char $ac_func (); |
char $ac_func (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
choke me |
choke me |
#else |
#else |
f = $ac_func; |
char (*f) () = $ac_func; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != $ac_func; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:5877: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5880: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:5883: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5886: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
eval "$as_ac_var=yes" |
eval "$as_ac_var=yes" |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
eval "$as_ac_var=no" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:5896: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
EOF |
_ACEOF |
CHECKSHADOW="false" |
CHECKSHADOW="false" |
else |
else |
echo "$as_me:5904: checking for getspnam in -lgen" >&5 |
echo "$as_me:$LINENO: checking for getspnam in -lgen" >&5 |
echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6 |
echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6 |
if test "${ac_cv_lib_gen_getspnam+set}" = set; then |
if test "${ac_cv_lib_gen_getspnam+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lgen $LIBS" |
LIBS="-lgen $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 5912 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:5931: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5934: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:5937: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:5940: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_gen_getspnam=yes |
ac_cv_lib_gen_getspnam=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_gen_getspnam=no |
ac_cv_lib_gen_getspnam=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:5951: result: $ac_cv_lib_gen_getspnam" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getspnam" >&5 |
echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6 |
echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6 |
if test $ac_cv_lib_gen_getspnam = yes; then |
if test $ac_cv_lib_gen_getspnam = yes; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_GETSPNAM 1 |
#define HAVE_GETSPNAM 1 |
EOF |
_ACEOF |
SUDO_LIBS="${SUDO_LIBS} -lgen"; LIBS="${LIBS} -lgen" |
SUDO_LIBS="${SUDO_LIBS} -lgen"; LIBS="${LIBS} -lgen" |
fi |
fi |
|
|
|
|
|
|
fi |
fi |
if test "$CHECKSHADOW" = "true"; then |
if test "$CHECKSHADOW" = "true"; then |
echo "$as_me:5966: checking for getprpwnam" >&5 |
echo "$as_me:$LINENO: checking for getprpwnam" >&5 |
echo $ECHO_N "checking for getprpwnam... $ECHO_C" >&6 |
echo $ECHO_N "checking for getprpwnam... $ECHO_C" >&6 |
if test "${ac_cv_func_getprpwnam+set}" = set; then |
if test "${ac_cv_func_getprpwnam+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 5972 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char getprpwnam (); below. */ |
which can conflict with char getprpwnam (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char getprpwnam (); |
char getprpwnam (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_getprpwnam) || defined (__stub___getprpwnam) |
#if defined (__stub_getprpwnam) || defined (__stub___getprpwnam) |
choke me |
choke me |
#else |
#else |
f = getprpwnam; |
char (*f) () = getprpwnam; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != getprpwnam; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:6003: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:6006: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:6009: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:6012: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_func_getprpwnam=yes |
ac_cv_func_getprpwnam=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_func_getprpwnam=no |
ac_cv_func_getprpwnam=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:6022: result: $ac_cv_func_getprpwnam" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_getprpwnam" >&5 |
echo "${ECHO_T}$ac_cv_func_getprpwnam" >&6 |
echo "${ECHO_T}$ac_cv_func_getprpwnam" >&6 |
if test $ac_cv_func_getprpwnam = yes; then |
if test $ac_cv_func_getprpwnam = yes; then |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_GETPRPWNAM 1 |
#define HAVE_GETPRPWNAM 1 |
EOF |
_ACEOF |
CHECKSHADOW="false"; SECUREWARE=1, echo "$as_me:6028: checking for getprpwnam in -lsec" >&5 |
CHECKSHADOW="false"; SECUREWARE=1, echo "$as_me:$LINENO: checking for getprpwnam in -lsec" >&5 |
echo $ECHO_N "checking for getprpwnam in -lsec... $ECHO_C" >&6 |
echo $ECHO_N "checking for getprpwnam in -lsec... $ECHO_C" >&6 |
if test "${ac_cv_lib_sec_getprpwnam+set}" = set; then |
if test "${ac_cv_lib_sec_getprpwnam+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lsec $LIBS" |
LIBS="-lsec $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 6036 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:6055: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:6058: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:6061: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:6064: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_sec_getprpwnam=yes |
ac_cv_lib_sec_getprpwnam=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_sec_getprpwnam=no |
ac_cv_lib_sec_getprpwnam=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:6075: result: $ac_cv_lib_sec_getprpwnam" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_sec_getprpwnam" >&5 |
echo "${ECHO_T}$ac_cv_lib_sec_getprpwnam" >&6 |
echo "${ECHO_T}$ac_cv_lib_sec_getprpwnam" >&6 |
if test $ac_cv_lib_sec_getprpwnam = yes; then |
if test $ac_cv_lib_sec_getprpwnam = yes; then |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_GETPRPWNAM 1 |
#define HAVE_GETPRPWNAM 1 |
EOF |
_ACEOF |
CHECKSHADOW="false"; SECUREWARE=1; SUDO_LIBS="${SUDO_LIBS} -lsec"; LIBS="${LIBS} -lsec" |
CHECKSHADOW="false"; SECUREWARE=1; SUDO_LIBS="${SUDO_LIBS} -lsec"; LIBS="${LIBS} -lsec" |
else |
else |
echo "$as_me:6083: checking for getprpwnam in -lsecurity" >&5 |
echo "$as_me:$LINENO: checking for getprpwnam in -lsecurity" >&5 |
echo $ECHO_N "checking for getprpwnam in -lsecurity... $ECHO_C" >&6 |
echo $ECHO_N "checking for getprpwnam in -lsecurity... $ECHO_C" >&6 |
if test "${ac_cv_lib_security_getprpwnam+set}" = set; then |
if test "${ac_cv_lib_security_getprpwnam+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lsecurity $LIBS" |
LIBS="-lsecurity $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 6091 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:6110: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:6113: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:6116: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:6119: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_security_getprpwnam=yes |
ac_cv_lib_security_getprpwnam=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_security_getprpwnam=no |
ac_cv_lib_security_getprpwnam=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:6130: result: $ac_cv_lib_security_getprpwnam" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_security_getprpwnam" >&5 |
echo "${ECHO_T}$ac_cv_lib_security_getprpwnam" >&6 |
echo "${ECHO_T}$ac_cv_lib_security_getprpwnam" >&6 |
if test $ac_cv_lib_security_getprpwnam = yes; then |
if test $ac_cv_lib_security_getprpwnam = yes; then |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_GETPRPWNAM 1 |
#define HAVE_GETPRPWNAM 1 |
EOF |
_ACEOF |
CHECKSHADOW="false"; SECUREWARE=1; SUDO_LIBS="${SUDO_LIBS} -lsecurity"; LIBS="${LIBS} -lsecurity" |
CHECKSHADOW="false"; SECUREWARE=1; SUDO_LIBS="${SUDO_LIBS} -lsecurity"; LIBS="${LIBS} -lsecurity" |
else |
else |
echo "$as_me:6138: checking for getprpwnam in -lprot" >&5 |
echo "$as_me:$LINENO: checking for getprpwnam in -lprot" >&5 |
echo $ECHO_N "checking for getprpwnam in -lprot... $ECHO_C" >&6 |
echo $ECHO_N "checking for getprpwnam in -lprot... $ECHO_C" >&6 |
if test "${ac_cv_lib_prot_getprpwnam+set}" = set; then |
if test "${ac_cv_lib_prot_getprpwnam+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lprot $LIBS" |
LIBS="-lprot $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 6146 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:6165: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:6168: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:6171: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:6174: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_prot_getprpwnam=yes |
ac_cv_lib_prot_getprpwnam=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_prot_getprpwnam=no |
ac_cv_lib_prot_getprpwnam=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:6185: result: $ac_cv_lib_prot_getprpwnam" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_prot_getprpwnam" >&5 |
echo "${ECHO_T}$ac_cv_lib_prot_getprpwnam" >&6 |
echo "${ECHO_T}$ac_cv_lib_prot_getprpwnam" >&6 |
if test $ac_cv_lib_prot_getprpwnam = yes; then |
if test $ac_cv_lib_prot_getprpwnam = yes; then |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_GETPRPWNAM 1 |
#define HAVE_GETPRPWNAM 1 |
EOF |
_ACEOF |
CHECKSHADOW="false"; SECUREWARE=1; SUDO_LIBS="${SUDO_LIBS} -lprot"; LIBS="${LIBS} -lprot" |
CHECKSHADOW="false"; SECUREWARE=1; SUDO_LIBS="${SUDO_LIBS} -lprot"; LIBS="${LIBS} -lprot" |
fi |
fi |
|
|
|
|
|
|
fi |
fi |
|
|
|
|
|
echo "$as_me:$LINENO: checking for egrep" >&5 |
|
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
|
if test "${ac_cv_prog_egrep+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
|
then ac_cv_prog_egrep='grep -E' |
|
else ac_cv_prog_egrep='egrep' |
|
fi |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
|
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
|
EGREP=$ac_cv_prog_egrep |
|
|
|
|
if test $ac_cv_c_compiler_gnu = yes; then |
if test $ac_cv_c_compiler_gnu = yes; then |
echo "$as_me:6203: checking whether $CC needs -traditional" >&5 |
echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 |
echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 |
echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 |
if test "${ac_cv_prog_gcc_traditional+set}" = set; then |
if test "${ac_cv_prog_gcc_traditional+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
ac_pattern="Autoconf.*'x'" |
ac_pattern="Autoconf.*'x'" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 6210 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <sgtty.h> |
#include <sgtty.h> |
Autoconf TIOCGETP |
Autoconf TIOCGETP |
_ACEOF |
_ACEOF |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
egrep "$ac_pattern" >/dev/null 2>&1; then |
$EGREP "$ac_pattern" >/dev/null 2>&1; then |
ac_cv_prog_gcc_traditional=yes |
ac_cv_prog_gcc_traditional=yes |
else |
else |
ac_cv_prog_gcc_traditional=no |
ac_cv_prog_gcc_traditional=no |
fi |
fi |
rm -f conftest* |
rm -f conftest* |
|
|
|
|
if test $ac_cv_prog_gcc_traditional = no; then |
if test $ac_cv_prog_gcc_traditional = no; then |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 6225 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <termio.h> |
#include <termio.h> |
Autoconf TCGETA |
Autoconf TCGETA |
_ACEOF |
_ACEOF |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
egrep "$ac_pattern" >/dev/null 2>&1; then |
$EGREP "$ac_pattern" >/dev/null 2>&1; then |
ac_cv_prog_gcc_traditional=yes |
ac_cv_prog_gcc_traditional=yes |
fi |
fi |
rm -f conftest* |
rm -f conftest* |
|
|
fi |
fi |
fi |
fi |
echo "$as_me:6238: result: $ac_cv_prog_gcc_traditional" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 |
echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 |
echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 |
if test $ac_cv_prog_gcc_traditional = yes; then |
if test $ac_cv_prog_gcc_traditional = yes; then |
CC="$CC -traditional" |
CC="$CC -traditional" |
fi |
fi |
fi |
fi |
|
|
echo "$as_me:6245: checking for an ANSI C-conforming const" >&5 |
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
if test "${ac_cv_c_const+set}" = set; then |
if test "${ac_cv_c_const+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 6251 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
int |
int |
main () |
main () |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:6309: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:6312: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -s conftest.$ac_objext' |
{ (eval echo "$as_me:6315: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:6318: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_c_const=yes |
ac_cv_c_const=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_c_const=no |
ac_cv_c_const=no |
fi |
fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
echo "$as_me:6328: result: $ac_cv_c_const" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
echo "${ECHO_T}$ac_cv_c_const" >&6 |
echo "${ECHO_T}$ac_cv_c_const" >&6 |
if test $ac_cv_c_const = no; then |
if test $ac_cv_c_const = no; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define const |
#define const |
EOF |
_ACEOF |
|
|
fi |
fi |
|
|
echo "$as_me:6338: checking for working volatile" >&5 |
echo "$as_me:$LINENO: checking for working volatile" >&5 |
echo $ECHO_N "checking for working volatile... $ECHO_C" >&6 |
echo $ECHO_N "checking for working volatile... $ECHO_C" >&6 |
if test "${ac_cv_c_volatile+set}" = set; then |
if test "${ac_cv_c_volatile+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 6344 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
int |
int |
main () |
main () |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:6358: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:6361: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -s conftest.$ac_objext' |
{ (eval echo "$as_me:6364: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:6367: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_c_volatile=yes |
ac_cv_c_volatile=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_c_volatile=no |
ac_cv_c_volatile=no |
fi |
fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
echo "$as_me:6377: result: $ac_cv_c_volatile" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 |
echo "${ECHO_T}$ac_cv_c_volatile" >&6 |
echo "${ECHO_T}$ac_cv_c_volatile" >&6 |
if test $ac_cv_c_volatile = no; then |
if test $ac_cv_c_volatile = no; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define volatile |
#define volatile |
EOF |
_ACEOF |
|
|
fi |
fi |
|
|
|
|
do |
do |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
set dummy $ac_prog; ac_word=$2 |
set dummy $ac_prog; ac_word=$2 |
echo "$as_me:6391: checking for $ac_word" >&5 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
if test "${ac_cv_prog_YACC+set}" = set; then |
if test "${ac_cv_prog_YACC+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
if test -n "$YACC"; then |
if test -n "$YACC"; then |
ac_cv_prog_YACC="$YACC" # Let the user override the test. |
ac_cv_prog_YACC="$YACC" # Let the user override the test. |
else |
else |
ac_save_IFS=$IFS; IFS=$ac_path_separator |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
ac_dummy="$PATH" |
for as_dir in $PATH |
for ac_dir in $ac_dummy; do |
do |
IFS=$ac_save_IFS |
IFS=$as_save_IFS |
test -z "$ac_dir" && ac_dir=. |
test -z "$as_dir" && as_dir=. |
$as_executable_p "$ac_dir/$ac_word" || continue |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_cv_prog_YACC="$ac_prog" |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
echo "$as_me:6406: found $ac_dir/$ac_word" >&5 |
ac_cv_prog_YACC="$ac_prog" |
break |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
done |
done |
|
done |
|
|
fi |
fi |
fi |
fi |
YACC=$ac_cv_prog_YACC |
YACC=$ac_cv_prog_YACC |
if test -n "$YACC"; then |
if test -n "$YACC"; then |
echo "$as_me:6414: result: $YACC" >&5 |
echo "$as_me:$LINENO: result: $YACC" >&5 |
echo "${ECHO_T}$YACC" >&6 |
echo "${ECHO_T}$YACC" >&6 |
else |
else |
echo "$as_me:6417: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi |
fi |
|
|
|
|
done |
done |
test -n "$YACC" || YACC="yacc" |
test -n "$YACC" || YACC="yacc" |
|
|
echo "$as_me:6425: checking for mv" >&5 |
echo "$as_me:$LINENO: checking for mv" >&5 |
echo $ECHO_N "checking for mv... $ECHO_C" >&6 |
echo $ECHO_N "checking for mv... $ECHO_C" >&6 |
if test -f "/usr/bin/mv"; then |
if test -f "/usr/bin/mv"; then |
echo "$as_me:6428: result: /usr/bin/mv" >&5 |
echo "$as_me:$LINENO: result: /usr/bin/mv" >&5 |
echo "${ECHO_T}/usr/bin/mv" >&6 |
echo "${ECHO_T}/usr/bin/mv" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_MV "/usr/bin/mv" |
#define _PATH_MV "/usr/bin/mv" |
EOF |
EOF |
|
|
elif test -f "/bin/mv"; then |
elif test -f "/bin/mv"; then |
echo "$as_me:6435: result: /bin/mv" >&5 |
echo "$as_me:$LINENO: result: /bin/mv" >&5 |
echo "${ECHO_T}/bin/mv" >&6 |
echo "${ECHO_T}/bin/mv" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_MV "/bin/mv" |
#define _PATH_MV "/bin/mv" |
EOF |
EOF |
|
|
elif test -f "/usr/ucb/mv"; then |
elif test -f "/usr/ucb/mv"; then |
echo "$as_me:6442: result: /usr/ucb/mv" >&5 |
echo "$as_me:$LINENO: result: /usr/ucb/mv" >&5 |
echo "${ECHO_T}/usr/ucb/mv" >&6 |
echo "${ECHO_T}/usr/ucb/mv" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_MV "/usr/ucb/mv" |
#define _PATH_MV "/usr/ucb/mv" |
EOF |
EOF |
|
|
elif test -f "/usr/sbin/mv"; then |
elif test -f "/usr/sbin/mv"; then |
echo "$as_me:6449: result: /usr/sbin/mv" >&5 |
echo "$as_me:$LINENO: result: /usr/sbin/mv" >&5 |
echo "${ECHO_T}/usr/sbin/mv" >&6 |
echo "${ECHO_T}/usr/sbin/mv" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_MV "/usr/sbin/mv" |
#define _PATH_MV "/usr/sbin/mv" |
EOF |
EOF |
|
|
else |
else |
echo "$as_me:6456: result: not found" >&5 |
echo "$as_me:$LINENO: result: not found" >&5 |
echo "${ECHO_T}not found" >&6 |
echo "${ECHO_T}not found" >&6 |
fi |
fi |
|
|
echo "$as_me:6460: checking for bourne shell" >&5 |
echo "$as_me:$LINENO: checking for bourne shell" >&5 |
echo $ECHO_N "checking for bourne shell... $ECHO_C" >&6 |
echo $ECHO_N "checking for bourne shell... $ECHO_C" >&6 |
if test -f "/bin/sh"; then |
if test -f "/bin/sh"; then |
echo "$as_me:6463: result: /bin/sh" >&5 |
echo "$as_me:$LINENO: result: /bin/sh" >&5 |
echo "${ECHO_T}/bin/sh" >&6 |
echo "${ECHO_T}/bin/sh" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_BSHELL "/bin/sh" |
#define _PATH_BSHELL "/bin/sh" |
EOF |
EOF |
|
|
elif test -f "/usr/bin/sh"; then |
elif test -f "/usr/bin/sh"; then |
echo "$as_me:6470: result: /usr/bin/sh" >&5 |
echo "$as_me:$LINENO: result: /usr/bin/sh" >&5 |
echo "${ECHO_T}/usr/bin/sh" >&6 |
echo "${ECHO_T}/usr/bin/sh" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_BSHELL "/usr/bin/sh" |
#define _PATH_BSHELL "/usr/bin/sh" |
EOF |
EOF |
|
|
elif test -f "/sbin/sh"; then |
elif test -f "/sbin/sh"; then |
echo "$as_me:6477: result: /sbin/sh" >&5 |
echo "$as_me:$LINENO: result: /sbin/sh" >&5 |
echo "${ECHO_T}/sbin/sh" >&6 |
echo "${ECHO_T}/sbin/sh" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_BSHELL "/sbin/sh" |
#define _PATH_BSHELL "/sbin/sh" |
EOF |
EOF |
|
|
elif test -f "/usr/sbin/sh"; then |
elif test -f "/usr/sbin/sh"; then |
echo "$as_me:6484: result: /usr/sbin/sh" >&5 |
echo "$as_me:$LINENO: result: /usr/sbin/sh" >&5 |
echo "${ECHO_T}/usr/sbin/sh" >&6 |
echo "${ECHO_T}/usr/sbin/sh" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_BSHELL "/usr/sbin/sh" |
#define _PATH_BSHELL "/usr/sbin/sh" |
EOF |
EOF |
|
|
elif test -f "/bin/ksh"; then |
elif test -f "/bin/ksh"; then |
echo "$as_me:6491: result: /bin/ksh" >&5 |
echo "$as_me:$LINENO: result: /bin/ksh" >&5 |
echo "${ECHO_T}/bin/ksh" >&6 |
echo "${ECHO_T}/bin/ksh" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_BSHELL "/bin/ksh" |
#define _PATH_BSHELL "/bin/ksh" |
EOF |
EOF |
|
|
elif test -f "/usr/bin/ksh"; then |
elif test -f "/usr/bin/ksh"; then |
echo "$as_me:6498: result: /usr/bin/ksh" >&5 |
echo "$as_me:$LINENO: result: /usr/bin/ksh" >&5 |
echo "${ECHO_T}/usr/bin/ksh" >&6 |
echo "${ECHO_T}/usr/bin/ksh" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_BSHELL "/usr/bin/ksh" |
#define _PATH_BSHELL "/usr/bin/ksh" |
EOF |
EOF |
|
|
elif test -f "/bin/bash"; then |
elif test -f "/bin/bash"; then |
echo "$as_me:6505: result: /bin/bash" >&5 |
echo "$as_me:$LINENO: result: /bin/bash" >&5 |
echo "${ECHO_T}/bin/bash" >&6 |
echo "${ECHO_T}/bin/bash" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_BSHELL "/bin/bash" |
#define _PATH_BSHELL "/bin/bash" |
EOF |
EOF |
|
|
elif test -f "/usr/bin/bash"; then |
elif test -f "/usr/bin/bash"; then |
echo "$as_me:6512: result: /usr/bin/bash" >&5 |
echo "$as_me:$LINENO: result: /usr/bin/bash" >&5 |
echo "${ECHO_T}/usr/bin/bash" >&6 |
echo "${ECHO_T}/usr/bin/bash" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_BSHELL "/usr/bin/bash" |
#define _PATH_BSHELL "/usr/bin/bash" |
EOF |
EOF |
|
|
else |
else |
echo "$as_me:6519: result: not found" >&5 |
echo "$as_me:$LINENO: result: not found" >&5 |
echo "${ECHO_T}not found" >&6 |
echo "${ECHO_T}not found" >&6 |
fi |
fi |
|
|
if test -z "$with_sendmail"; then |
if test -z "$with_sendmail"; then |
echo "$as_me:6524: checking for sendmail" >&5 |
echo "$as_me:$LINENO: checking for sendmail" >&5 |
echo $ECHO_N "checking for sendmail... $ECHO_C" >&6 |
echo $ECHO_N "checking for sendmail... $ECHO_C" >&6 |
if test -f "/usr/sbin/sendmail"; then |
if test -f "/usr/sbin/sendmail"; then |
echo "$as_me:6527: result: /usr/sbin/sendmail" >&5 |
echo "$as_me:$LINENO: result: /usr/sbin/sendmail" >&5 |
echo "${ECHO_T}/usr/sbin/sendmail" >&6 |
echo "${ECHO_T}/usr/sbin/sendmail" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_SUDO_SENDMAIL "/usr/sbin/sendmail" |
#define _PATH_SUDO_SENDMAIL "/usr/sbin/sendmail" |
EOF |
EOF |
|
|
elif test -f "/usr/lib/sendmail"; then |
elif test -f "/usr/lib/sendmail"; then |
echo "$as_me:6534: result: /usr/lib/sendmail" >&5 |
echo "$as_me:$LINENO: result: /usr/lib/sendmail" >&5 |
echo "${ECHO_T}/usr/lib/sendmail" >&6 |
echo "${ECHO_T}/usr/lib/sendmail" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_SUDO_SENDMAIL "/usr/lib/sendmail" |
#define _PATH_SUDO_SENDMAIL "/usr/lib/sendmail" |
EOF |
EOF |
|
|
elif test -f "/usr/etc/sendmail"; then |
elif test -f "/usr/etc/sendmail"; then |
echo "$as_me:6541: result: /usr/etc/sendmail" >&5 |
echo "$as_me:$LINENO: result: /usr/etc/sendmail" >&5 |
echo "${ECHO_T}/usr/etc/sendmail" >&6 |
echo "${ECHO_T}/usr/etc/sendmail" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_SUDO_SENDMAIL "/usr/etc/sendmail" |
#define _PATH_SUDO_SENDMAIL "/usr/etc/sendmail" |
EOF |
EOF |
|
|
elif test -f "/usr/ucblib/sendmail"; then |
elif test -f "/usr/ucblib/sendmail"; then |
echo "$as_me:6548: result: /usr/ucblib/sendmail" >&5 |
echo "$as_me:$LINENO: result: /usr/ucblib/sendmail" >&5 |
echo "${ECHO_T}/usr/ucblib/sendmail" >&6 |
echo "${ECHO_T}/usr/ucblib/sendmail" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_SUDO_SENDMAIL "/usr/ucblib/sendmail" |
#define _PATH_SUDO_SENDMAIL "/usr/ucblib/sendmail" |
EOF |
EOF |
|
|
elif test -f "/usr/local/lib/sendmail"; then |
elif test -f "/usr/local/lib/sendmail"; then |
echo "$as_me:6555: result: /usr/local/lib/sendmail" >&5 |
echo "$as_me:$LINENO: result: /usr/local/lib/sendmail" >&5 |
echo "${ECHO_T}/usr/local/lib/sendmail" >&6 |
echo "${ECHO_T}/usr/local/lib/sendmail" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_SUDO_SENDMAIL "/usr/local/lib/sendmail" |
#define _PATH_SUDO_SENDMAIL "/usr/local/lib/sendmail" |
EOF |
EOF |
|
|
elif test -f "/usr/local/bin/sendmail"; then |
elif test -f "/usr/local/bin/sendmail"; then |
echo "$as_me:6562: result: /usr/local/bin/sendmail" >&5 |
echo "$as_me:$LINENO: result: /usr/local/bin/sendmail" >&5 |
echo "${ECHO_T}/usr/local/bin/sendmail" >&6 |
echo "${ECHO_T}/usr/local/bin/sendmail" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_SUDO_SENDMAIL "/usr/local/bin/sendmail" |
#define _PATH_SUDO_SENDMAIL "/usr/local/bin/sendmail" |
EOF |
EOF |
|
|
else |
else |
echo "$as_me:6569: result: not found" >&5 |
echo "$as_me:$LINENO: result: not found" >&5 |
echo "${ECHO_T}not found" >&6 |
echo "${ECHO_T}not found" >&6 |
fi |
fi |
|
|
fi |
fi |
if test -z "$with_editor"; then |
if test -z "$with_editor"; then |
echo "$as_me:6575: checking for vi" >&5 |
echo "$as_me:$LINENO: checking for vi" >&5 |
echo $ECHO_N "checking for vi... $ECHO_C" >&6 |
echo $ECHO_N "checking for vi... $ECHO_C" >&6 |
if test -f "/usr/bin/vi"; then |
if test -f "/usr/bin/vi"; then |
echo "$as_me:6578: result: /usr/bin/vi" >&5 |
echo "$as_me:$LINENO: result: /usr/bin/vi" >&5 |
echo "${ECHO_T}/usr/bin/vi" >&6 |
echo "${ECHO_T}/usr/bin/vi" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_VI "/usr/bin/vi" |
#define _PATH_VI "/usr/bin/vi" |
EOF |
EOF |
|
|
elif test -f "/usr/ucb/vi"; then |
elif test -f "/usr/ucb/vi"; then |
echo "$as_me:6585: result: /usr/ucb/vi" >&5 |
echo "$as_me:$LINENO: result: /usr/ucb/vi" >&5 |
echo "${ECHO_T}/usr/ucb/vi" >&6 |
echo "${ECHO_T}/usr/ucb/vi" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_VI "/usr/ucb/vi" |
#define _PATH_VI "/usr/ucb/vi" |
EOF |
EOF |
|
|
elif test -f "/usr/bsd/vi"; then |
elif test -f "/usr/bsd/vi"; then |
echo "$as_me:6592: result: /usr/bsd/vi" >&5 |
echo "$as_me:$LINENO: result: /usr/bsd/vi" >&5 |
echo "${ECHO_T}/usr/bsd/vi" >&6 |
echo "${ECHO_T}/usr/bsd/vi" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_VI "/usr/bsd/vi" |
#define _PATH_VI "/usr/bsd/vi" |
EOF |
EOF |
|
|
elif test -f "/bin/vi"; then |
elif test -f "/bin/vi"; then |
echo "$as_me:6599: result: /bin/vi" >&5 |
echo "$as_me:$LINENO: result: /bin/vi" >&5 |
echo "${ECHO_T}/bin/vi" >&6 |
echo "${ECHO_T}/bin/vi" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_VI "/bin/vi" |
#define _PATH_VI "/bin/vi" |
EOF |
EOF |
|
|
elif test -f "/usr/local/bin/vi"; then |
elif test -f "/usr/local/bin/vi"; then |
echo "$as_me:6606: result: /usr/local/bin/vi" >&5 |
echo "$as_me:$LINENO: result: /usr/local/bin/vi" >&5 |
echo "${ECHO_T}/usr/local/bin/vi" >&6 |
echo "${ECHO_T}/usr/local/bin/vi" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_VI "/usr/local/bin/vi" |
#define _PATH_VI "/usr/local/bin/vi" |
EOF |
EOF |
|
|
else |
else |
echo "$as_me:6613: result: not found" >&5 |
echo "$as_me:$LINENO: result: not found" >&5 |
echo "${ECHO_T}not found" >&6 |
echo "${ECHO_T}not found" >&6 |
fi |
fi |
|
|
fi |
fi |
echo "$as_me:6618: checking for ANSI C header files" >&5 |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
if test "${ac_cv_header_stdc+set}" = set; then |
if test "${ac_cv_header_stdc+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 6624 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <stdlib.h> |
#include <stdlib.h> |
#include <stdarg.h> |
#include <stdarg.h> |
#include <string.h> |
#include <string.h> |
#include <float.h> |
#include <float.h> |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:6632: \"$ac_cpp conftest.$ac_ext\"") >&5 |
rm -f conftest.$ac_objext |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
(eval $ac_compile) 2>&5 |
ac_status=$? |
ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
rm -f conftest.er1 |
(exit $ac_status); } && |
cat conftest.err >&5 |
{ ac_try='test -s conftest.$ac_objext' |
echo "$as_me:6638: \$? = $ac_status" >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(exit $ac_status); } >/dev/null; then |
(eval $ac_try) 2>&5 |
if test -s conftest.err; then |
ac_status=$? |
ac_cpp_err=$ac_c_preproc_warn_flag |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
else |
(exit $ac_status); }; }; then |
ac_cpp_err= |
|
fi |
|
else |
|
ac_cpp_err=yes |
|
fi |
|
if test -z "$ac_cpp_err"; then |
|
ac_cv_header_stdc=yes |
ac_cv_header_stdc=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
ac_cv_header_stdc=no |
|
|
ac_cv_header_stdc=no |
fi |
fi |
rm -f conftest.err conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
|
|
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 6660 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <string.h> |
#include <string.h> |
|
|
_ACEOF |
_ACEOF |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
egrep "memchr" >/dev/null 2>&1; then |
$EGREP "memchr" >/dev/null 2>&1; then |
: |
: |
else |
else |
ac_cv_header_stdc=no |
ac_cv_header_stdc=no |
|
|
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 6678 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <stdlib.h> |
#include <stdlib.h> |
|
|
_ACEOF |
_ACEOF |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
egrep "free" >/dev/null 2>&1; then |
$EGREP "free" >/dev/null 2>&1; then |
: |
: |
else |
else |
ac_cv_header_stdc=no |
ac_cv_header_stdc=no |
|
|
: |
: |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 6699 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <ctype.h> |
#include <ctype.h> |
#if ((' ' & 0x0FF) == 0x020) |
#if ((' ' & 0x0FF) == 0x020) |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
#else |
#else |
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ |
# define ISLOWER(c) \ |
|
(('a' <= (c) && (c) <= 'i') \ |
|| ('j' <= (c) && (c) <= 'r') \ |
|| ('j' <= (c) && (c) <= 'r') \ |
|| ('s' <= (c) && (c) <= 'z')) |
|| ('s' <= (c) && (c) <= 'z')) |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest$ac_exeext |
rm -f conftest$ac_exeext |
if { (eval echo "$as_me:6725: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:6728: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
{ (eval echo "$as_me:6730: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:6733: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
: |
: |
else |
else |
echo "$as_me: program exited with status $ac_status" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
( exit $ac_status ) |
ac_cv_header_stdc=no |
ac_cv_header_stdc=no |
fi |
fi |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
fi |
fi |
fi |
fi |
echo "$as_me:6746: result: $ac_cv_header_stdc" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define STDC_HEADERS 1 |
#define STDC_HEADERS 1 |
EOF |
_ACEOF |
|
|
fi |
fi |
|
|
|
|
|
|
|
|
|
|
|
|
ac_header_dirent=no |
ac_header_dirent=no |
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do |
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do |
as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` |
as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` |
echo "$as_me:6759: checking for $ac_hdr that defines DIR" >&5 |
echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 |
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 6765 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <sys/types.h> |
#include <sys/types.h> |
#include <$ac_hdr> |
#include <$ac_hdr> |
|
|
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:6780: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:6783: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -s conftest.$ac_objext' |
{ (eval echo "$as_me:6786: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:6789: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
eval "$as_ac_Header=yes" |
eval "$as_ac_Header=yes" |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
eval "$as_ac_Header=no" |
eval "$as_ac_Header=no" |
fi |
fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
echo "$as_me:6799: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 |
EOF |
_ACEOF |
|
|
ac_header_dirent=$ac_hdr; break |
ac_header_dirent=$ac_hdr; break |
fi |
fi |
|
|
done |
done |
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
if test $ac_header_dirent = dirent.h; then |
if test $ac_header_dirent = dirent.h; then |
echo "$as_me:6812: checking for opendir in -ldir" >&5 |
echo "$as_me:$LINENO: checking for library containing opendir" >&5 |
echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6 |
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 |
if test "${ac_cv_lib_dir_opendir+set}" = set; then |
if test "${ac_cv_search_opendir+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS |
ac_func_search_save_LIBS=$LIBS |
LIBS="-ldir $LIBS" |
ac_cv_search_opendir=no |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 6820 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:6839: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:6842: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:6845: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:6848: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_dir_opendir=yes |
ac_cv_search_opendir="none required" |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
ac_cv_lib_dir_opendir=no |
|
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
if test "$ac_cv_search_opendir" = no; then |
|
for ac_lib in dir; do |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char opendir (); |
|
int |
|
main () |
|
{ |
|
opendir (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
(eval $ac_link) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; }; then |
|
ac_cv_search_opendir="-l$ac_lib" |
|
break |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
fi |
fi |
echo "$as_me:6859: result: $ac_cv_lib_dir_opendir" >&5 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
echo "${ECHO_T}$ac_cv_lib_dir_opendir" >&6 |
done |
if test $ac_cv_lib_dir_opendir = yes; then |
|
LIBS="$LIBS -ldir" |
|
fi |
fi |
|
LIBS=$ac_func_search_save_LIBS |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 |
|
echo "${ECHO_T}$ac_cv_search_opendir" >&6 |
|
if test "$ac_cv_search_opendir" != no; then |
|
test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" |
|
|
|
fi |
|
|
else |
else |
echo "$as_me:6866: checking for opendir in -lx" >&5 |
echo "$as_me:$LINENO: checking for library containing opendir" >&5 |
echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6 |
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 |
if test "${ac_cv_lib_x_opendir+set}" = set; then |
if test "${ac_cv_search_opendir+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS |
ac_func_search_save_LIBS=$LIBS |
LIBS="-lx $LIBS" |
ac_cv_search_opendir=no |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 6874 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:6893: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:6896: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:6899: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:6902: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_x_opendir=yes |
ac_cv_search_opendir="none required" |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
ac_cv_lib_x_opendir=no |
|
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
if test "$ac_cv_search_opendir" = no; then |
|
for ac_lib in x; do |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char opendir (); |
|
int |
|
main () |
|
{ |
|
opendir (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
(eval $ac_link) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; }; then |
|
ac_cv_search_opendir="-l$ac_lib" |
|
break |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
fi |
fi |
echo "$as_me:6913: result: $ac_cv_lib_x_opendir" >&5 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
echo "${ECHO_T}$ac_cv_lib_x_opendir" >&6 |
done |
if test $ac_cv_lib_x_opendir = yes; then |
|
LIBS="$LIBS -lx" |
|
fi |
fi |
|
LIBS=$ac_func_search_save_LIBS |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 |
|
echo "${ECHO_T}$ac_cv_search_opendir" >&6 |
|
if test "$ac_cv_search_opendir" != no; then |
|
test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" |
|
|
fi |
fi |
|
|
for ac_header in malloc.h paths.h utime.h netgroup.h sys/sockio.h sys/bsdtypes.h sys/select.h |
fi |
|
|
|
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
inttypes.h stdint.h unistd.h |
do |
do |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
echo "$as_me:6924: checking for $ac_header" >&5 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 6930 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
$ac_includes_default |
|
|
#include <$ac_header> |
#include <$ac_header> |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:6934: \"$ac_cpp conftest.$ac_ext\"") >&5 |
rm -f conftest.$ac_objext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
(eval $ac_compile) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && |
|
{ ac_try='test -s conftest.$ac_objext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; }; then |
|
eval "$as_ac_Header=yes" |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
eval "$as_ac_Header=no" |
|
fi |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
|
fi |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
cat >>confdefs.h <<_ACEOF |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
_ACEOF |
|
|
|
fi |
|
|
|
done |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for ac_header in malloc.h paths.h utime.h netgroup.h sys/sockio.h sys/bsdtypes.h sys/select.h |
|
do |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
fi |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
else |
|
# Is the header compilable? |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
$ac_includes_default |
|
#include <$ac_header> |
|
_ACEOF |
|
rm -f conftest.$ac_objext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
(eval $ac_compile) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && |
|
{ ac_try='test -s conftest.$ac_objext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; }; then |
|
ac_header_compiler=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_header_compiler=no |
|
fi |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
|
# Is the header present? |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#include <$ac_header> |
|
_ACEOF |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 |
rm -f conftest.er1 |
cat conftest.err >&5 |
cat conftest.err >&5 |
echo "$as_me:6940: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
if test -s conftest.err; then |
if test -s conftest.err; then |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
ac_cpp_err=yes |
ac_cpp_err=yes |
fi |
fi |
if test -z "$ac_cpp_err"; then |
if test -z "$ac_cpp_err"; then |
eval "$as_ac_Header=yes" |
ac_header_preproc=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
eval "$as_ac_Header=no" |
|
|
ac_header_preproc=no |
fi |
fi |
rm -f conftest.err conftest.$ac_ext |
rm -f conftest.err conftest.$ac_ext |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
|
# So? What about this header? |
|
case $ac_header_compiler:$ac_header_preproc in |
|
yes:no ) |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
( |
|
cat <<\_ASBOX |
|
## ------------------------------------ ## |
|
## Report this to bug-autoconf@gnu.org. ## |
|
## ------------------------------------ ## |
|
_ASBOX |
|
) | |
|
sed "s/^/$as_me: WARNING: /" >&2 |
|
;; |
|
no:yes ) |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
( |
|
cat <<\_ASBOX |
|
## ------------------------------------ ## |
|
## Report this to bug-autoconf@gnu.org. ## |
|
## ------------------------------------ ## |
|
_ASBOX |
|
) | |
|
sed "s/^/$as_me: WARNING: /" >&2 |
|
;; |
|
esac |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
eval "$as_ac_Header=$ac_header_preproc" |
fi |
fi |
echo "$as_me:6959: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
|
fi |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
EOF |
_ACEOF |
|
|
fi |
fi |
|
|
done |
done |
|
|
if test "$OS" != "ultrix"; then |
if test "$OS" != "ultrix"; then |
echo "$as_me:6970: checking POSIX termios" >&5 |
echo "$as_me:$LINENO: checking POSIX termios" >&5 |
echo $ECHO_N "checking POSIX termios... $ECHO_C" >&6 |
echo $ECHO_N "checking POSIX termios... $ECHO_C" >&6 |
if test "${ac_cv_sys_posix_termios+set}" = set; then |
if test "${ac_cv_sys_posix_termios+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 6976 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <sys/types.h> |
#include <sys/types.h> |
#include <unistd.h> |
#include <unistd.h> |
#include <termios.h> |
#include <termios.h> |
|
|
int |
int |
main () |
main () |
{ |
{ |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:6991: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:6994: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:6997: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:7000: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_sys_posix_termios=yes |
ac_cv_sys_posix_termios=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_sys_posix_termios=no |
ac_cv_sys_posix_termios=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:7010: result: $ac_cv_sys_posix_termios" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_sys_posix_termios" >&5 |
echo "${ECHO_T}$ac_cv_sys_posix_termios" >&6 |
echo "${ECHO_T}$ac_cv_sys_posix_termios" >&6 |
|
|
if test "$ac_cv_sys_posix_termios" = "yes"; then |
if test "$ac_cv_sys_posix_termios" = "yes"; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_TERMIOS_H 1 |
#define HAVE_TERMIOS_H 1 |
EOF |
_ACEOF |
|
|
else |
else |
|
|
for ac_header in termio.h |
for ac_header in termio.h |
do |
do |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
echo "$as_me:7024: checking for $ac_header" >&5 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
fi |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
# Is the header compilable? |
#line 7030 "configure" |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
#include "confdefs.h" |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
$ac_includes_default |
#include <$ac_header> |
#include <$ac_header> |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:7034: \"$ac_cpp conftest.$ac_ext\"") >&5 |
rm -f conftest.$ac_objext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
(eval $ac_compile) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && |
|
{ ac_try='test -s conftest.$ac_objext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; }; then |
|
ac_header_compiler=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_header_compiler=no |
|
fi |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
|
# Is the header present? |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#include <$ac_header> |
|
_ACEOF |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 |
rm -f conftest.er1 |
cat conftest.err >&5 |
cat conftest.err >&5 |
echo "$as_me:7040: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
if test -s conftest.err; then |
if test -s conftest.err; then |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
ac_cpp_err=yes |
ac_cpp_err=yes |
fi |
fi |
if test -z "$ac_cpp_err"; then |
if test -z "$ac_cpp_err"; then |
eval "$as_ac_Header=yes" |
ac_header_preproc=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
eval "$as_ac_Header=no" |
|
|
ac_header_preproc=no |
fi |
fi |
rm -f conftest.err conftest.$ac_ext |
rm -f conftest.err conftest.$ac_ext |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
|
# So? What about this header? |
|
case $ac_header_compiler:$ac_header_preproc in |
|
yes:no ) |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
( |
|
cat <<\_ASBOX |
|
## ------------------------------------ ## |
|
## Report this to bug-autoconf@gnu.org. ## |
|
## ------------------------------------ ## |
|
_ASBOX |
|
) | |
|
sed "s/^/$as_me: WARNING: /" >&2 |
|
;; |
|
no:yes ) |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
( |
|
cat <<\_ASBOX |
|
## ------------------------------------ ## |
|
## Report this to bug-autoconf@gnu.org. ## |
|
## ------------------------------------ ## |
|
_ASBOX |
|
) | |
|
sed "s/^/$as_me: WARNING: /" >&2 |
|
;; |
|
esac |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
eval "$as_ac_Header=$ac_header_preproc" |
fi |
fi |
echo "$as_me:7059: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
|
fi |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
EOF |
_ACEOF |
|
|
fi |
fi |
|
|
done |
done |
|
|
fi |
fi |
|
|
for ac_header in login_cap.h |
for ac_header in login_cap.h |
do |
do |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
echo "$as_me:7076: checking for $ac_header" >&5 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
fi |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
# Is the header compilable? |
#line 7082 "configure" |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
#include "confdefs.h" |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
$ac_includes_default |
#include <$ac_header> |
#include <$ac_header> |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:7086: \"$ac_cpp conftest.$ac_ext\"") >&5 |
rm -f conftest.$ac_objext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
(eval $ac_compile) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && |
|
{ ac_try='test -s conftest.$ac_objext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; }; then |
|
ac_header_compiler=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_header_compiler=no |
|
fi |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
|
# Is the header present? |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#include <$ac_header> |
|
_ACEOF |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 |
rm -f conftest.er1 |
cat conftest.err >&5 |
cat conftest.err >&5 |
echo "$as_me:7092: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
if test -s conftest.err; then |
if test -s conftest.err; then |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
ac_cpp_err=yes |
ac_cpp_err=yes |
fi |
fi |
if test -z "$ac_cpp_err"; then |
if test -z "$ac_cpp_err"; then |
eval "$as_ac_Header=yes" |
ac_header_preproc=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
eval "$as_ac_Header=no" |
|
|
ac_header_preproc=no |
fi |
fi |
rm -f conftest.err conftest.$ac_ext |
rm -f conftest.err conftest.$ac_ext |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
|
# So? What about this header? |
|
case $ac_header_compiler:$ac_header_preproc in |
|
yes:no ) |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
( |
|
cat <<\_ASBOX |
|
## ------------------------------------ ## |
|
## Report this to bug-autoconf@gnu.org. ## |
|
## ------------------------------------ ## |
|
_ASBOX |
|
) | |
|
sed "s/^/$as_me: WARNING: /" >&2 |
|
;; |
|
no:yes ) |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
( |
|
cat <<\_ASBOX |
|
## ------------------------------------ ## |
|
## Report this to bug-autoconf@gnu.org. ## |
|
## ------------------------------------ ## |
|
_ASBOX |
|
) | |
|
sed "s/^/$as_me: WARNING: /" >&2 |
|
;; |
|
esac |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
eval "$as_ac_Header=$ac_header_preproc" |
fi |
fi |
echo "$as_me:7111: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
|
fi |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
EOF |
_ACEOF |
|
|
fi |
fi |
|
|
done |
done |
|
|
fi |
fi |
if test "$with_bsdauth" = "yes"; then |
if test "$with_bsdauth" = "yes"; then |
echo "$as_me:7123: checking for bsd_auth.h" >&5 |
if test "${ac_cv_header_bsd_auth_h+set}" = set; then |
|
echo "$as_me:$LINENO: checking for bsd_auth.h" >&5 |
echo $ECHO_N "checking for bsd_auth.h... $ECHO_C" >&6 |
echo $ECHO_N "checking for bsd_auth.h... $ECHO_C" >&6 |
if test "${ac_cv_header_bsd_auth_h+set}" = set; then |
if test "${ac_cv_header_bsd_auth_h+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_header_bsd_auth_h" >&5 |
|
echo "${ECHO_T}$ac_cv_header_bsd_auth_h" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
# Is the header compilable? |
#line 7129 "configure" |
echo "$as_me:$LINENO: checking bsd_auth.h usability" >&5 |
#include "confdefs.h" |
echo $ECHO_N "checking bsd_auth.h usability... $ECHO_C" >&6 |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
$ac_includes_default |
#include <bsd_auth.h> |
#include <bsd_auth.h> |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:7133: \"$ac_cpp conftest.$ac_ext\"") >&5 |
rm -f conftest.$ac_objext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
(eval $ac_compile) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && |
|
{ ac_try='test -s conftest.$ac_objext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; }; then |
|
ac_header_compiler=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_header_compiler=no |
|
fi |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
|
# Is the header present? |
|
echo "$as_me:$LINENO: checking bsd_auth.h presence" >&5 |
|
echo $ECHO_N "checking bsd_auth.h presence... $ECHO_C" >&6 |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#include <bsd_auth.h> |
|
_ACEOF |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 |
rm -f conftest.er1 |
cat conftest.err >&5 |
cat conftest.err >&5 |
echo "$as_me:7139: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
if test -s conftest.err; then |
if test -s conftest.err; then |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
ac_cpp_err=yes |
ac_cpp_err=yes |
fi |
fi |
if test -z "$ac_cpp_err"; then |
if test -z "$ac_cpp_err"; then |
ac_cv_header_bsd_auth_h=yes |
ac_header_preproc=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
ac_cv_header_bsd_auth_h=no |
|
|
ac_header_preproc=no |
fi |
fi |
rm -f conftest.err conftest.$ac_ext |
rm -f conftest.err conftest.$ac_ext |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
|
# So? What about this header? |
|
case $ac_header_compiler:$ac_header_preproc in |
|
yes:no ) |
|
{ echo "$as_me:$LINENO: WARNING: bsd_auth.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
echo "$as_me: WARNING: bsd_auth.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: bsd_auth.h: proceeding with the preprocessor's result" >&5 |
|
echo "$as_me: WARNING: bsd_auth.h: proceeding with the preprocessor's result" >&2;} |
|
( |
|
cat <<\_ASBOX |
|
## ------------------------------------ ## |
|
## Report this to bug-autoconf@gnu.org. ## |
|
## ------------------------------------ ## |
|
_ASBOX |
|
) | |
|
sed "s/^/$as_me: WARNING: /" >&2 |
|
;; |
|
no:yes ) |
|
{ echo "$as_me:$LINENO: WARNING: bsd_auth.h: present but cannot be compiled" >&5 |
|
echo "$as_me: WARNING: bsd_auth.h: present but cannot be compiled" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: bsd_auth.h: check for missing prerequisite headers?" >&5 |
|
echo "$as_me: WARNING: bsd_auth.h: check for missing prerequisite headers?" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: bsd_auth.h: proceeding with the preprocessor's result" >&5 |
|
echo "$as_me: WARNING: bsd_auth.h: proceeding with the preprocessor's result" >&2;} |
|
( |
|
cat <<\_ASBOX |
|
## ------------------------------------ ## |
|
## Report this to bug-autoconf@gnu.org. ## |
|
## ------------------------------------ ## |
|
_ASBOX |
|
) | |
|
sed "s/^/$as_me: WARNING: /" >&2 |
|
;; |
|
esac |
|
echo "$as_me:$LINENO: checking for bsd_auth.h" >&5 |
|
echo $ECHO_N "checking for bsd_auth.h... $ECHO_C" >&6 |
|
if test "${ac_cv_header_bsd_auth_h+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_cv_header_bsd_auth_h=$ac_header_preproc |
fi |
fi |
echo "$as_me:7158: result: $ac_cv_header_bsd_auth_h" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_header_bsd_auth_h" >&5 |
echo "${ECHO_T}$ac_cv_header_bsd_auth_h" >&6 |
echo "${ECHO_T}$ac_cv_header_bsd_auth_h" >&6 |
|
|
|
fi |
if test $ac_cv_header_bsd_auth_h = yes; then |
if test $ac_cv_header_bsd_auth_h = yes; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_BSD_AUTH_H 1 |
#define HAVE_BSD_AUTH_H 1 |
EOF |
_ACEOF |
with_passwd=no; AUTH_OBJS=bsdauth.o |
with_passwd=no; AUTH_OBJS=bsdauth.o |
fi |
|
|
|
fi |
|
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
inttypes.h stdint.h unistd.h |
|
do |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
echo "$as_me:7175: checking for $ac_header" >&5 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
- |
#line 7181 "configure" |
|
#include "confdefs.h" |
|
$ac_includes_default |
|
#include <$ac_header> |
|
_ACEOF |
|
rm -f conftest.$ac_objext |
|
if { (eval echo "$as_me:7187: \"$ac_compile\"") >&5 |
|
(eval $ac_compile) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:7190: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && |
|
{ ac_try='test -s conftest.$ac_objext' |
|
{ (eval echo "$as_me:7193: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:7196: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; }; then |
|
eval "$as_ac_Header=yes" |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
cat conftest.$ac_ext >&5 |
|
eval "$as_ac_Header=no" |
|
fi |
fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
|
fi |
|
echo "$as_me:7206: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
cat >>confdefs.h <<EOF |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
EOF |
|
|
|
fi |
|
done |
|
|
|
echo "$as_me:7216: checking for mode_t" >&5 |
fi |
|
echo "$as_me:$LINENO: checking for mode_t" >&5 |
echo $ECHO_N "checking for mode_t... $ECHO_C" >&6 |
echo $ECHO_N "checking for mode_t... $ECHO_C" >&6 |
if test "${ac_cv_type_mode_t+set}" = set; then |
if test "${ac_cv_type_mode_t+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 7222 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
$ac_includes_default |
$ac_includes_default |
int |
int |
main () |
main () |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:7237: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:7240: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -s conftest.$ac_objext' |
{ (eval echo "$as_me:7243: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:7246: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_type_mode_t=yes |
ac_cv_type_mode_t=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_type_mode_t=no |
ac_cv_type_mode_t=no |
fi |
fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
echo "$as_me:7256: result: $ac_cv_type_mode_t" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5 |
echo "${ECHO_T}$ac_cv_type_mode_t" >&6 |
echo "${ECHO_T}$ac_cv_type_mode_t" >&6 |
if test $ac_cv_type_mode_t = yes; then |
if test $ac_cv_type_mode_t = yes; then |
: |
: |
else |
else |
|
|
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define mode_t int |
#define mode_t int |
EOF |
_ACEOF |
|
|
fi |
fi |
|
|
echo "$as_me:7268: checking for uid_t in sys/types.h" >&5 |
echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5 |
echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6 |
echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6 |
if test "${ac_cv_type_uid_t+set}" = set; then |
if test "${ac_cv_type_uid_t+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 7274 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <sys/types.h> |
#include <sys/types.h> |
|
|
_ACEOF |
_ACEOF |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
egrep "uid_t" >/dev/null 2>&1; then |
$EGREP "uid_t" >/dev/null 2>&1; then |
ac_cv_type_uid_t=yes |
ac_cv_type_uid_t=yes |
else |
else |
ac_cv_type_uid_t=no |
ac_cv_type_uid_t=no |
|
|
rm -f conftest* |
rm -f conftest* |
|
|
fi |
fi |
echo "$as_me:7288: result: $ac_cv_type_uid_t" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5 |
echo "${ECHO_T}$ac_cv_type_uid_t" >&6 |
echo "${ECHO_T}$ac_cv_type_uid_t" >&6 |
if test $ac_cv_type_uid_t = no; then |
if test $ac_cv_type_uid_t = no; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define uid_t int |
#define uid_t int |
EOF |
_ACEOF |
|
|
cat >>confdefs.h <<\EOF |
|
|
cat >>confdefs.h <<\_ACEOF |
#define gid_t int |
#define gid_t int |
EOF |
_ACEOF |
|
|
fi |
fi |
|
|
echo "$as_me:7302: checking for sig_atomic_t" >&5 |
echo "$as_me:$LINENO: checking for sig_atomic_t" >&5 |
echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6 |
echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6 |
if test "${ac_cv_type_sig_atomic_t+set}" = set; then |
if test "${ac_cv_type_sig_atomic_t+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 7308 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <sys/types.h> |
#include <sys/types.h> |
#include <signal.h> |
#include <signal.h> |
|
|
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:7325: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:7328: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -s conftest.$ac_objext' |
{ (eval echo "$as_me:7331: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:7334: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_type_sig_atomic_t=yes |
ac_cv_type_sig_atomic_t=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_type_sig_atomic_t=no |
ac_cv_type_sig_atomic_t=no |
fi |
fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
echo "$as_me:7344: result: $ac_cv_type_sig_atomic_t" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5 |
echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6 |
echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6 |
if test $ac_cv_type_sig_atomic_t = yes; then |
if test $ac_cv_type_sig_atomic_t = yes; then |
|
|
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_SIG_ATOMIC_T 1 |
#define HAVE_SIG_ATOMIC_T 1 |
EOF |
_ACEOF |
|
|
|
|
else |
else |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define sig_atomic_t int |
#define sig_atomic_t int |
EOF |
_ACEOF |
|
|
fi |
fi |
|
|
echo "$as_me:7360: checking for sigaction_t" >&5 |
echo "$as_me:$LINENO: checking for sigaction_t" >&5 |
echo $ECHO_N "checking for sigaction_t... $ECHO_C" >&6 |
echo $ECHO_N "checking for sigaction_t... $ECHO_C" >&6 |
if test "${ac_cv_type_sigaction_t+set}" = set; then |
if test "${ac_cv_type_sigaction_t+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 7366 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <sys/types.h> |
#include <sys/types.h> |
#include <signal.h> |
#include <signal.h> |
|
|
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:7383: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:7386: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -s conftest.$ac_objext' |
{ (eval echo "$as_me:7389: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:7392: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_type_sigaction_t=yes |
ac_cv_type_sigaction_t=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_type_sigaction_t=no |
ac_cv_type_sigaction_t=no |
fi |
fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
echo "$as_me:7402: result: $ac_cv_type_sigaction_t" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_type_sigaction_t" >&5 |
echo "${ECHO_T}$ac_cv_type_sigaction_t" >&6 |
echo "${ECHO_T}$ac_cv_type_sigaction_t" >&6 |
if test $ac_cv_type_sigaction_t = yes; then |
if test $ac_cv_type_sigaction_t = yes; then |
|
|
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_SIGACTION_T 1 |
#define HAVE_SIGACTION_T 1 |
EOF |
_ACEOF |
|
|
cat >>confdefs.h <<\EOF |
|
|
cat >>confdefs.h <<\_ACEOF |
#define HAVE_SIGACTION_T 1 |
#define HAVE_SIGACTION_T 1 |
EOF |
_ACEOF |
|
|
fi |
fi |
|
|
echo "$as_me:7416: checking for size_t" >&5 |
echo "$as_me:$LINENO: checking for size_t" >&5 |
echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
if test "${sudo_cv_type_size_t+set}" = set; then |
if test "${sudo_cv_type_size_t+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 7422 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <sys/types.h> |
#include <sys/types.h> |
#include <stdio.h> |
#include <stdio.h> |
#if STDC_HEADERS |
#if STDC_HEADERS |
|
|
#endif |
#endif |
_ACEOF |
_ACEOF |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
egrep "size_t" >/dev/null 2>&1; then |
$EGREP "size_t" >/dev/null 2>&1; then |
sudo_cv_type_size_t=yes |
sudo_cv_type_size_t=yes |
else |
else |
sudo_cv_type_size_t=no |
sudo_cv_type_size_t=no |
|
|
rm -f conftest* |
rm -f conftest* |
|
|
fi |
fi |
echo "$as_me:7442: result: $sudo_cv_type_size_t" >&5 |
echo "$as_me:$LINENO: result: $sudo_cv_type_size_t" >&5 |
echo "${ECHO_T}$sudo_cv_type_size_t" >&6 |
echo "${ECHO_T}$sudo_cv_type_size_t" >&6 |
if test $sudo_cv_type_size_t = no; then |
if test $sudo_cv_type_size_t = no; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define size_t int |
#define size_t int |
EOF |
_ACEOF |
|
|
fi |
fi |
|
|
echo "$as_me:7452: checking for ssize_t" >&5 |
echo "$as_me:$LINENO: checking for ssize_t" >&5 |
echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 |
echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 |
if test "${sudo_cv_type_ssize_t+set}" = set; then |
if test "${sudo_cv_type_ssize_t+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 7458 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <sys/types.h> |
#include <sys/types.h> |
#include <stdio.h> |
#include <stdio.h> |
#if STDC_HEADERS |
#if STDC_HEADERS |
|
|
#endif |
#endif |
_ACEOF |
_ACEOF |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
egrep "ssize_t" >/dev/null 2>&1; then |
$EGREP "ssize_t" >/dev/null 2>&1; then |
sudo_cv_type_ssize_t=yes |
sudo_cv_type_ssize_t=yes |
else |
else |
sudo_cv_type_ssize_t=no |
sudo_cv_type_ssize_t=no |
|
|
rm -f conftest* |
rm -f conftest* |
|
|
fi |
fi |
echo "$as_me:7478: result: $sudo_cv_type_ssize_t" >&5 |
echo "$as_me:$LINENO: result: $sudo_cv_type_ssize_t" >&5 |
echo "${ECHO_T}$sudo_cv_type_ssize_t" >&6 |
echo "${ECHO_T}$sudo_cv_type_ssize_t" >&6 |
if test $sudo_cv_type_ssize_t = no; then |
if test $sudo_cv_type_ssize_t = no; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define ssize_t int |
#define ssize_t int |
EOF |
_ACEOF |
|
|
fi |
fi |
|
|
echo "$as_me:7488: checking for dev_t" >&5 |
echo "$as_me:$LINENO: checking for dev_t" >&5 |
echo $ECHO_N "checking for dev_t... $ECHO_C" >&6 |
echo $ECHO_N "checking for dev_t... $ECHO_C" >&6 |
if test "${sudo_cv_type_dev_t+set}" = set; then |
if test "${sudo_cv_type_dev_t+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 7494 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <sys/types.h> |
#include <sys/types.h> |
#include <stdio.h> |
#include <stdio.h> |
#if STDC_HEADERS |
#if STDC_HEADERS |
|
|
#endif |
#endif |
_ACEOF |
_ACEOF |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
egrep "dev_t" >/dev/null 2>&1; then |
$EGREP "dev_t" >/dev/null 2>&1; then |
sudo_cv_type_dev_t=yes |
sudo_cv_type_dev_t=yes |
else |
else |
sudo_cv_type_dev_t=no |
sudo_cv_type_dev_t=no |
|
|
rm -f conftest* |
rm -f conftest* |
|
|
fi |
fi |
echo "$as_me:7514: result: $sudo_cv_type_dev_t" >&5 |
echo "$as_me:$LINENO: result: $sudo_cv_type_dev_t" >&5 |
echo "${ECHO_T}$sudo_cv_type_dev_t" >&6 |
echo "${ECHO_T}$sudo_cv_type_dev_t" >&6 |
if test $sudo_cv_type_dev_t = no; then |
if test $sudo_cv_type_dev_t = no; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define dev_t int |
#define dev_t int |
EOF |
_ACEOF |
|
|
fi |
fi |
|
|
echo "$as_me:7524: checking for ino_t" >&5 |
echo "$as_me:$LINENO: checking for ino_t" >&5 |
echo $ECHO_N "checking for ino_t... $ECHO_C" >&6 |
echo $ECHO_N "checking for ino_t... $ECHO_C" >&6 |
if test "${sudo_cv_type_ino_t+set}" = set; then |
if test "${sudo_cv_type_ino_t+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 7530 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <sys/types.h> |
#include <sys/types.h> |
#include <stdio.h> |
#include <stdio.h> |
#if STDC_HEADERS |
#if STDC_HEADERS |
|
|
#endif |
#endif |
_ACEOF |
_ACEOF |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
egrep "ino_t" >/dev/null 2>&1; then |
$EGREP "ino_t" >/dev/null 2>&1; then |
sudo_cv_type_ino_t=yes |
sudo_cv_type_ino_t=yes |
else |
else |
sudo_cv_type_ino_t=no |
sudo_cv_type_ino_t=no |
|
|
rm -f conftest* |
rm -f conftest* |
|
|
fi |
fi |
echo "$as_me:7550: result: $sudo_cv_type_ino_t" >&5 |
echo "$as_me:$LINENO: result: $sudo_cv_type_ino_t" >&5 |
echo "${ECHO_T}$sudo_cv_type_ino_t" >&6 |
echo "${ECHO_T}$sudo_cv_type_ino_t" >&6 |
if test $sudo_cv_type_ino_t = no; then |
if test $sudo_cv_type_ino_t = no; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define ino_t unsigned int |
#define ino_t unsigned int |
EOF |
_ACEOF |
|
|
fi |
fi |
|
|
echo "$as_me:7560: checking for full void implementation" >&5 |
echo "$as_me:$LINENO: checking for full void implementation" >&5 |
echo $ECHO_N "checking for full void implementation... $ECHO_C" >&6 |
echo $ECHO_N "checking for full void implementation... $ECHO_C" >&6 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 7563 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
int |
int |
main () |
main () |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:7576: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:7579: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -s conftest.$ac_objext' |
{ (eval echo "$as_me:7582: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:7585: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define VOID void |
#define VOID void |
EOF |
_ACEOF |
|
|
echo "$as_me:7592: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
cat >>confdefs.h <<\EOF |
|
|
cat >>confdefs.h <<\_ACEOF |
#define VOID char |
#define VOID char |
EOF |
_ACEOF |
|
|
echo "$as_me:7601: result: no" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi |
fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
|
|
echo "$as_me:7606: checking max length of uid_t" >&5 |
echo "$as_me:$LINENO: checking max length of uid_t" >&5 |
echo $ECHO_N "checking max length of uid_t... $ECHO_C" >&6 |
echo $ECHO_N "checking max length of uid_t... $ECHO_C" >&6 |
if test "${sudo_cv_uid_t_len+set}" = set; then |
if test "${sudo_cv_uid_t_len+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
rm -f conftestdata |
rm -f conftestdata |
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
{ { echo "$as_me:7613: error: cannot run test program while cross compiling" >&5 |
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
See \`config.log' for more details." >&5 |
|
echo "$as_me: error: cannot run test program while cross compiling |
|
See \`config.log' for more details." >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 7618 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <stdio.h> |
#include <stdio.h> |
#include <pwd.h> |
#include <pwd.h> |
#include <limits.h> |
#include <limits.h> |
|
|
if ((f = fopen("conftestdata", "w")) == NULL) |
if ((f = fopen("conftestdata", "w")) == NULL) |
exit(1); |
exit(1); |
|
|
(void) sprintf(b, "%u", u); |
(void) sprintf(b, "%lu", (unsigned long) u); |
(void) fprintf(f, "%d\n", strlen(b)); |
(void) fprintf(f, "%d\n", strlen(b)); |
(void) fclose(f); |
(void) fclose(f); |
exit(0); |
exit(0); |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest$ac_exeext |
rm -f conftest$ac_exeext |
if { (eval echo "$as_me:7640: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:7643: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
{ (eval echo "$as_me:7645: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:7648: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
sudo_cv_uid_t_len=`cat conftestdata` |
sudo_cv_uid_t_len=`cat conftestdata` |
else |
else |
echo "$as_me: program exited with status $ac_status" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
( exit $ac_status ) |
sudo_cv_uid_t_len=10 |
sudo_cv_uid_t_len=10 |
fi |
fi |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
|
|
fi |
fi |
|
|
rm -f conftestdata |
rm -f conftestdata |
echo "$as_me:7663: result: $sudo_cv_uid_t_len" >&5 |
echo "$as_me:$LINENO: result: $sudo_cv_uid_t_len" >&5 |
echo "${ECHO_T}$sudo_cv_uid_t_len" >&6 |
echo "${ECHO_T}$sudo_cv_uid_t_len" >&6 |
|
|
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define MAX_UID_T_LEN $sudo_cv_uid_t_len |
#define MAX_UID_T_LEN $sudo_cv_uid_t_len |
EOF |
_ACEOF |
|
|
echo "$as_me:7670: checking for long long support" >&5 |
|
|
echo "$as_me:$LINENO: checking for long long support" >&5 |
echo $ECHO_N "checking for long long support... $ECHO_C" >&6 |
echo $ECHO_N "checking for long long support... $ECHO_C" >&6 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 7673 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
int |
int |
main () |
main () |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:7685: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:7688: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:7691: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:7694: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_LONG_LONG 1 |
#define HAVE_LONG_LONG 1 |
EOF |
_ACEOF |
|
|
if test "$cross_compiling" = yes; then |
if test "$cross_compiling" = yes; then |
{ { echo "$as_me:7702: error: cannot run test program while cross compiling" >&5 |
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
See \`config.log' for more details." >&5 |
|
echo "$as_me: error: cannot run test program while cross compiling |
|
See \`config.log' for more details." >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 7707 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
main() {if (sizeof(long long) == sizeof(long)) exit(0); else exit(1);} |
main() {if (sizeof(long long) == sizeof(long)) exit(0); else exit(1);} |
_ACEOF |
_ACEOF |
rm -f conftest$ac_exeext |
rm -f conftest$ac_exeext |
if { (eval echo "$as_me:7712: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:7715: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
{ (eval echo "$as_me:7717: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:7720: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define LONG_IS_QUAD 1 |
#define LONG_IS_QUAD 1 |
EOF |
_ACEOF |
|
|
else |
else |
echo "$as_me: program exited with status $ac_status" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
fi |
fi |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
echo "$as_me:7734: result: yes" >&5 |
echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6 |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
echo "$as_me:7739: result: no" >&5 |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6 |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
echo "$as_me:7743: checking for sa_len field in struct sockaddr" >&5 |
echo "$as_me:$LINENO: checking for sa_len field in struct sockaddr" >&5 |
echo $ECHO_N "checking for sa_len field in struct sockaddr... $ECHO_C" >&6 |
echo $ECHO_N "checking for sa_len field in struct sockaddr... $ECHO_C" >&6 |
if test "${sudo_cv_sock_sa_len+set}" = set; then |
if test "${sudo_cv_sock_sa_len+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
sudo_cv_sock_sa_len=no |
sudo_cv_sock_sa_len=no |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 7752 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <sys/types.h> |
#include <sys/types.h> |
#include <sys/socket.h> |
#include <sys/socket.h> |
main() { |
main() { |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest$ac_exeext |
rm -f conftest$ac_exeext |
if { (eval echo "$as_me:7763: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:7766: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
{ (eval echo "$as_me:7768: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:7771: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
sudo_cv_sock_sa_len=yes |
sudo_cv_sock_sa_len=yes |
else |
else |
echo "$as_me: program exited with status $ac_status" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
( exit $ac_status ) |
sudo_cv_sock_sa_len=no |
sudo_cv_sock_sa_len=no |
fi |
fi |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
rm -f core core.* *.core |
rm -f core core.* *.core |
fi |
fi |
echo "$as_me:7784: result: $sudo_cv_sock_sa_len" >&5 |
echo "$as_me:$LINENO: result: $sudo_cv_sock_sa_len" >&5 |
echo "${ECHO_T}$sudo_cv_sock_sa_len" >&6 |
echo "${ECHO_T}$sudo_cv_sock_sa_len" >&6 |
if test $sudo_cv_sock_sa_len = yes; then |
if test $sudo_cv_sock_sa_len = yes; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_SA_LEN 1 |
#define HAVE_SA_LEN 1 |
EOF |
_ACEOF |
|
|
fi |
fi |
|
|
case "$DEFS" in |
case "$DEFS" in |
*"RETSIGTYPE"*) ;; |
*"RETSIGTYPE"*) ;; |
*) echo "$as_me:7796: checking return type of signal handlers" >&5 |
*) echo "$as_me:$LINENO: checking return type of signal handlers" >&5 |
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 |
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 |
if test "${ac_cv_type_signal+set}" = set; then |
if test "${ac_cv_type_signal+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 7802 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <sys/types.h> |
#include <sys/types.h> |
#include <signal.h> |
#include <signal.h> |
#ifdef signal |
#ifdef signal |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:7824: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:7827: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest.$ac_objext' |
{ ac_try='test -s conftest.$ac_objext' |
{ (eval echo "$as_me:7830: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:7833: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_type_signal=void |
ac_cv_type_signal=void |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_type_signal=int |
ac_cv_type_signal=int |
fi |
fi |
rm -f conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
echo "$as_me:7843: result: $ac_cv_type_signal" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 |
echo "${ECHO_T}$ac_cv_type_signal" >&6 |
echo "${ECHO_T}$ac_cv_type_signal" >&6 |
|
|
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define RETSIGTYPE $ac_cv_type_signal |
#define RETSIGTYPE $ac_cv_type_signal |
EOF |
_ACEOF |
|
|
;; |
;; |
esac |
esac |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for ac_func in strchr strrchr memchr memcpy memset sysconf tzset \ |
for ac_func in strchr strrchr memchr memcpy memset sysconf tzset \ |
seteuid setegid strftime setrlimit initgroups fstat |
strftime setrlimit initgroups fstat |
do |
do |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
echo "$as_me:7857: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 7863 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func (); below. */ |
which can conflict with char $ac_func (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char $ac_func (); |
char $ac_func (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
choke me |
choke me |
#else |
#else |
f = $ac_func; |
char (*f) () = $ac_func; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != $ac_func; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:7894: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:7897: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:7900: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:7903: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
eval "$as_ac_var=yes" |
eval "$as_ac_var=yes" |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
eval "$as_ac_var=no" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:7913: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
EOF |
_ACEOF |
|
|
fi |
fi |
done |
done |
|
|
if test -z "$BROKEN_SETREUID"; then |
if test -z "$SKIP_SETRESUID"; then |
|
|
for ac_func in setreuid |
for ac_func in setresuid |
do |
do |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
echo "$as_me:7928: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 7934 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func (); below. */ |
which can conflict with char $ac_func (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char $ac_func (); |
char $ac_func (); |
char (*f) (); |
/* The GNU C library defines this for functions which it implements |
|
to always fail with ENOSYS. Some functions are actually named |
|
something starting with __ and the normal name is an alias. */ |
|
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
|
choke me |
|
#else |
|
char (*f) () = $ac_func; |
|
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
int |
int |
main () |
main () |
{ |
{ |
|
return f != $ac_func; |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
(eval $ac_link) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; }; then |
|
eval "$as_ac_var=yes" |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
eval "$as_ac_var=no" |
|
fi |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
fi |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
cat >>confdefs.h <<_ACEOF |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
_ACEOF |
|
SKIP_SETREUID=yes |
|
fi |
|
done |
|
|
|
fi |
|
if test -z "$SKIP_SETREUID"; then |
|
|
|
for ac_func in setreuid |
|
do |
|
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* System header to define __stub macros and hopefully few prototypes, |
|
which can conflict with char $ac_func (); below. |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
{ |
|
#endif |
|
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char $ac_func (); |
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
choke me |
choke me |
#else |
#else |
f = $ac_func; |
char (*f) () = $ac_func; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != $ac_func; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:7965: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:7968: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:7971: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:7974: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
eval "$as_ac_var=yes" |
eval "$as_ac_var=yes" |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
eval "$as_ac_var=no" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:7984: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
EOF |
_ACEOF |
|
|
fi |
fi |
done |
done |
|
|
for ac_func in getifaddrs |
for ac_func in getifaddrs |
do |
do |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
echo "$as_me:8000: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 8006 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func (); below. */ |
which can conflict with char $ac_func (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char $ac_func (); |
char $ac_func (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
choke me |
choke me |
#else |
#else |
f = $ac_func; |
char (*f) () = $ac_func; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != $ac_func; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:8037: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8040: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:8043: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8046: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
eval "$as_ac_var=yes" |
eval "$as_ac_var=yes" |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
eval "$as_ac_var=no" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:8056: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
EOF |
_ACEOF |
|
|
for ac_func in freeifaddrs |
for ac_func in freeifaddrs |
do |
do |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
echo "$as_me:8066: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 8072 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes |
_ACEOF |
else |
cat confdefs.h >>conftest.$ac_ext |
which can conflict with char $ac_func (); below. */ |
cat >>conftest.$ac_ext <<_ACEOF |
#include <assert.h> |
/* end confdefs.h. */ |
|
/* System header to define __stub macros and hopefully few prototypes, |
|
which can conflict with char $ac_func (); below. |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char $ac_func (); |
char $ac_func (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
choke me |
choke me |
#else |
#else |
f = $ac_func; |
char (*f) () = $ac_func; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != $ac_func; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:8104: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8107: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:8110: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8113: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
eval "$as_ac_var=yes" |
eval "$as_ac_var=yes" |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
eval "$as_ac_var=no" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:8123: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
EOF |
_ACEOF |
|
|
fi |
fi |
done |
done |
|
|
fi |
fi |
if test -n "$SECUREWARE"; then |
if test -n "$SECUREWARE"; then |
|
|
|
|
|
|
for ac_func in bigcrypt set_auth_parameters initprivs |
for ac_func in bigcrypt set_auth_parameters initprivs |
do |
do |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
echo "$as_me:8142: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 8148 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func (); below. */ |
which can conflict with char $ac_func (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char $ac_func (); |
char $ac_func (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
choke me |
choke me |
#else |
#else |
f = $ac_func; |
char (*f) () = $ac_func; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != $ac_func; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:8179: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8182: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:8185: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8188: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
eval "$as_ac_var=yes" |
eval "$as_ac_var=yes" |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
eval "$as_ac_var=no" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:8198: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
EOF |
_ACEOF |
|
|
fi |
fi |
done |
done |
|
|
for ac_func in getcwd |
for ac_func in getcwd |
do |
do |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
echo "$as_me:8214: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 8220 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func (); below. */ |
which can conflict with char $ac_func (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char $ac_func (); |
char $ac_func (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
choke me |
choke me |
#else |
#else |
f = $ac_func; |
char (*f) () = $ac_func; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != $ac_func; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:8251: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8254: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:8257: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8260: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
eval "$as_ac_var=yes" |
eval "$as_ac_var=yes" |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
eval "$as_ac_var=no" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:8270: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
EOF |
_ACEOF |
|
|
else |
else |
LIBOBJS="$LIBOBJS $ac_func.$ac_objext" |
LIBOBJS="$LIBOBJS $ac_func.$ac_objext" |
fi |
fi |
done |
done |
|
|
|
|
fi |
fi |
|
|
|
|
for ac_func in lockf flock |
for ac_func in lockf flock |
do |
do |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
echo "$as_me:8287: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 8293 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func (); below. */ |
which can conflict with char $ac_func (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char $ac_func (); |
char $ac_func (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
choke me |
choke me |
#else |
#else |
f = $ac_func; |
char (*f) () = $ac_func; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != $ac_func; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:8324: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8327: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:8330: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8333: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
eval "$as_ac_var=yes" |
eval "$as_ac_var=yes" |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
eval "$as_ac_var=no" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:8343: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
EOF |
_ACEOF |
break |
break |
fi |
fi |
done |
done |
|
|
|
|
|
|
for ac_func in waitpid wait3 |
for ac_func in waitpid wait3 |
do |
do |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
echo "$as_me:8356: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 8362 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func (); below. */ |
which can conflict with char $ac_func (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char $ac_func (); |
char $ac_func (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
choke me |
choke me |
#else |
#else |
f = $ac_func; |
char (*f) () = $ac_func; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != $ac_func; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:8393: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8396: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:8399: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8402: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
eval "$as_ac_var=yes" |
eval "$as_ac_var=yes" |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
eval "$as_ac_var=no" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:8412: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
EOF |
_ACEOF |
break |
break |
fi |
fi |
done |
done |
|
|
|
|
|
|
for ac_func in innetgr _innetgr |
for ac_func in innetgr _innetgr |
do |
do |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
echo "$as_me:8425: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 8431 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func (); below. */ |
which can conflict with char $ac_func (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char $ac_func (); |
char $ac_func (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
choke me |
choke me |
#else |
#else |
f = $ac_func; |
char (*f) () = $ac_func; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != $ac_func; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:8462: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8465: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:8468: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8471: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
eval "$as_ac_var=yes" |
eval "$as_ac_var=yes" |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
eval "$as_ac_var=no" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:8481: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
EOF |
_ACEOF |
|
|
for ac_func in getdomainname |
for ac_func in getdomainname |
do |
do |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
echo "$as_me:8491: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 8497 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes |
_ACEOF |
else |
cat confdefs.h >>conftest.$ac_ext |
which can conflict with char $ac_func (); below. */ |
cat >>conftest.$ac_ext <<_ACEOF |
#include <assert.h> |
/* end confdefs.h. */ |
|
/* System header to define __stub macros and hopefully few prototypes, |
|
which can conflict with char $ac_func (); below. |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char $ac_func (); |
char $ac_func (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
choke me |
choke me |
#else |
#else |
f = $ac_func; |
char (*f) () = $ac_func; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != $ac_func; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:8529: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8532: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:8535: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8538: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
eval "$as_ac_var=yes" |
eval "$as_ac_var=yes" |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
eval "$as_ac_var=no" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:8548: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
EOF |
_ACEOF |
|
|
fi |
fi |
done |
done |
|
|
fi |
fi |
done |
done |
|
|
|
|
for ac_func in lsearch |
for ac_func in lsearch |
do |
do |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
echo "$as_me:8564: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 8570 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func (); below. */ |
which can conflict with char $ac_func (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char $ac_func (); |
char $ac_func (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
choke me |
choke me |
#else |
#else |
f = $ac_func; |
char (*f) () = $ac_func; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != $ac_func; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:8601: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8604: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:8607: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8610: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
eval "$as_ac_var=yes" |
eval "$as_ac_var=yes" |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
eval "$as_ac_var=no" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:8620: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
EOF |
_ACEOF |
|
|
else |
else |
echo "$as_me:8628: checking for lsearch in -lcompat" >&5 |
echo "$as_me:$LINENO: checking for lsearch in -lcompat" >&5 |
echo $ECHO_N "checking for lsearch in -lcompat... $ECHO_C" >&6 |
echo $ECHO_N "checking for lsearch in -lcompat... $ECHO_C" >&6 |
if test "${ac_cv_lib_compat_lsearch+set}" = set; then |
if test "${ac_cv_lib_compat_lsearch+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lcompat $LIBS" |
LIBS="-lcompat $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 8636 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:8655: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8658: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:8661: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8664: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_compat_lsearch=yes |
ac_cv_lib_compat_lsearch=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_compat_lsearch=no |
ac_cv_lib_compat_lsearch=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:8675: result: $ac_cv_lib_compat_lsearch" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_compat_lsearch" >&5 |
echo "${ECHO_T}$ac_cv_lib_compat_lsearch" >&6 |
echo "${ECHO_T}$ac_cv_lib_compat_lsearch" >&6 |
if test $ac_cv_lib_compat_lsearch = yes; then |
if test $ac_cv_lib_compat_lsearch = yes; then |
echo "$as_me:8678: checking for search.h" >&5 |
echo "$as_me:$LINENO: checking for search.h" >&5 |
echo $ECHO_N "checking for search.h... $ECHO_C" >&6 |
echo $ECHO_N "checking for search.h... $ECHO_C" >&6 |
if test "${ac_cv_header_search_h+set}" = set; then |
if test "${ac_cv_header_search_h+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 8684 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <search.h> |
#include <search.h> |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:8688: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
egrep -v '^ *\+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
rm -f conftest.er1 |
rm -f conftest.er1 |
cat conftest.err >&5 |
cat conftest.err >&5 |
echo "$as_me:8694: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
if test -s conftest.err; then |
if test -s conftest.err; then |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
ac_cv_header_search_h=yes |
ac_cv_header_search_h=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_header_search_h=no |
ac_cv_header_search_h=no |
fi |
fi |
rm -f conftest.err conftest.$ac_ext |
rm -f conftest.err conftest.$ac_ext |
fi |
fi |
echo "$as_me:8713: result: $ac_cv_header_search_h" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_header_search_h" >&5 |
echo "${ECHO_T}$ac_cv_header_search_h" >&6 |
echo "${ECHO_T}$ac_cv_header_search_h" >&6 |
if test $ac_cv_header_search_h = yes; then |
if test $ac_cv_header_search_h = yes; then |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_LSEARCH 1 |
#define HAVE_LSEARCH 1 |
EOF |
_ACEOF |
LIBS="${LIBS} -lcompat" |
LIBS="${LIBS} -lcompat" |
else |
else |
LIBOBJS="$LIBOBJS lsearch.$ac_objext" |
LIBOBJS="$LIBOBJS lsearch.$ac_objext" |
fi |
fi |
|
|
|
|
else |
else |
LIBOBJS="$LIBOBJS lsearch.$ac_objext" |
LIBOBJS="$LIBOBJS lsearch.$ac_objext" |
fi |
fi |
|
|
fi |
fi |
done |
done |
|
|
|
|
for ac_func in utime |
for ac_func in utime |
do |
do |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
echo "$as_me:8734: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 8740 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func (); below. */ |
which can conflict with char $ac_func (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char $ac_func (); |
char $ac_func (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
choke me |
choke me |
#else |
#else |
f = $ac_func; |
char (*f) () = $ac_func; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != $ac_func; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:8771: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8774: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:8777: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8780: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
eval "$as_ac_var=yes" |
eval "$as_ac_var=yes" |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
eval "$as_ac_var=no" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:8790: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
EOF |
_ACEOF |
echo "$as_me:8796: checking for POSIX utime" >&5 |
echo "$as_me:$LINENO: checking for POSIX utime" >&5 |
echo $ECHO_N "checking for POSIX utime... $ECHO_C" >&6 |
echo $ECHO_N "checking for POSIX utime... $ECHO_C" >&6 |
if test "${sudo_cv_func_utime_posix+set}" = set; then |
if test "${sudo_cv_func_utime_posix+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
sudo_cv_func_utime_posix=no |
sudo_cv_func_utime_posix=no |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 8806 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <sys/types.h> |
#include <sys/types.h> |
#include <sys/time.h> |
#include <sys/time.h> |
#include <utime.h> |
#include <utime.h> |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest$ac_exeext |
rm -f conftest$ac_exeext |
if { (eval echo "$as_me:8819: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8822: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
{ (eval echo "$as_me:8824: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8827: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
sudo_cv_func_utime_posix=yes |
sudo_cv_func_utime_posix=yes |
else |
else |
echo "$as_me: program exited with status $ac_status" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
( exit $ac_status ) |
sudo_cv_func_utime_posix=no |
sudo_cv_func_utime_posix=no |
fi |
fi |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
rm -f core core.* *.core |
rm -f core core.* *.core |
fi |
fi |
echo "$as_me:8840: result: $sudo_cv_func_utime_posix" >&5 |
echo "$as_me:$LINENO: result: $sudo_cv_func_utime_posix" >&5 |
echo "${ECHO_T}$sudo_cv_func_utime_posix" >&6 |
echo "${ECHO_T}$sudo_cv_func_utime_posix" >&6 |
if test $sudo_cv_func_utime_posix = yes; then |
if test $sudo_cv_func_utime_posix = yes; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_UTIME_POSIX 1 |
#define HAVE_UTIME_POSIX 1 |
EOF |
_ACEOF |
|
|
fi |
fi |
|
|
|
|
fi |
fi |
done |
done |
|
|
echo "$as_me:8855: checking for working fnmatch with FNM_CASEFOLD" >&5 |
echo "$as_me:$LINENO: checking for working fnmatch with FNM_CASEFOLD" >&5 |
echo $ECHO_N "checking for working fnmatch with FNM_CASEFOLD... $ECHO_C" >&6 |
echo $ECHO_N "checking for working fnmatch with FNM_CASEFOLD... $ECHO_C" >&6 |
if test "${sudo_cv_func_fnmatch+set}" = set; then |
if test "${sudo_cv_func_fnmatch+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
sudo_cv_func_fnmatch=no |
sudo_cv_func_fnmatch=no |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 8865 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <fnmatch.h> |
#include <fnmatch.h> |
main() { exit(fnmatch("/*/bin/echo *", "/usr/bin/echo just a test", FNM_CASEFOLD)); } |
main() { exit(fnmatch("/*/bin/echo *", "/usr/bin/echo just a test", FNM_CASEFOLD)); } |
|
|
_ACEOF |
_ACEOF |
rm -f conftest$ac_exeext |
rm -f conftest$ac_exeext |
if { (eval echo "$as_me:8872: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8875: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
{ (eval echo "$as_me:8877: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8880: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
sudo_cv_func_fnmatch=yes |
sudo_cv_func_fnmatch=yes |
else |
else |
echo "$as_me: program exited with status $ac_status" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
( exit $ac_status ) |
sudo_cv_func_fnmatch=no |
sudo_cv_func_fnmatch=no |
fi |
fi |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
rm -f core core.* *.core |
rm -f core core.* *.core |
fi |
fi |
echo "$as_me:8893: result: $sudo_cv_func_fnmatch" >&5 |
echo "$as_me:$LINENO: result: $sudo_cv_func_fnmatch" >&5 |
echo "${ECHO_T}$sudo_cv_func_fnmatch" >&6 |
echo "${ECHO_T}$sudo_cv_func_fnmatch" >&6 |
if test $sudo_cv_func_fnmatch = yes; then |
if test $sudo_cv_func_fnmatch = yes; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_FNMATCH 1 |
#define HAVE_FNMATCH 1 |
EOF |
_ACEOF |
|
|
else |
else |
LIBOBJS="$LIBOBJS fnmatch.$ac_objext" |
LIBOBJS="$LIBOBJS fnmatch.$ac_objext" |
fi |
fi |
|
|
echo "$as_me:8905: checking for isblank" >&5 |
echo "$as_me:$LINENO: checking for isblank" >&5 |
echo $ECHO_N "checking for isblank... $ECHO_C" >&6 |
echo $ECHO_N "checking for isblank... $ECHO_C" >&6 |
if test "${sudo_cv_func_isblank+set}" = set; then |
if test "${sudo_cv_func_isblank+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 8911 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <ctype.h> |
#include <ctype.h> |
int |
int |
main () |
main () |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:8923: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8926: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:8929: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8932: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
sudo_cv_func_isblank=yes |
sudo_cv_func_isblank=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
sudo_cv_func_isblank=no |
sudo_cv_func_isblank=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:8942: result: $sudo_cv_func_isblank" >&5 |
echo "$as_me:$LINENO: result: $sudo_cv_func_isblank" >&5 |
echo "${ECHO_T}$sudo_cv_func_isblank" >&6 |
echo "${ECHO_T}$sudo_cv_func_isblank" >&6 |
|
|
if test "$sudo_cv_func_isblank" = "yes"; then |
if test "$sudo_cv_func_isblank" = "yes"; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_ISBLANK 1 |
#define HAVE_ISBLANK 1 |
EOF |
_ACEOF |
|
|
fi |
fi |
|
|
for ac_func in strerror strcasecmp sigaction |
|
|
|
|
|
|
|
|
|
|
for ac_func in strerror strcasecmp sigaction strlcpy strlcat |
do |
do |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
echo "$as_me:8956: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 8962 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func (); below. */ |
which can conflict with char $ac_func (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char $ac_func (); |
char $ac_func (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
choke me |
choke me |
#else |
#else |
f = $ac_func; |
char (*f) () = $ac_func; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != $ac_func; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:8993: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:8996: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:8999: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9002: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
eval "$as_ac_var=yes" |
eval "$as_ac_var=yes" |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
eval "$as_ac_var=no" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:9012: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
EOF |
_ACEOF |
|
|
else |
else |
LIBOBJS="$LIBOBJS $ac_func.$ac_objext" |
LIBOBJS="$LIBOBJS $ac_func.$ac_objext" |
fi |
fi |
done |
done |
|
|
|
|
|
|
|
|
|
|
|
|
for ac_func in snprintf vsnprintf asprintf vasprintf |
for ac_func in snprintf vsnprintf asprintf vasprintf |
do |
do |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
echo "$as_me:9027: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 9033 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func (); below. */ |
which can conflict with char $ac_func (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char $ac_func (); |
char $ac_func (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
choke me |
choke me |
#else |
#else |
f = $ac_func; |
char (*f) () = $ac_func; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != $ac_func; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:9064: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9067: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:9070: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9073: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
eval "$as_ac_var=yes" |
eval "$as_ac_var=yes" |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
eval "$as_ac_var=no" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:9083: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
EOF |
_ACEOF |
|
|
else |
else |
NEED_SNPRINTF=1 |
NEED_SNPRINTF=1 |
|
|
LIBOBJS="$LIBOBJS snprintf.$ac_objext" |
LIBOBJS="$LIBOBJS snprintf.$ac_objext" |
fi |
fi |
if test -z "$LIB_CRYPT"; then |
if test -z "$LIB_CRYPT"; then |
echo "$as_me:9099: checking for crypt" >&5 |
echo "$as_me:$LINENO: checking for crypt" >&5 |
echo $ECHO_N "checking for crypt... $ECHO_C" >&6 |
echo $ECHO_N "checking for crypt... $ECHO_C" >&6 |
if test "${ac_cv_func_crypt+set}" = set; then |
if test "${ac_cv_func_crypt+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 9105 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char crypt (); below. */ |
which can conflict with char crypt (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char crypt (); |
char crypt (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_crypt) || defined (__stub___crypt) |
#if defined (__stub_crypt) || defined (__stub___crypt) |
choke me |
choke me |
#else |
#else |
f = crypt; |
char (*f) () = crypt; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != crypt; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:9136: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9139: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:9142: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9145: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_func_crypt=yes |
ac_cv_func_crypt=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_func_crypt=no |
ac_cv_func_crypt=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:9155: result: $ac_cv_func_crypt" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_crypt" >&5 |
echo "${ECHO_T}$ac_cv_func_crypt" >&6 |
echo "${ECHO_T}$ac_cv_func_crypt" >&6 |
if test $ac_cv_func_crypt = yes; then |
if test $ac_cv_func_crypt = yes; then |
: |
: |
else |
else |
echo "$as_me:9160: checking for crypt in -lcrypt" >&5 |
echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5 |
echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6 |
echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6 |
if test "${ac_cv_lib_crypt_crypt+set}" = set; then |
if test "${ac_cv_lib_crypt_crypt+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lcrypt $LIBS" |
LIBS="-lcrypt $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 9168 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:9187: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9190: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:9193: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9196: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_crypt_crypt=yes |
ac_cv_lib_crypt_crypt=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_crypt_crypt=no |
ac_cv_lib_crypt_crypt=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:9207: result: $ac_cv_lib_crypt_crypt" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5 |
echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6 |
echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6 |
if test $ac_cv_lib_crypt_crypt = yes; then |
if test $ac_cv_lib_crypt_crypt = yes; then |
SUDO_LIBS="${SUDO_LIBS} -lcrypt"; LIBS="${LIBS} -lcrypt" |
SUDO_LIBS="${SUDO_LIBS} -lcrypt"; LIBS="${LIBS} -lcrypt" |
else |
else |
echo "$as_me:9212: checking for crypt in -lcrypt_d" >&5 |
echo "$as_me:$LINENO: checking for crypt in -lcrypt_d" >&5 |
echo $ECHO_N "checking for crypt in -lcrypt_d... $ECHO_C" >&6 |
echo $ECHO_N "checking for crypt in -lcrypt_d... $ECHO_C" >&6 |
if test "${ac_cv_lib_crypt_d_crypt+set}" = set; then |
if test "${ac_cv_lib_crypt_d_crypt+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lcrypt_d $LIBS" |
LIBS="-lcrypt_d $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 9220 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:9239: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9242: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:9245: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9248: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_crypt_d_crypt=yes |
ac_cv_lib_crypt_d_crypt=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_crypt_d_crypt=no |
ac_cv_lib_crypt_d_crypt=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:9259: result: $ac_cv_lib_crypt_d_crypt" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_d_crypt" >&5 |
echo "${ECHO_T}$ac_cv_lib_crypt_d_crypt" >&6 |
echo "${ECHO_T}$ac_cv_lib_crypt_d_crypt" >&6 |
if test $ac_cv_lib_crypt_d_crypt = yes; then |
if test $ac_cv_lib_crypt_d_crypt = yes; then |
SUDO_LIBS="${SUDO_LIBS} -lcrypt_d"; LIBS="${LIBS} -lcrypt_d" |
SUDO_LIBS="${SUDO_LIBS} -lcrypt_d"; LIBS="${LIBS} -lcrypt_d" |
else |
else |
echo "$as_me:9264: checking for crypt in -lufc" >&5 |
echo "$as_me:$LINENO: checking for crypt in -lufc" >&5 |
echo $ECHO_N "checking for crypt in -lufc... $ECHO_C" >&6 |
echo $ECHO_N "checking for crypt in -lufc... $ECHO_C" >&6 |
if test "${ac_cv_lib_ufc_crypt+set}" = set; then |
if test "${ac_cv_lib_ufc_crypt+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lufc $LIBS" |
LIBS="-lufc $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 9272 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:9291: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9294: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:9297: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9300: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_ufc_crypt=yes |
ac_cv_lib_ufc_crypt=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_ufc_crypt=no |
ac_cv_lib_ufc_crypt=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:9311: result: $ac_cv_lib_ufc_crypt" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_ufc_crypt" >&5 |
echo "${ECHO_T}$ac_cv_lib_ufc_crypt" >&6 |
echo "${ECHO_T}$ac_cv_lib_ufc_crypt" >&6 |
if test $ac_cv_lib_ufc_crypt = yes; then |
if test $ac_cv_lib_ufc_crypt = yes; then |
SUDO_LIBS="${SUDO_LIBS} -lufc"; LIBS="${LIBS} -lufc" |
SUDO_LIBS="${SUDO_LIBS} -lufc"; LIBS="${LIBS} -lufc" |
|
|
fi |
fi |
|
|
fi |
fi |
echo "$as_me:9324: checking for socket" >&5 |
echo "$as_me:$LINENO: checking for socket" >&5 |
echo $ECHO_N "checking for socket... $ECHO_C" >&6 |
echo $ECHO_N "checking for socket... $ECHO_C" >&6 |
if test "${ac_cv_func_socket+set}" = set; then |
if test "${ac_cv_func_socket+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 9330 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char socket (); below. */ |
which can conflict with char socket (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char socket (); |
char socket (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_socket) || defined (__stub___socket) |
#if defined (__stub_socket) || defined (__stub___socket) |
choke me |
choke me |
#else |
#else |
f = socket; |
char (*f) () = socket; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != socket; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:9361: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9364: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:9367: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9370: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_func_socket=yes |
ac_cv_func_socket=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_func_socket=no |
ac_cv_func_socket=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:9380: result: $ac_cv_func_socket" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 |
echo "${ECHO_T}$ac_cv_func_socket" >&6 |
echo "${ECHO_T}$ac_cv_func_socket" >&6 |
if test $ac_cv_func_socket = yes; then |
if test $ac_cv_func_socket = yes; then |
: |
: |
else |
else |
echo "$as_me:9385: checking for socket in -lsocket" >&5 |
echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 |
echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 |
if test "${ac_cv_lib_socket_socket+set}" = set; then |
if test "${ac_cv_lib_socket_socket+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 9393 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:9412: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9415: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:9418: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9421: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_socket_socket=yes |
ac_cv_lib_socket_socket=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_socket_socket=no |
ac_cv_lib_socket_socket=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:9432: result: $ac_cv_lib_socket_socket" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 |
echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 |
echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 |
if test $ac_cv_lib_socket_socket = yes; then |
if test $ac_cv_lib_socket_socket = yes; then |
NET_LIBS="${NET_LIBS} -lsocket"; LIBS="${LIBS} -lsocket" |
NET_LIBS="${NET_LIBS} -lsocket"; LIBS="${LIBS} -lsocket" |
else |
else |
echo "$as_me:9437: checking for socket in -linet" >&5 |
echo "$as_me:$LINENO: checking for socket in -linet" >&5 |
echo $ECHO_N "checking for socket in -linet... $ECHO_C" >&6 |
echo $ECHO_N "checking for socket in -linet... $ECHO_C" >&6 |
if test "${ac_cv_lib_inet_socket+set}" = set; then |
if test "${ac_cv_lib_inet_socket+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-linet $LIBS" |
LIBS="-linet $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 9445 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:9464: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9467: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:9470: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9473: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_inet_socket=yes |
ac_cv_lib_inet_socket=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_inet_socket=no |
ac_cv_lib_inet_socket=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:9484: result: $ac_cv_lib_inet_socket" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_inet_socket" >&5 |
echo "${ECHO_T}$ac_cv_lib_inet_socket" >&6 |
echo "${ECHO_T}$ac_cv_lib_inet_socket" >&6 |
if test $ac_cv_lib_inet_socket = yes; then |
if test $ac_cv_lib_inet_socket = yes; then |
NET_LIBS="${NET_LIBS} -linet"; LIBS="${LIBS} -linet" |
NET_LIBS="${NET_LIBS} -linet"; LIBS="${LIBS} -linet" |
else |
else |
{ echo "$as_me:9489: WARNING: unable to find socket() trying -lsocket -lnsl" >&5 |
{ echo "$as_me:$LINENO: WARNING: unable to find socket() trying -lsocket -lnsl" >&5 |
echo "$as_me: WARNING: unable to find socket() trying -lsocket -lnsl" >&2;} |
echo "$as_me: WARNING: unable to find socket() trying -lsocket -lnsl" >&2;} |
echo "$as_me:9491: checking for socket in -lsocket" >&5 |
echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 |
echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 |
if test "${ac_cv_lib_socket_socket_lnsl+set}" = set; then |
if test "${ac_cv_lib_socket_socket_lnsl+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lsocket -lnsl $LIBS" |
LIBS="-lsocket -lnsl $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 9499 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:9518: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9521: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:9524: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9527: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_socket_socket_lnsl=yes |
ac_cv_lib_socket_socket_lnsl=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_socket_socket_lnsl=no |
ac_cv_lib_socket_socket_lnsl=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:9538: result: $ac_cv_lib_socket_socket_lnsl" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket_lnsl" >&5 |
echo "${ECHO_T}$ac_cv_lib_socket_socket_lnsl" >&6 |
echo "${ECHO_T}$ac_cv_lib_socket_socket_lnsl" >&6 |
if test $ac_cv_lib_socket_socket_lnsl = yes; then |
if test $ac_cv_lib_socket_socket_lnsl = yes; then |
NET_LIBS="${NET_LIBS} -lsocket -lnsl"; LIBS="${LIBS} -lsocket -lnsl" |
NET_LIBS="${NET_LIBS} -lsocket -lnsl"; LIBS="${LIBS} -lsocket -lnsl" |
|
|
|
|
fi |
fi |
|
|
echo "$as_me:9550: checking for inet_addr" >&5 |
echo "$as_me:$LINENO: checking for inet_addr" >&5 |
echo $ECHO_N "checking for inet_addr... $ECHO_C" >&6 |
echo $ECHO_N "checking for inet_addr... $ECHO_C" >&6 |
if test "${ac_cv_func_inet_addr+set}" = set; then |
if test "${ac_cv_func_inet_addr+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 9556 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char inet_addr (); below. */ |
which can conflict with char inet_addr (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char inet_addr (); |
char inet_addr (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_inet_addr) || defined (__stub___inet_addr) |
#if defined (__stub_inet_addr) || defined (__stub___inet_addr) |
choke me |
choke me |
#else |
#else |
f = inet_addr; |
char (*f) () = inet_addr; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != inet_addr; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:9587: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9590: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:9593: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9596: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_func_inet_addr=yes |
ac_cv_func_inet_addr=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_func_inet_addr=no |
ac_cv_func_inet_addr=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:9606: result: $ac_cv_func_inet_addr" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_inet_addr" >&5 |
echo "${ECHO_T}$ac_cv_func_inet_addr" >&6 |
echo "${ECHO_T}$ac_cv_func_inet_addr" >&6 |
if test $ac_cv_func_inet_addr = yes; then |
if test $ac_cv_func_inet_addr = yes; then |
: |
: |
else |
else |
echo "$as_me:9611: checking for __inet_addr" >&5 |
echo "$as_me:$LINENO: checking for __inet_addr" >&5 |
echo $ECHO_N "checking for __inet_addr... $ECHO_C" >&6 |
echo $ECHO_N "checking for __inet_addr... $ECHO_C" >&6 |
if test "${ac_cv_func___inet_addr+set}" = set; then |
if test "${ac_cv_func___inet_addr+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 9617 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char __inet_addr (); below. */ |
which can conflict with char __inet_addr (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char __inet_addr (); |
char __inet_addr (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub___inet_addr) || defined (__stub_____inet_addr) |
#if defined (__stub___inet_addr) || defined (__stub_____inet_addr) |
choke me |
choke me |
#else |
#else |
f = __inet_addr; |
char (*f) () = __inet_addr; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != __inet_addr; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:9648: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9651: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:9654: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9657: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_func___inet_addr=yes |
ac_cv_func___inet_addr=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_func___inet_addr=no |
ac_cv_func___inet_addr=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:9667: result: $ac_cv_func___inet_addr" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func___inet_addr" >&5 |
echo "${ECHO_T}$ac_cv_func___inet_addr" >&6 |
echo "${ECHO_T}$ac_cv_func___inet_addr" >&6 |
if test $ac_cv_func___inet_addr = yes; then |
if test $ac_cv_func___inet_addr = yes; then |
: |
: |
else |
else |
echo "$as_me:9672: checking for inet_addr in -lnsl" >&5 |
echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5 |
echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6 |
echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6 |
if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then |
if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 9680 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:9699: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9702: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:9705: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9708: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_nsl_inet_addr=yes |
ac_cv_lib_nsl_inet_addr=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_nsl_inet_addr=no |
ac_cv_lib_nsl_inet_addr=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:9719: result: $ac_cv_lib_nsl_inet_addr" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5 |
echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6 |
echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6 |
if test $ac_cv_lib_nsl_inet_addr = yes; then |
if test $ac_cv_lib_nsl_inet_addr = yes; then |
NET_LIBS="${NET_LIBS} -lnsl"; LIBS="${LIBS} -lnsl" |
NET_LIBS="${NET_LIBS} -lnsl"; LIBS="${LIBS} -lnsl" |
else |
else |
echo "$as_me:9724: checking for inet_addr in -linet" >&5 |
echo "$as_me:$LINENO: checking for inet_addr in -linet" >&5 |
echo $ECHO_N "checking for inet_addr in -linet... $ECHO_C" >&6 |
echo $ECHO_N "checking for inet_addr in -linet... $ECHO_C" >&6 |
if test "${ac_cv_lib_inet_inet_addr+set}" = set; then |
if test "${ac_cv_lib_inet_inet_addr+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-linet $LIBS" |
LIBS="-linet $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 9732 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:9751: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9754: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:9757: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9760: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_inet_inet_addr=yes |
ac_cv_lib_inet_inet_addr=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_inet_inet_addr=no |
ac_cv_lib_inet_inet_addr=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:9771: result: $ac_cv_lib_inet_inet_addr" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_inet_inet_addr" >&5 |
echo "${ECHO_T}$ac_cv_lib_inet_inet_addr" >&6 |
echo "${ECHO_T}$ac_cv_lib_inet_inet_addr" >&6 |
if test $ac_cv_lib_inet_inet_addr = yes; then |
if test $ac_cv_lib_inet_inet_addr = yes; then |
NET_LIBS="${NET_LIBS} -linet"; LIBS="${LIBS} -linet" |
NET_LIBS="${NET_LIBS} -linet"; LIBS="${LIBS} -linet" |
else |
else |
{ echo "$as_me:9776: WARNING: unable to find inet_addr() trying -lsocket -lnsl" >&5 |
{ echo "$as_me:$LINENO: WARNING: unable to find inet_addr() trying -lsocket -lnsl" >&5 |
echo "$as_me: WARNING: unable to find inet_addr() trying -lsocket -lnsl" >&2;} |
echo "$as_me: WARNING: unable to find inet_addr() trying -lsocket -lnsl" >&2;} |
echo "$as_me:9778: checking for inet_addr in -lsocket" >&5 |
echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5 |
echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6 |
echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6 |
if test "${ac_cv_lib_socket_inet_addr_lnsl+set}" = set; then |
if test "${ac_cv_lib_socket_inet_addr_lnsl+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lsocket -lnsl $LIBS" |
LIBS="-lsocket -lnsl $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 9786 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:9805: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9808: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:9811: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9814: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_socket_inet_addr_lnsl=yes |
ac_cv_lib_socket_inet_addr_lnsl=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_socket_inet_addr_lnsl=no |
ac_cv_lib_socket_inet_addr_lnsl=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:9825: result: $ac_cv_lib_socket_inet_addr_lnsl" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr_lnsl" >&5 |
echo "${ECHO_T}$ac_cv_lib_socket_inet_addr_lnsl" >&6 |
echo "${ECHO_T}$ac_cv_lib_socket_inet_addr_lnsl" >&6 |
if test $ac_cv_lib_socket_inet_addr_lnsl = yes; then |
if test $ac_cv_lib_socket_inet_addr_lnsl = yes; then |
NET_LIBS="${NET_LIBS} -lsocket -lnsl"; LIBS="${LIBS} -lsocket -lnsl" |
NET_LIBS="${NET_LIBS} -lsocket -lnsl"; LIBS="${LIBS} -lsocket -lnsl" |
|
|
|
|
fi |
fi |
|
|
echo "$as_me:9839: checking for syslog" >&5 |
echo "$as_me:$LINENO: checking for syslog" >&5 |
echo $ECHO_N "checking for syslog... $ECHO_C" >&6 |
echo $ECHO_N "checking for syslog... $ECHO_C" >&6 |
if test "${ac_cv_func_syslog+set}" = set; then |
if test "${ac_cv_func_syslog+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 9845 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char syslog (); below. */ |
which can conflict with char syslog (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char syslog (); |
char syslog (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_syslog) || defined (__stub___syslog) |
#if defined (__stub_syslog) || defined (__stub___syslog) |
choke me |
choke me |
#else |
#else |
f = syslog; |
char (*f) () = syslog; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != syslog; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:9876: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9879: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:9882: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9885: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_func_syslog=yes |
ac_cv_func_syslog=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_func_syslog=no |
ac_cv_func_syslog=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:9895: result: $ac_cv_func_syslog" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_syslog" >&5 |
echo "${ECHO_T}$ac_cv_func_syslog" >&6 |
echo "${ECHO_T}$ac_cv_func_syslog" >&6 |
if test $ac_cv_func_syslog = yes; then |
if test $ac_cv_func_syslog = yes; then |
: |
: |
else |
else |
echo "$as_me:9900: checking for syslog in -lsocket" >&5 |
echo "$as_me:$LINENO: checking for syslog in -lsocket" >&5 |
echo $ECHO_N "checking for syslog in -lsocket... $ECHO_C" >&6 |
echo $ECHO_N "checking for syslog in -lsocket... $ECHO_C" >&6 |
if test "${ac_cv_lib_socket_syslog+set}" = set; then |
if test "${ac_cv_lib_socket_syslog+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 9908 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:9927: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9930: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:9933: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9936: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_socket_syslog=yes |
ac_cv_lib_socket_syslog=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_socket_syslog=no |
ac_cv_lib_socket_syslog=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:9947: result: $ac_cv_lib_socket_syslog" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_syslog" >&5 |
echo "${ECHO_T}$ac_cv_lib_socket_syslog" >&6 |
echo "${ECHO_T}$ac_cv_lib_socket_syslog" >&6 |
if test $ac_cv_lib_socket_syslog = yes; then |
if test $ac_cv_lib_socket_syslog = yes; then |
NET_LIBS="${NET_LIBS} -lsocket"; LIBS="${LIBS} -lsocket" |
NET_LIBS="${NET_LIBS} -lsocket"; LIBS="${LIBS} -lsocket" |
else |
else |
echo "$as_me:9952: checking for syslog in -lnsl" >&5 |
echo "$as_me:$LINENO: checking for syslog in -lnsl" >&5 |
echo $ECHO_N "checking for syslog in -lnsl... $ECHO_C" >&6 |
echo $ECHO_N "checking for syslog in -lnsl... $ECHO_C" >&6 |
if test "${ac_cv_lib_nsl_syslog+set}" = set; then |
if test "${ac_cv_lib_nsl_syslog+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 9960 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:9979: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9982: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:9985: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:9988: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_nsl_syslog=yes |
ac_cv_lib_nsl_syslog=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_nsl_syslog=no |
ac_cv_lib_nsl_syslog=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:9999: result: $ac_cv_lib_nsl_syslog" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_syslog" >&5 |
echo "${ECHO_T}$ac_cv_lib_nsl_syslog" >&6 |
echo "${ECHO_T}$ac_cv_lib_nsl_syslog" >&6 |
if test $ac_cv_lib_nsl_syslog = yes; then |
if test $ac_cv_lib_nsl_syslog = yes; then |
NET_LIBS="${NET_LIBS} -lnsl"; LIBS="${LIBS} -lnsl" |
NET_LIBS="${NET_LIBS} -lnsl"; LIBS="${LIBS} -lnsl" |
else |
else |
echo "$as_me:10004: checking for syslog in -linet" >&5 |
echo "$as_me:$LINENO: checking for syslog in -linet" >&5 |
echo $ECHO_N "checking for syslog in -linet... $ECHO_C" >&6 |
echo $ECHO_N "checking for syslog in -linet... $ECHO_C" >&6 |
if test "${ac_cv_lib_inet_syslog+set}" = set; then |
if test "${ac_cv_lib_inet_syslog+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-linet $LIBS" |
LIBS="-linet $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 10012 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:10031: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:10034: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:10037: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:10040: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_inet_syslog=yes |
ac_cv_lib_inet_syslog=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_inet_syslog=no |
ac_cv_lib_inet_syslog=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:10051: result: $ac_cv_lib_inet_syslog" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_inet_syslog" >&5 |
echo "${ECHO_T}$ac_cv_lib_inet_syslog" >&6 |
echo "${ECHO_T}$ac_cv_lib_inet_syslog" >&6 |
if test $ac_cv_lib_inet_syslog = yes; then |
if test $ac_cv_lib_inet_syslog = yes; then |
NET_LIBS="${NET_LIBS} -linet"; LIBS="${LIBS} -linet" |
NET_LIBS="${NET_LIBS} -linet"; LIBS="${LIBS} -linet" |
|
|
if test "$with_DCE" = "yes" -o "$ac_cv_prog_YACC" = "bison -y"; then |
if test "$with_DCE" = "yes" -o "$ac_cv_prog_YACC" = "bison -y"; then |
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
# for constant arguments. Useless! |
# for constant arguments. Useless! |
echo "$as_me:10066: checking for working alloca.h" >&5 |
echo "$as_me:$LINENO: checking for working alloca.h" >&5 |
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 |
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 |
if test "${ac_cv_working_alloca_h+set}" = set; then |
if test "${ac_cv_working_alloca_h+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 10072 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#include <alloca.h> |
#include <alloca.h> |
int |
int |
main () |
main () |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:10084: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:10087: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:10090: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:10093: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_working_alloca_h=yes |
ac_cv_working_alloca_h=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_working_alloca_h=no |
ac_cv_working_alloca_h=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:10103: result: $ac_cv_working_alloca_h" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 |
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 |
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 |
if test $ac_cv_working_alloca_h = yes; then |
if test $ac_cv_working_alloca_h = yes; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_ALLOCA_H 1 |
#define HAVE_ALLOCA_H 1 |
EOF |
_ACEOF |
|
|
fi |
fi |
|
|
echo "$as_me:10113: checking for alloca" >&5 |
echo "$as_me:$LINENO: checking for alloca" >&5 |
echo $ECHO_N "checking for alloca... $ECHO_C" >&6 |
echo $ECHO_N "checking for alloca... $ECHO_C" >&6 |
if test "${ac_cv_func_alloca_works+set}" = set; then |
if test "${ac_cv_func_alloca_works+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 10119 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#ifdef __GNUC__ |
#ifdef __GNUC__ |
# define alloca __builtin_alloca |
# define alloca __builtin_alloca |
#else |
#else |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:10151: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:10154: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:10157: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:10160: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_func_alloca_works=yes |
ac_cv_func_alloca_works=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_func_alloca_works=no |
ac_cv_func_alloca_works=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:10170: result: $ac_cv_func_alloca_works" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 |
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 |
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 |
|
|
if test $ac_cv_func_alloca_works = yes; then |
if test $ac_cv_func_alloca_works = yes; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_ALLOCA 1 |
#define HAVE_ALLOCA 1 |
EOF |
_ACEOF |
|
|
else |
else |
# The SVR3 libPW and SVR4 libucb both contain incompatible functions |
# The SVR3 libPW and SVR4 libucb both contain incompatible functions |
|
|
|
|
ALLOCA=alloca.$ac_objext |
ALLOCA=alloca.$ac_objext |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define C_ALLOCA 1 |
#define C_ALLOCA 1 |
EOF |
_ACEOF |
|
|
echo "$as_me:10191: checking whether \`alloca.c' needs Cray hooks" >&5 |
|
|
echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 |
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 |
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 |
if test "${ac_cv_os_cray+set}" = set; then |
if test "${ac_cv_os_cray+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 10197 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
#if defined(CRAY) && ! defined(CRAY2) |
#if defined(CRAY) && ! defined(CRAY2) |
webecray |
webecray |
#else |
#else |
|
|
|
|
_ACEOF |
_ACEOF |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
egrep "webecray" >/dev/null 2>&1; then |
$EGREP "webecray" >/dev/null 2>&1; then |
ac_cv_os_cray=yes |
ac_cv_os_cray=yes |
else |
else |
ac_cv_os_cray=no |
ac_cv_os_cray=no |
|
|
rm -f conftest* |
rm -f conftest* |
|
|
fi |
fi |
echo "$as_me:10215: result: $ac_cv_os_cray" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 |
echo "${ECHO_T}$ac_cv_os_cray" >&6 |
echo "${ECHO_T}$ac_cv_os_cray" >&6 |
if test $ac_cv_os_cray = yes; then |
if test $ac_cv_os_cray = yes; then |
for ac_func in _getb67 GETB67 getb67; do |
for ac_func in _getb67 GETB67 getb67; do |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
echo "$as_me:10220: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 10226 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
which can conflict with char $ac_func (); below. */ |
which can conflict with char $ac_func (); below. |
#include <assert.h> |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" |
extern "C" |
|
{ |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
builtin and then its argument prototype would still apply. */ |
builtin and then its argument prototype would still apply. */ |
char $ac_func (); |
char $ac_func (); |
char (*f) (); |
|
|
|
int |
|
main () |
|
{ |
|
/* The GNU C library defines this for functions which it implements |
/* The GNU C library defines this for functions which it implements |
to always fail with ENOSYS. Some functions are actually named |
to always fail with ENOSYS. Some functions are actually named |
something starting with __ and the normal name is an alias. */ |
something starting with __ and the normal name is an alias. */ |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
choke me |
choke me |
#else |
#else |
f = $ac_func; |
char (*f) () = $ac_func; |
#endif |
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != $ac_func; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:10257: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:10260: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:10263: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:10266: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
eval "$as_ac_var=yes" |
eval "$as_ac_var=yes" |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
eval "$as_ac_var=no" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:10276: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define CRAY_STACKSEG_END $ac_func |
#define CRAY_STACKSEG_END $ac_func |
EOF |
_ACEOF |
|
|
break |
break |
fi |
fi |
|
|
done |
done |
fi |
fi |
|
|
echo "$as_me:10290: checking stack direction for C alloca" >&5 |
echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 |
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 |
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 |
if test "${ac_cv_c_stack_direction+set}" = set; then |
if test "${ac_cv_c_stack_direction+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_cv_c_stack_direction=0 |
ac_cv_c_stack_direction=0 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 10299 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
int |
int |
find_stack_direction () |
find_stack_direction () |
{ |
{ |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest$ac_exeext |
rm -f conftest$ac_exeext |
if { (eval echo "$as_me:10322: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:10325: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
{ (eval echo "$as_me:10327: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:10330: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_c_stack_direction=1 |
ac_cv_c_stack_direction=1 |
else |
else |
echo "$as_me: program exited with status $ac_status" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
( exit $ac_status ) |
ac_cv_c_stack_direction=-1 |
ac_cv_c_stack_direction=-1 |
fi |
fi |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
fi |
fi |
echo "$as_me:10342: result: $ac_cv_c_stack_direction" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 |
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 |
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 |
|
|
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<_ACEOF |
#define STACK_DIRECTION $ac_cv_c_stack_direction |
#define STACK_DIRECTION $ac_cv_c_stack_direction |
EOF |
_ACEOF |
|
|
|
|
fi |
fi |
|
|
fi |
fi |
|
|
if test "$with_kerb5" = "yes"; then |
if test "$with_kerb5" = "yes"; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_KERB5 1 |
#define HAVE_KERB5 1 |
EOF |
_ACEOF |
|
|
if test -f "/usr/local/include/krb5.h"; then |
if test -f "/usr/local/include/krb5.h"; then |
CPPFLAGS="$CPPFLAGS -I/usr/local/include" |
CPPFLAGS="$CPPFLAGS -I/usr/local/include" |
|
|
fi |
fi |
|
|
if test "$with_pam" = "yes"; then |
if test "$with_pam" = "yes"; then |
echo "$as_me:10388: checking for main in -ldl" >&5 |
echo "$as_me:$LINENO: checking for main in -ldl" >&5 |
echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6 |
echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6 |
if test "${ac_cv_lib_dl_main+set}" = set; then |
if test "${ac_cv_lib_dl_main+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-ldl $LIBS" |
LIBS="-ldl $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 10396 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
|
int |
int |
main () |
main () |
{ |
{ |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:10408: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:10411: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:10414: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:10417: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_dl_main=yes |
ac_cv_lib_dl_main=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_dl_main=no |
ac_cv_lib_dl_main=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:10428: result: $ac_cv_lib_dl_main" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5 |
echo "${ECHO_T}$ac_cv_lib_dl_main" >&6 |
echo "${ECHO_T}$ac_cv_lib_dl_main" >&6 |
if test $ac_cv_lib_dl_main = yes; then |
if test $ac_cv_lib_dl_main = yes; then |
SUDO_LIBS="${SUDO_LIBS} -ldl -lpam" |
SUDO_LIBS="${SUDO_LIBS} -lpam -ldl" |
else |
else |
SUDO_LIBS="${SUDO_LIBS} -lpam" |
SUDO_LIBS="${SUDO_LIBS} -lpam" |
fi |
fi |
|
|
|
|
if test "$with_kerb4" = "yes"; then |
if test "$with_kerb4" = "yes"; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_KERB4 1 |
#define HAVE_KERB4 1 |
EOF |
_ACEOF |
|
|
if test -f "/usr/include/kerberosIV/krb.h"; then |
if test -f "/usr/include/kerberosIV/krb.h"; then |
CPPFLAGS="${CPPFLAGS} -I/usr/include/kerberosIV" |
CPPFLAGS="${CPPFLAGS} -I/usr/include/kerberosIV" |
|
|
echo 'Unable to locate kerberos 4 libraries, you will have to edit the Makefile and add -L/path/to/krb/libs to SUDO_LDFLAGS' |
echo 'Unable to locate kerberos 4 libraries, you will have to edit the Makefile and add -L/path/to/krb/libs to SUDO_LDFLAGS' |
fi |
fi |
|
|
echo "$as_me:10467: checking for main in -ldes" >&5 |
echo "$as_me:$LINENO: checking for main in -ldes" >&5 |
echo $ECHO_N "checking for main in -ldes... $ECHO_C" >&6 |
echo $ECHO_N "checking for main in -ldes... $ECHO_C" >&6 |
if test "${ac_cv_lib_des_main+set}" = set; then |
if test "${ac_cv_lib_des_main+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-ldes $LIBS" |
LIBS="-ldes $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 10475 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
|
int |
int |
main () |
main () |
{ |
{ |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:10487: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:10490: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:10493: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:10496: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_des_main=yes |
ac_cv_lib_des_main=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_des_main=no |
ac_cv_lib_des_main=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:10507: result: $ac_cv_lib_des_main" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_des_main" >&5 |
echo "${ECHO_T}$ac_cv_lib_des_main" >&6 |
echo "${ECHO_T}$ac_cv_lib_des_main" >&6 |
if test $ac_cv_lib_des_main = yes; then |
if test $ac_cv_lib_des_main = yes; then |
SUDO_LIBS="${SUDO_LIBS} -lkrb -ldes" |
SUDO_LIBS="${SUDO_LIBS} -lkrb -ldes" |
|
|
else |
else |
echo 'Unable to locate libskey.a and/or skey.h, you will have to edit the Makefile and add -L/path/to/skey/lib to SUDO_LDFLAGS and/or -I/path/to/skey.h to CPPFLAGS' |
echo 'Unable to locate libskey.a and/or skey.h, you will have to edit the Makefile and add -L/path/to/skey/lib to SUDO_LDFLAGS and/or -I/path/to/skey.h to CPPFLAGS' |
fi |
fi |
echo "$as_me:10579: checking for skeyaccess in -lskey" >&5 |
echo "$as_me:$LINENO: checking for skeyaccess in -lskey" >&5 |
echo $ECHO_N "checking for skeyaccess in -lskey... $ECHO_C" >&6 |
echo $ECHO_N "checking for skeyaccess in -lskey... $ECHO_C" >&6 |
if test "${ac_cv_lib_skey_skeyaccess+set}" = set; then |
if test "${ac_cv_lib_skey_skeyaccess+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lskey $LIBS" |
LIBS="-lskey $LIBS" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#line 10587 "configure" |
#line $LINENO "configure" |
#include "confdefs.h" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
#ifdef __cplusplus |
#ifdef __cplusplus |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:10606: \"$ac_link\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:10609: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && |
{ ac_try='test -s conftest$ac_exeext' |
{ ac_try='test -s conftest$ac_exeext' |
{ (eval echo "$as_me:10612: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:10615: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
ac_cv_lib_skey_skeyaccess=yes |
ac_cv_lib_skey_skeyaccess=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_lib_skey_skeyaccess=no |
ac_cv_lib_skey_skeyaccess=no |
fi |
fi |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:10626: result: $ac_cv_lib_skey_skeyaccess" >&5 |
echo "$as_me:$LINENO: result: $ac_cv_lib_skey_skeyaccess" >&5 |
echo "${ECHO_T}$ac_cv_lib_skey_skeyaccess" >&6 |
echo "${ECHO_T}$ac_cv_lib_skey_skeyaccess" >&6 |
if test $ac_cv_lib_skey_skeyaccess = yes; then |
if test $ac_cv_lib_skey_skeyaccess = yes; then |
|
|
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_SKEYACCESS 1 |
#define HAVE_SKEYACCESS 1 |
EOF |
_ACEOF |
|
|
fi |
fi |
|
|
|
|
|
|
if test -n "$with_SecurID" -a "$with_SecurID" != "no"; then |
if test -n "$with_SecurID" -a "$with_SecurID" != "no"; then |
if test "$with_SecurID" != "yes"; then |
if test "$with_SecurID" != "yes"; then |
SUDO_LIBS="${SUDO_LIBS} ${with_SecurID}/sdiclient.a" |
: |
CPPFLAGS="${CPPFLAGS} -I${with_SecurID}" |
elif test -d /usr/ace/examples; then |
elif test -f /usr/ace/examples/sdiclient.a; then |
with_SecurID=/usr/ace/examples |
SUDO_LIBS="${SUDO_LIBS} /usr/ace/examples/sdiclient.a" |
|
CPPFLAGS="${CPPFLAGS} -I/usr/ace/examples" |
|
else |
else |
SUDO_LIBS="${SUDO_LIBS} /usr/ace/sdiclient.a" |
with_SecurID=/usr/ace |
CPPFLAGS="${CPPFLAGS} -I/usr/ace" |
|
fi |
fi |
|
CPPFLAGS="${CPPFLAGS} -I${with_SecurID}" |
|
_LDFLAGS="${LDFLAGS}" |
|
LDFLAGS="${LDFLAGS} -L${with_SecurID}" |
|
# |
|
# Determine whether to use the new or old SecurID API |
|
# |
|
echo "$as_me:$LINENO: checking for SD_Init in -laceclnt" >&5 |
|
echo $ECHO_N "checking for SD_Init in -laceclnt... $ECHO_C" >&6 |
|
if test "${ac_cv_lib_aceclnt_SD_Init_lpthread+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-laceclnt -lpthread $LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char SD_Init (); |
|
int |
|
main () |
|
{ |
|
SD_Init (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
(eval $ac_link) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; }; then |
|
ac_cv_lib_aceclnt_SD_Init_lpthread=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_aceclnt_SD_Init_lpthread=no |
fi |
fi |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_aceclnt_SD_Init_lpthread" >&5 |
|
echo "${ECHO_T}$ac_cv_lib_aceclnt_SD_Init_lpthread" >&6 |
|
if test $ac_cv_lib_aceclnt_SD_Init_lpthread = yes; then |
|
AUTH_OBJS="securid5.o"; SUDO_LIBS="${SUDO_LIBS} -laceclnt -lpthread"; SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_SecurID}" |
|
else |
|
AUTH_OBJS="securid.o"; SUDO_LIBS="${SUDO_LIBS} ${with_SecurID}/sdiclient.a" |
|
fi |
|
|
|
LDFLAGS="${_LDFLAGS}" |
|
fi |
|
|
if test "$with_fwtk" = "yes"; then |
if test "$with_fwtk" = "yes"; then |
SUDO_LIBS="${SUDO_LIBS} -lauth -lfwall" |
SUDO_LIBS="${SUDO_LIBS} -lauth -lfwall" |
fi |
fi |
|
|
SUDO_LIBS="${SUDO_LIBS} -ls" |
SUDO_LIBS="${SUDO_LIBS} -ls" |
fi |
fi |
|
|
echo "$as_me:10671: checking for log file location" >&5 |
echo "$as_me:$LINENO: checking for log file location" >&5 |
echo $ECHO_N "checking for log file location... $ECHO_C" >&6 |
echo $ECHO_N "checking for log file location... $ECHO_C" >&6 |
if test -n "$with_logpath"; then |
if test -n "$with_logpath"; then |
echo "$as_me:10674: result: $with_logpath" >&5 |
echo "$as_me:$LINENO: result: $with_logpath" >&5 |
echo "${ECHO_T}$with_logpath" >&6 |
echo "${ECHO_T}$with_logpath" >&6 |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<EOF |
#define _PATH_SUDO_LOGFILE "$with_logpath" |
#define _PATH_SUDO_LOGFILE "$with_logpath" |
EOF |
EOF |
|
|
elif test -d "/var/log"; then |
elif test -d "/var/log"; then |
echo "$as_me:10681: result: /var/log/sudo.log" >&5 |
echo "$as_me:$LINENO: result: /var/log/sudo.log" >&5 |
echo "${ECHO_T}/var/log/sudo.log" >&6 |
echo "${ECHO_T}/var/log/sudo.log" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_SUDO_LOGFILE "/var/log/sudo.log" |
#define _PATH_SUDO_LOGFILE "/var/log/sudo.log" |
EOF |
EOF |
|
|
elif test -d "/var/adm"; then |
elif test -d "/var/adm"; then |
echo "$as_me:10688: result: /var/adm/sudo.log" >&5 |
echo "$as_me:$LINENO: result: /var/adm/sudo.log" >&5 |
echo "${ECHO_T}/var/adm/sudo.log" >&6 |
echo "${ECHO_T}/var/adm/sudo.log" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_SUDO_LOGFILE "/var/adm/sudo.log" |
#define _PATH_SUDO_LOGFILE "/var/adm/sudo.log" |
EOF |
EOF |
|
|
elif test -d "/usr/adm"; then |
elif test -d "/usr/adm"; then |
echo "$as_me:10695: result: /usr/adm/sudo.log" >&5 |
echo "$as_me:$LINENO: result: /usr/adm/sudo.log" >&5 |
echo "${ECHO_T}/usr/adm/sudo.log" >&6 |
echo "${ECHO_T}/usr/adm/sudo.log" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_SUDO_LOGFILE "/usr/adm/sudo.log" |
#define _PATH_SUDO_LOGFILE "/usr/adm/sudo.log" |
EOF |
EOF |
|
|
else |
else |
echo "$as_me:10702: result: unknown" >&5 |
echo "$as_me:$LINENO: result: unknown" >&5 |
echo "${ECHO_T}unknown" >&6 |
echo "${ECHO_T}unknown" >&6 |
fi |
fi |
|
|
echo "$as_me:10706: checking for timestamp file location" >&5 |
echo "$as_me:$LINENO: checking for timestamp file location" >&5 |
echo $ECHO_N "checking for timestamp file location... $ECHO_C" >&6 |
echo $ECHO_N "checking for timestamp file location... $ECHO_C" >&6 |
if test -n "$with_timedir"; then |
if test -n "$with_timedir"; then |
echo "$as_me:10709: result: $with_timedir" >&5 |
echo "$as_me:$LINENO: result: $with_timedir" >&5 |
echo "${ECHO_T}$with_timedir" >&6 |
echo "${ECHO_T}$with_timedir" >&6 |
cat >>confdefs.h <<EOF |
cat >>confdefs.h <<EOF |
#define _PATH_SUDO_TIMEDIR "$with_timedir" |
#define _PATH_SUDO_TIMEDIR "$with_timedir" |
|
|
|
|
timedir="$with_timedir" |
timedir="$with_timedir" |
elif test -d "/var/run"; then |
elif test -d "/var/run"; then |
echo "$as_me:10717: result: /var/run/sudo" >&5 |
echo "$as_me:$LINENO: result: /var/run/sudo" >&5 |
echo "${ECHO_T}/var/run/sudo" >&6 |
echo "${ECHO_T}/var/run/sudo" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_SUDO_TIMEDIR "/var/run/sudo" |
#define _PATH_SUDO_TIMEDIR "/var/run/sudo" |
|
|
|
|
timedir="/var/run/sudo" |
timedir="/var/run/sudo" |
else |
else |
echo "$as_me:10725: result: /tmp/.odus" >&5 |
echo "$as_me:$LINENO: result: /tmp/.odus" >&5 |
echo "${ECHO_T}/tmp/.odus" >&6 |
echo "${ECHO_T}/tmp/.odus" >&6 |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_SUDO_TIMEDIR "/tmp/.odus" |
#define _PATH_SUDO_TIMEDIR "/tmp/.odus" |
|
|
timedir="/tmp/.odus" |
timedir="/tmp/.odus" |
fi |
fi |
|
|
|
|
if test "$with_passwd" = "no"; then |
if test "$with_passwd" = "no"; then |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\_ACEOF |
#define WITHOUT_PASSWD 1. Define to avoid using the passwd/shadow file for authentication. |
#define WITHOUT_PASSWD 1. Define to avoid using the passwd/shadow file for authentication. |
EOF |
_ACEOF |
|
|
if test -z "$AUTH_OBJS"; then |
if test -z "$AUTH_OBJS"; then |
{ { echo "$as_me:10740: error: no authentication methods defined." >&5 |
{ { echo "$as_me:$LINENO: error: no authentication methods defined." >&5 |
echo "$as_me: error: no authentication methods defined." >&2;} |
echo "$as_me: error: no authentication methods defined." >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi |
fi |
|
|
|
|
test "$exec_prefix" = "NONE" && exec_prefix='$(prefix)' |
test "$exec_prefix" = "NONE" && exec_prefix='$(prefix)' |
|
|
ac_config_files="$ac_config_files Makefile sudo.man visudo.man sudoers.man" |
ac_config_files="$ac_config_files Makefile sudo.man visudo.man sudoers.man" |
cat >confcache <<\_ACEOF |
cat >confcache <<\_ACEOF |
# This file is a shell script that caches the results of configure |
# This file is a shell script that caches the results of configure |
# tests run on this system so they can be shared between configure |
# tests run on this system so they can be shared between configure |
|
|
# config.status only pays attention to the cache file if you give it |
# config.status only pays attention to the cache file if you give it |
# the --recheck option to rerun configure. |
# the --recheck option to rerun configure. |
# |
# |
# `ac_cv_env_foo' variables (set or unset) will be overriden when |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
# following values. |
# following values. |
|
|
|
|
t end |
t end |
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
: end' >>confcache |
: end' >>confcache |
if cmp -s $cache_file confcache; then :; else |
if diff $cache_file confcache >/dev/null 2>&1; then :; else |
if test -w $cache_file; then |
if test -w $cache_file; then |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
cat confcache >$cache_file |
cat confcache >$cache_file |
|
|
|
|
DEFS=-DHAVE_CONFIG_H |
DEFS=-DHAVE_CONFIG_H |
|
|
|
ac_libobjs= |
|
ac_ltlibobjs= |
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
|
# 1. Remove the extension, and $U if already installed. |
|
ac_i=`echo "$ac_i" | |
|
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
|
# 2. Add them. |
|
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
|
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
|
done |
|
LIBOBJS=$ac_libobjs |
|
|
|
LTLIBOBJS=$ac_ltlibobjs |
|
|
|
|
|
|
: ${CONFIG_STATUS=./config.status} |
: ${CONFIG_STATUS=./config.status} |
ac_clean_files_save=$ac_clean_files |
ac_clean_files_save=$ac_clean_files |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
{ echo "$as_me:10846: creating $CONFIG_STATUS" >&5 |
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
echo "$as_me: creating $CONFIG_STATUS" >&6;} |
echo "$as_me: creating $CONFIG_STATUS" >&6;} |
cat >$CONFIG_STATUS <<_ACEOF |
cat >$CONFIG_STATUS <<_ACEOF |
#! $SHELL |
#! $SHELL |
# Generated automatically by configure. |
# Generated by $as_me. |
# Run this file to recreate the current configuration. |
# Run this file to recreate the current configuration. |
# Compiler output produced by configure, useful for debugging |
# Compiler output produced by configure, useful for debugging |
# configure, is in config.log if it exists. |
# configure, is in config.log if it exists. |
|
|
debug=false |
debug=false |
|
ac_cs_recheck=false |
|
ac_cs_silent=false |
SHELL=\${CONFIG_SHELL-$SHELL} |
SHELL=\${CONFIG_SHELL-$SHELL} |
ac_cs_invocation="\$0 \$@" |
|
|
|
_ACEOF |
_ACEOF |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
|
## --------------------- ## |
|
## M4sh Initialization. ## |
|
## --------------------- ## |
|
|
# Be Bourne compatible |
# Be Bourne compatible |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
emulate sh |
emulate sh |
NULLCMD=: |
NULLCMD=: |
|
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
|
# is contrary to our usage. Disable this feature. |
|
alias -g '${1+"$@"}'='"$@"' |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
set -o posix |
set -o posix |
fi |
fi |
|
|
|
# Support unset when possible. |
|
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
|
as_unset=unset |
|
else |
|
as_unset=false |
|
fi |
|
|
|
|
|
# Work around bugs in pre-3.0 UWIN ksh. |
|
$as_unset ENV MAIL MAILPATH |
|
PS1='$ ' |
|
PS2='> ' |
|
PS4='+ ' |
|
|
|
# NLS nuisances. |
|
for as_var in \ |
|
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
|
LC_TELEPHONE LC_TIME |
|
do |
|
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
|
eval $as_var=C; export $as_var |
|
else |
|
$as_unset $as_var |
|
fi |
|
done |
|
|
|
# Required to use basename. |
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
|
as_expr=expr |
|
else |
|
as_expr=false |
|
fi |
|
|
|
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
|
as_basename=basename |
|
else |
|
as_basename=false |
|
fi |
|
|
|
|
# Name of the executable. |
# Name of the executable. |
as_me=`echo "$0" |sed 's,.*[\\/],,'` |
as_me=`$as_basename "$0" || |
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
X"$0" : 'X\(//\)$' \| \ |
|
X"$0" : 'X\(/\)$' \| \ |
|
. : '\(.\)' 2>/dev/null || |
|
echo X/"$0" | |
|
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
|
/^X\/\(\/\/\)$/{ s//\1/; q; } |
|
/^X\/\(\/\).*/{ s//\1/; q; } |
|
s/.*/./; q'` |
|
|
|
|
|
# PATH needs CR, and LINENO needs CR and PATH. |
|
# Avoid depending upon Character Ranges. |
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
as_cr_digits='0123456789' |
|
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
|
|
# The user is always right. |
|
if test "${PATH_SEPARATOR+set}" != set; then |
|
echo "#! /bin/sh" >conf$$.sh |
|
echo "exit 0" >>conf$$.sh |
|
chmod +x conf$$.sh |
|
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
|
PATH_SEPARATOR=';' |
|
else |
|
PATH_SEPARATOR=: |
|
fi |
|
rm -f conf$$.sh |
|
fi |
|
|
|
|
|
as_lineno_1=$LINENO |
|
as_lineno_2=$LINENO |
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
|
test "x$as_lineno_3" = "x$as_lineno_2" || { |
|
# Find who we are. Look in the path if we contain no path at all |
|
# relative or not. |
|
case $0 in |
|
*[\\/]* ) as_myself=$0 ;; |
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in $PATH |
|
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
done |
|
|
|
;; |
|
esac |
|
# We did not find ourselves, most probably we were run as `sh COMMAND' |
|
# in which case we are not to be found in the path. |
|
if test "x$as_myself" = x; then |
|
as_myself=$0 |
|
fi |
|
if test ! -f "$as_myself"; then |
|
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
|
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
case $CONFIG_SHELL in |
|
'') |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
|
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
for as_base in sh bash ksh sh5; do |
|
case $as_dir in |
|
/*) |
|
if ("$as_dir/$as_base" -c ' |
|
as_lineno_1=$LINENO |
|
as_lineno_2=$LINENO |
|
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
|
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
|
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
|
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
|
CONFIG_SHELL=$as_dir/$as_base |
|
export CONFIG_SHELL |
|
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
|
fi;; |
|
esac |
|
done |
|
done |
|
;; |
|
esac |
|
|
|
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|
# uniformly replaced by the line number. The first 'sed' inserts a |
|
# line-number line before each line; the second 'sed' does the real |
|
# work. The second script uses 'N' to pair each line-number line |
|
# with the numbered line, and appends trailing '-' during |
|
# substitution so that $LINENO is not a special case at line end. |
|
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
|
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
|
sed '=' <$as_myself | |
|
sed ' |
|
N |
|
s,$,-, |
|
: loop |
|
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
|
t loop |
|
s,-$,, |
|
s,^['$as_cr_digits']*\n,, |
|
' >$as_me.lineno && |
|
chmod +x $as_me.lineno || |
|
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
|
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
|
|
# Don't try to exec as it changes $[0], causing all sort of problems |
|
# (the dirname of $[0] is not the place where we might find the |
|
# original and so on. Autoconf is especially sensible to this). |
|
. ./$as_me.lineno |
|
# Exit status is that of the last command. |
|
exit |
|
} |
|
|
|
|
|
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
|
*c*,-n*) ECHO_N= ECHO_C=' |
|
' ECHO_T=' ' ;; |
|
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
|
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
|
esac |
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
if expr a : '\(a\)' >/dev/null 2>&1; then |
as_expr=expr |
as_expr=expr |
else |
else |
|
|
fi |
fi |
rm -f conf$$ conf$$.exe conf$$.file |
rm -f conf$$ conf$$.exe conf$$.file |
|
|
as_executable_p="test -f" |
if mkdir -p . 2>/dev/null; then |
|
as_mkdir_p=: |
# Support unset when possible. |
|
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
|
as_unset=unset |
|
else |
else |
as_unset=false |
as_mkdir_p=false |
fi |
fi |
|
|
# NLS nuisances. |
as_executable_p="test -f" |
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } |
|
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } |
|
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } |
|
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } |
|
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } |
|
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } |
|
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } |
|
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } |
|
|
|
|
# Sed expression to map a string onto a valid CPP name. |
|
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
|
|
|
# Sed expression to map a string onto a valid variable name. |
|
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
|
|
|
|
# IFS |
# IFS |
# We need space, tab and new line, in precisely that order. |
# We need space, tab and new line, in precisely that order. |
as_nl=' |
as_nl=' |
|
|
IFS=" $as_nl" |
IFS=" $as_nl" |
|
|
# CDPATH. |
# CDPATH. |
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } |
$as_unset CDPATH |
|
|
exec 6>&1 |
exec 6>&1 |
|
|
|
# Open the log real soon, to keep \$[0] and so on meaningful, and to |
|
# report actual input values of CONFIG_FILES etc. instead of their |
|
# values after options handling. Logging --version etc. is OK. |
|
exec 5>>config.log |
|
{ |
|
echo |
|
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
## Running $as_me. ## |
|
_ASBOX |
|
} >&5 |
|
cat >&5 <<_CSEOF |
|
|
|
This file was extended by sudo $as_me 1.6.7, which was |
|
generated by GNU Autoconf 2.57. Invocation command line was |
|
|
|
CONFIG_FILES = $CONFIG_FILES |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
|
CONFIG_LINKS = $CONFIG_LINKS |
|
CONFIG_COMMANDS = $CONFIG_COMMANDS |
|
$ $0 $@ |
|
|
|
_CSEOF |
|
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
|
echo >&5 |
_ACEOF |
_ACEOF |
|
|
# Files that config.status was made for. |
# Files that config.status was made for. |
|
|
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
fi |
fi |
|
|
cat >>$CONFIG_STATUS <<\EOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
ac_cs_usage="\ |
ac_cs_usage="\ |
\`$as_me' instantiates files from templates according to the |
\`$as_me' instantiates files from templates according to the |
|
|
|
|
-h, --help print this help, then exit |
-h, --help print this help, then exit |
-V, --version print version number, then exit |
-V, --version print version number, then exit |
|
-q, --quiet do not print progress messages |
-d, --debug don't remove temporary files |
-d, --debug don't remove temporary files |
--recheck update $as_me by reconfiguring in the same conditions |
--recheck update $as_me by reconfiguring in the same conditions |
--file=FILE[:TEMPLATE] |
--file=FILE[:TEMPLATE] |
|
|
$config_headers |
$config_headers |
|
|
Report bugs to <bug-autoconf@gnu.org>." |
Report bugs to <bug-autoconf@gnu.org>." |
EOF |
_ACEOF |
|
|
cat >>$CONFIG_STATUS <<EOF |
cat >>$CONFIG_STATUS <<_ACEOF |
ac_cs_version="\\ |
ac_cs_version="\\ |
sudo config.status 1.6.6 |
sudo config.status 1.6.7 |
configured by $0, generated by GNU Autoconf 2.52, |
configured by $0, generated by GNU Autoconf 2.57, |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
|
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
|
|
This config.status script is free software; the Free Software Foundation |
This config.status script is free software; the Free Software Foundation |
gives unlimited permission to copy, distribute and modify it." |
gives unlimited permission to copy, distribute and modify it." |
srcdir=$srcdir |
srcdir=$srcdir |
EOF |
_ACEOF |
|
|
cat >>$CONFIG_STATUS <<\EOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
# If no file are specified by the user, then we need to provide default |
# If no file are specified by the user, then we need to provide default |
# value. By we need to know if files were specified by the user. |
# value. By we need to know if files were specified by the user. |
ac_need_defaults=: |
ac_need_defaults=: |
|
|
--*=*) |
--*=*) |
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
shift |
ac_shift=: |
set dummy "$ac_option" "$ac_optarg" ${1+"$@"} |
|
shift |
|
;; |
;; |
-*);; |
-*) |
|
ac_option=$1 |
|
ac_optarg=$2 |
|
ac_shift=shift |
|
;; |
*) # This is not an option, so the user has probably given explicit |
*) # This is not an option, so the user has probably given explicit |
# arguments. |
# arguments. |
|
ac_option=$1 |
ac_need_defaults=false;; |
ac_need_defaults=false;; |
esac |
esac |
|
|
case $1 in |
case $ac_option in |
# Handling of the options. |
# Handling of the options. |
EOF |
_ACEOF |
cat >>$CONFIG_STATUS <<EOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" |
ac_cs_recheck=: ;; |
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; |
|
EOF |
|
cat >>$CONFIG_STATUS <<\EOF |
|
--version | --vers* | -V ) |
--version | --vers* | -V ) |
echo "$ac_cs_version"; exit 0 ;; |
echo "$ac_cs_version"; exit 0 ;; |
--he | --h) |
--he | --h) |
# Conflict between --help and --header |
# Conflict between --help and --header |
{ { echo "$as_me:11018: error: ambiguous option: $1 |
{ { echo "$as_me:$LINENO: error: ambiguous option: $1 |
Try \`$0 --help' for more information." >&5 |
Try \`$0 --help' for more information." >&5 |
echo "$as_me: error: ambiguous option: $1 |
echo "$as_me: error: ambiguous option: $1 |
Try \`$0 --help' for more information." >&2;} |
Try \`$0 --help' for more information." >&2;} |
|
|
--debug | --d* | -d ) |
--debug | --d* | -d ) |
debug=: ;; |
debug=: ;; |
--file | --fil | --fi | --f ) |
--file | --fil | --fi | --f ) |
shift |
$ac_shift |
CONFIG_FILES="$CONFIG_FILES $1" |
CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
ac_need_defaults=false;; |
ac_need_defaults=false;; |
--header | --heade | --head | --hea ) |
--header | --heade | --head | --hea ) |
shift |
$ac_shift |
CONFIG_HEADERS="$CONFIG_HEADERS $1" |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
ac_need_defaults=false;; |
ac_need_defaults=false;; |
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
ac_cs_silent=: ;; |
|
|
# This is an error. |
# This is an error. |
-*) { { echo "$as_me:11037: error: unrecognized option: $1 |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
Try \`$0 --help' for more information." >&5 |
Try \`$0 --help' for more information." >&5 |
echo "$as_me: error: unrecognized option: $1 |
echo "$as_me: error: unrecognized option: $1 |
Try \`$0 --help' for more information." >&2;} |
Try \`$0 --help' for more information." >&2;} |
|
|
shift |
shift |
done |
done |
|
|
exec 5>>config.log |
ac_configure_extra_args= |
cat >&5 << _ACEOF |
|
|
|
## ----------------------- ## |
if $ac_cs_silent; then |
## Running config.status. ## |
exec 6>/dev/null |
## ----------------------- ## |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
fi |
|
|
This file was extended by $as_me (sudo 1.6.6) 2.52, executed with |
_ACEOF |
CONFIG_FILES = $CONFIG_FILES |
cat >>$CONFIG_STATUS <<_ACEOF |
CONFIG_HEADERS = $CONFIG_HEADERS |
if \$ac_cs_recheck; then |
CONFIG_LINKS = $CONFIG_LINKS |
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
> $ac_cs_invocation |
fi |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
|
|
_ACEOF |
_ACEOF |
EOF |
|
|
|
cat >>$CONFIG_STATUS <<\EOF |
|
|
|
|
|
|
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
for ac_config_target in $ac_config_targets |
for ac_config_target in $ac_config_targets |
do |
do |
case "$ac_config_target" in |
case "$ac_config_target" in |
|
|
"sudoers.man" ) CONFIG_FILES="$CONFIG_FILES sudoers.man" ;; |
"sudoers.man" ) CONFIG_FILES="$CONFIG_FILES sudoers.man" ;; |
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
"pathnames.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pathnames.h" ;; |
"pathnames.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pathnames.h" ;; |
*) { { echo "$as_me:11078: error: invalid argument: $ac_config_target" >&5 |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
{ (exit 1); exit 1; }; };; |
{ (exit 1); exit 1; }; };; |
esac |
esac |
|
|
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
fi |
fi |
|
|
|
# Have a temporary directory for convenience. Make it in the build tree |
|
# simply because there is no reason to put it here, and in addition, |
|
# creating and moving files from /tmp can sometimes cause problems. |
# Create a temporary directory, and hook for its removal unless debugging. |
# Create a temporary directory, and hook for its removal unless debugging. |
$debug || |
$debug || |
{ |
{ |
|
|
} |
} |
|
|
# Create a (secure) tmp directory for tmp files. |
# Create a (secure) tmp directory for tmp files. |
: ${TMPDIR=/tmp} |
|
{ |
{ |
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && |
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
test -n "$tmp" && test -d "$tmp" |
test -n "$tmp" && test -d "$tmp" |
} || |
} || |
{ |
{ |
tmp=$TMPDIR/cs$$-$RANDOM |
tmp=./confstat$$-$RANDOM |
(umask 077 && mkdir $tmp) |
(umask 077 && mkdir $tmp) |
} || |
} || |
{ |
{ |
echo "$me: cannot create a temporary directory in $TMPDIR" >&2 |
echo "$me: cannot create a temporary directory in ." >&2 |
{ (exit 1); exit 1; } |
{ (exit 1); exit 1; } |
} |
} |
|
|
EOF |
_ACEOF |
|
|
cat >>$CONFIG_STATUS <<EOF |
cat >>$CONFIG_STATUS <<_ACEOF |
|
|
# |
# |
# CONFIG_FILES section. |
# CONFIG_FILES section. |
|
|
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
s,@SHELL@,$SHELL,;t t |
s,@SHELL@,$SHELL,;t t |
|
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
|
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
|
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
|
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
|
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
|
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
s,@exec_prefix@,$exec_prefix,;t t |
s,@exec_prefix@,$exec_prefix,;t t |
s,@prefix@,$prefix,;t t |
s,@prefix@,$prefix,;t t |
s,@program_transform_name@,$program_transform_name,;t t |
s,@program_transform_name@,$program_transform_name,;t t |
|
|
s,@oldincludedir@,$oldincludedir,;t t |
s,@oldincludedir@,$oldincludedir,;t t |
s,@infodir@,$infodir,;t t |
s,@infodir@,$infodir,;t t |
s,@mandir@,$mandir,;t t |
s,@mandir@,$mandir,;t t |
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
|
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
|
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
|
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
|
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
|
s,@build_alias@,$build_alias,;t t |
s,@build_alias@,$build_alias,;t t |
s,@host_alias@,$host_alias,;t t |
s,@host_alias@,$host_alias,;t t |
s,@target_alias@,$target_alias,;t t |
s,@target_alias@,$target_alias,;t t |
|
s,@DEFS@,$DEFS,;t t |
s,@ECHO_C@,$ECHO_C,;t t |
s,@ECHO_C@,$ECHO_C,;t t |
s,@ECHO_N@,$ECHO_N,;t t |
s,@ECHO_N@,$ECHO_N,;t t |
s,@ECHO_T@,$ECHO_T,;t t |
s,@ECHO_T@,$ECHO_T,;t t |
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
|
s,@DEFS@,$DEFS,;t t |
|
s,@LIBS@,$LIBS,;t t |
s,@LIBS@,$LIBS,;t t |
s,@CFLAGS@,$CFLAGS,;t t |
s,@CFLAGS@,$CFLAGS,;t t |
s,@PROGS@,$PROGS,;t t |
s,@PROGS@,$PROGS,;t t |
|
|
s,@AFS_LIBS@,$AFS_LIBS,;t t |
s,@AFS_LIBS@,$AFS_LIBS,;t t |
s,@OSDEFS@,$OSDEFS,;t t |
s,@OSDEFS@,$OSDEFS,;t t |
s,@AUTH_OBJS@,$AUTH_OBJS,;t t |
s,@AUTH_OBJS@,$AUTH_OBJS,;t t |
s,@LIBOBJS@,$LIBOBJS,;t t |
|
s,@MANTYPE@,$MANTYPE,;t t |
s,@MANTYPE@,$MANTYPE,;t t |
s,@MAN_POSTINSTALL@,$MAN_POSTINSTALL,;t t |
s,@MAN_POSTINSTALL@,$MAN_POSTINSTALL,;t t |
s,@SUDOERS_MODE@,$SUDOERS_MODE,;t t |
s,@SUDOERS_MODE@,$SUDOERS_MODE,;t t |
|
|
s,@host_cpu@,$host_cpu,;t t |
s,@host_cpu@,$host_cpu,;t t |
s,@host_vendor@,$host_vendor,;t t |
s,@host_vendor@,$host_vendor,;t t |
s,@host_os@,$host_os,;t t |
s,@host_os@,$host_os,;t t |
|
s,@EGREP@,$EGREP,;t t |
s,@YACC@,$YACC,;t t |
s,@YACC@,$YACC,;t t |
|
s,@LIBOBJS@,$LIBOBJS,;t t |
s,@ALLOCA@,$ALLOCA,;t t |
s,@ALLOCA@,$ALLOCA,;t t |
|
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
CEOF |
CEOF |
|
|
EOF |
_ACEOF |
|
|
cat >>$CONFIG_STATUS <<\EOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
# Split the substitutions into bite-sized pieces for seds with |
# Split the substitutions into bite-sized pieces for seds with |
# small command number limits, like on Digital OSF/1 and HP-UX. |
# small command number limits, like on Digital OSF/1 and HP-UX. |
ac_max_sed_lines=48 |
ac_max_sed_lines=48 |
|
|
fi |
fi |
fi # test -n "$CONFIG_FILES" |
fi # test -n "$CONFIG_FILES" |
|
|
EOF |
_ACEOF |
cat >>$CONFIG_STATUS <<\EOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
case $ac_file in |
case $ac_file in |
|
|
esac |
esac |
|
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
X"$ac_file" : 'X\(//\)$' \| \ |
X"$ac_file" : 'X\(//\)$' \| \ |
X"$ac_file" : 'X\(/\)' \| \ |
X"$ac_file" : 'X\(/\)' \| \ |
|
|
/^X\(\/\/\)$/{ s//\1/; q; } |
/^X\(\/\/\)$/{ s//\1/; q; } |
/^X\(\/\).*/{ s//\1/; q; } |
/^X\(\/\).*/{ s//\1/; q; } |
s/.*/./; q'` |
s/.*/./; q'` |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
{ if $as_mkdir_p; then |
{ case "$ac_dir" in |
mkdir -p "$ac_dir" |
[\\/]* | ?:[\\/]* ) as_incr_dir=;; |
|
*) as_incr_dir=.;; |
|
esac |
|
as_dummy="$ac_dir" |
|
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do |
|
case $as_mkdir_dir in |
|
# Skip DOS drivespec |
|
?:) as_incr_dir=$as_mkdir_dir ;; |
|
*) |
|
as_incr_dir=$as_incr_dir/$as_mkdir_dir |
|
test -d "$as_incr_dir" || mkdir "$as_incr_dir" |
|
;; |
|
esac |
|
done; } |
|
|
|
ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" |
|
# A "../" for each directory in $ac_dir_suffix. |
|
ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` |
|
else |
else |
ac_dir_suffix= ac_dots= |
as_dir="$ac_dir" |
fi |
as_dirs= |
|
while test ! -d "$as_dir"; do |
|
as_dirs="$as_dir $as_dirs" |
|
as_dir=`(dirname "$as_dir") 2>/dev/null || |
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
X"$as_dir" : 'X\(//\)$' \| \ |
|
X"$as_dir" : 'X\(/\)' \| \ |
|
. : '\(.\)' 2>/dev/null || |
|
echo X"$as_dir" | |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
|
/^X\(\/\).*/{ s//\1/; q; } |
|
s/.*/./; q'` |
|
done |
|
test ! -n "$as_dirs" || mkdir $as_dirs |
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
|
{ (exit 1); exit 1; }; }; } |
|
|
case $srcdir in |
ac_builddir=. |
.) ac_srcdir=. |
|
if test -z "$ac_dots"; then |
if test "$ac_dir" != .; then |
ac_top_srcdir=. |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
else |
# A "../" for each directory in $ac_dir_suffix. |
ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
fi ;; |
else |
[\\/]* | ?:[\\/]* ) |
ac_dir_suffix= ac_top_builddir= |
ac_srcdir=$srcdir$ac_dir_suffix; |
fi |
ac_top_srcdir=$srcdir ;; |
|
|
case $srcdir in |
|
.) # No --srcdir option. We are building in place. |
|
ac_srcdir=. |
|
if test -z "$ac_top_builddir"; then |
|
ac_top_srcdir=. |
|
else |
|
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
|
fi ;; |
|
[\\/]* | ?:[\\/]* ) # Absolute path. |
|
ac_srcdir=$srcdir$ac_dir_suffix; |
|
ac_top_srcdir=$srcdir ;; |
*) # Relative path. |
*) # Relative path. |
ac_srcdir=$ac_dots$srcdir$ac_dir_suffix |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
ac_top_srcdir=$ac_dots$srcdir ;; |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
esac |
esac |
|
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
|
# absolute. |
|
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
|
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
|
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
|
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
|
|
|
|
|
|
if test x"$ac_file" != x-; then |
if test x"$ac_file" != x-; then |
{ echo "$as_me:11332: creating $ac_file" >&5 |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
echo "$as_me: creating $ac_file" >&6;} |
echo "$as_me: creating $ac_file" >&6;} |
rm -f "$ac_file" |
rm -f "$ac_file" |
fi |
fi |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
# use $as_me), people would be surprised to read: |
# use $as_me), people would be surprised to read: |
# /* config.h. Generated automatically by config.status. */ |
# /* config.h. Generated by config.status. */ |
configure_input="Generated automatically from `echo $ac_file_in | |
if test x"$ac_file" = x-; then |
sed 's,.*/,,'` by configure." |
configure_input= |
|
else |
|
configure_input="$ac_file. " |
|
fi |
|
configure_input=$configure_input"Generated from `echo $ac_file_in | |
|
sed 's,.*/,,'` by configure." |
|
|
# First look for the input files in the build tree, otherwise in the |
# First look for the input files in the build tree, otherwise in the |
# src tree. |
# src tree. |
|
|
-) echo $tmp/stdin ;; |
-) echo $tmp/stdin ;; |
[\\/$]*) |
[\\/$]*) |
# Absolute (can't be DOS-style, as IFS=:) |
# Absolute (can't be DOS-style, as IFS=:) |
test -f "$f" || { { echo "$as_me:11350: error: cannot find input file: $f" >&5 |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
echo "$as_me: error: cannot find input file: $f" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
echo $f;; |
echo $f;; |
|
|
echo $srcdir/$f |
echo $srcdir/$f |
else |
else |
# /dev/null tree |
# /dev/null tree |
{ { echo "$as_me:11363: error: cannot find input file: $f" >&5 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
echo "$as_me: error: cannot find input file: $f" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi;; |
fi;; |
esac |
esac |
done` || { (exit 1); exit 1; } |
done` || { (exit 1); exit 1; } |
EOF |
_ACEOF |
cat >>$CONFIG_STATUS <<EOF |
cat >>$CONFIG_STATUS <<_ACEOF |
sed "$ac_vpsub |
sed "$ac_vpsub |
$extrasub |
$extrasub |
EOF |
_ACEOF |
cat >>$CONFIG_STATUS <<\EOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
:t |
:t |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
s,@configure_input@,$configure_input,;t t |
s,@configure_input@,$configure_input,;t t |
s,@srcdir@,$ac_srcdir,;t t |
s,@srcdir@,$ac_srcdir,;t t |
|
s,@abs_srcdir@,$ac_abs_srcdir,;t t |
s,@top_srcdir@,$ac_top_srcdir,;t t |
s,@top_srcdir@,$ac_top_srcdir,;t t |
|
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
|
s,@builddir@,$ac_builddir,;t t |
|
s,@abs_builddir@,$ac_abs_builddir,;t t |
|
s,@top_builddir@,$ac_top_builddir,;t t |
|
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
rm -f $tmp/stdin |
rm -f $tmp/stdin |
if test x"$ac_file" != x-; then |
if test x"$ac_file" != x-; then |
|
|
fi |
fi |
|
|
done |
done |
EOF |
_ACEOF |
cat >>$CONFIG_STATUS <<\EOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
# |
# |
# CONFIG_HEADER section. |
# CONFIG_HEADER section. |
|
|
* ) ac_file_in=$ac_file.in ;; |
* ) ac_file_in=$ac_file.in ;; |
esac |
esac |
|
|
test x"$ac_file" != x- && { echo "$as_me:11423: creating $ac_file" >&5 |
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
echo "$as_me: creating $ac_file" >&6;} |
echo "$as_me: creating $ac_file" >&6;} |
|
|
# First look for the input files in the build tree, otherwise in the |
# First look for the input files in the build tree, otherwise in the |
|
|
-) echo $tmp/stdin ;; |
-) echo $tmp/stdin ;; |
[\\/$]*) |
[\\/$]*) |
# Absolute (can't be DOS-style, as IFS=:) |
# Absolute (can't be DOS-style, as IFS=:) |
test -f "$f" || { { echo "$as_me:11434: error: cannot find input file: $f" >&5 |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
echo "$as_me: error: cannot find input file: $f" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
echo $f;; |
echo $f;; |
|
|
echo $srcdir/$f |
echo $srcdir/$f |
else |
else |
# /dev/null tree |
# /dev/null tree |
{ { echo "$as_me:11447: error: cannot find input file: $f" >&5 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
echo "$as_me: error: cannot find input file: $f" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi;; |
fi;; |
|
|
# Remove the trailing spaces. |
# Remove the trailing spaces. |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
|
|
EOF |
_ACEOF |
|
|
# Transform confdefs.h into two sed scripts, `conftest.defines' and |
# Transform confdefs.h into two sed scripts, `conftest.defines' and |
# `conftest.undefs', that substitutes the proper values into |
# `conftest.undefs', that substitutes the proper values into |
|
|
# `end' is used to avoid that the second main sed command (meant for |
# `end' is used to avoid that the second main sed command (meant for |
# 0-ary CPP macros) applies to n-ary macro definitions. |
# 0-ary CPP macros) applies to n-ary macro definitions. |
# See the Autoconf documentation for `clear'. |
# See the Autoconf documentation for `clear'. |
cat >confdef2sed.sed <<\EOF |
cat >confdef2sed.sed <<\_ACEOF |
s/[\\&,]/\\&/g |
s/[\\&,]/\\&/g |
s,[\\$`],\\&,g |
s,[\\$`],\\&,g |
t clear |
t clear |
: clear |
: clear |
s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
t end |
t end |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
: end |
: end |
EOF |
_ACEOF |
# If some macros were called several times there might be several times |
# If some macros were called several times there might be several times |
# the same #defines, which is useless. Nevertheless, we may not want to |
# the same #defines, which is useless. Nevertheless, we may not want to |
# sort them, since we want the *last* AC-DEFINE to be honored. |
# sort them, since we want the *last* AC-DEFINE to be honored. |
|
|
# This sed command replaces #undef with comments. This is necessary, for |
# This sed command replaces #undef with comments. This is necessary, for |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
# on some systems where configure will not decide to define it. |
# on some systems where configure will not decide to define it. |
cat >>conftest.undefs <<\EOF |
cat >>conftest.undefs <<\_ACEOF |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
EOF |
_ACEOF |
|
|
# Break up conftest.defines because some shells have a limit on the size |
# Break up conftest.defines because some shells have a limit on the size |
# of here documents, and old seds have small limits too (100 cmds). |
# of here documents, and old seds have small limits too (100 cmds). |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
echo ' :' >>$CONFIG_STATUS |
echo ' :' >>$CONFIG_STATUS |
rm -f conftest.tail |
rm -f conftest.tail |
|
|
mv conftest.tail conftest.defines |
mv conftest.tail conftest.defines |
done |
done |
rm -f conftest.defines |
rm -f conftest.defines |
echo ' fi # egrep' >>$CONFIG_STATUS |
echo ' fi # grep' >>$CONFIG_STATUS |
echo >>$CONFIG_STATUS |
echo >>$CONFIG_STATUS |
|
|
# Break up conftest.undefs because some shells have a limit on the size |
# Break up conftest.undefs because some shells have a limit on the size |
|
|
done |
done |
rm -f conftest.undefs |
rm -f conftest.undefs |
|
|
cat >>$CONFIG_STATUS <<\EOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
# use $as_me), people would be surprised to read: |
# use $as_me), people would be surprised to read: |
# /* config.h. Generated automatically by config.status. */ |
# /* config.h. Generated by config.status. */ |
if test x"$ac_file" = x-; then |
if test x"$ac_file" = x-; then |
echo "/* Generated automatically by configure. */" >$tmp/config.h |
echo "/* Generated by configure. */" >$tmp/config.h |
else |
else |
echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h |
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
fi |
fi |
cat $tmp/in >>$tmp/config.h |
cat $tmp/in >>$tmp/config.h |
rm -f $tmp/in |
rm -f $tmp/in |
if test x"$ac_file" != x-; then |
if test x"$ac_file" != x-; then |
if cmp -s $ac_file $tmp/config.h 2>/dev/null; then |
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
{ echo "$as_me:11564: $ac_file is unchanged" >&5 |
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
echo "$as_me: $ac_file is unchanged" >&6;} |
echo "$as_me: $ac_file is unchanged" >&6;} |
else |
else |
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
X"$ac_file" : 'X\(//\)$' \| \ |
X"$ac_file" : 'X\(//\)$' \| \ |
X"$ac_file" : 'X\(/\)' \| \ |
X"$ac_file" : 'X\(/\)' \| \ |
|
|
/^X\(\/\/\)$/{ s//\1/; q; } |
/^X\(\/\/\)$/{ s//\1/; q; } |
/^X\(\/\).*/{ s//\1/; q; } |
/^X\(\/\).*/{ s//\1/; q; } |
s/.*/./; q'` |
s/.*/./; q'` |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
{ if $as_mkdir_p; then |
{ case "$ac_dir" in |
mkdir -p "$ac_dir" |
[\\/]* | ?:[\\/]* ) as_incr_dir=;; |
else |
*) as_incr_dir=.;; |
as_dir="$ac_dir" |
esac |
as_dirs= |
as_dummy="$ac_dir" |
while test ! -d "$as_dir"; do |
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do |
as_dirs="$as_dir $as_dirs" |
case $as_mkdir_dir in |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
# Skip DOS drivespec |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
?:) as_incr_dir=$as_mkdir_dir ;; |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
*) |
X"$as_dir" : 'X\(//\)$' \| \ |
as_incr_dir=$as_incr_dir/$as_mkdir_dir |
X"$as_dir" : 'X\(/\)' \| \ |
test -d "$as_incr_dir" || mkdir "$as_incr_dir" |
. : '\(.\)' 2>/dev/null || |
;; |
echo X"$as_dir" | |
esac |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
done; } |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
|
/^X\(\/\).*/{ s//\1/; q; } |
|
s/.*/./; q'` |
|
done |
|
test ! -n "$as_dirs" || mkdir $as_dirs |
|
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
|
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
|
{ (exit 1); exit 1; }; }; } |
|
|
fi |
|
rm -f $ac_file |
rm -f $ac_file |
mv $tmp/config.h $ac_file |
mv $tmp/config.h $ac_file |
fi |
fi |
|
|
rm -f $tmp/config.h |
rm -f $tmp/config.h |
fi |
fi |
done |
done |
EOF |
_ACEOF |
|
|
cat >>$CONFIG_STATUS <<\EOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
{ (exit 0); exit 0; } |
{ (exit 0); exit 0; } |
EOF |
_ACEOF |
chmod +x $CONFIG_STATUS |
chmod +x $CONFIG_STATUS |
ac_clean_files=$ac_clean_files_save |
ac_clean_files=$ac_clean_files_save |
|
|
|
|
# configure is writing to config.log, and then calls config.status. |
# configure is writing to config.log, and then calls config.status. |
# config.status does its own redirection, appending to config.log. |
# config.status does its own redirection, appending to config.log. |
# Unfortunately, on DOS this fails, as config.log is still kept open |
# Unfortunately, on DOS this fails, as config.log is still kept open |
|
|
# need to make the FD available again. |
# need to make the FD available again. |
if test "$no_create" != yes; then |
if test "$no_create" != yes; then |
ac_cs_success=: |
ac_cs_success=: |
|
ac_config_status_args= |
|
test "$silent" = yes && |
|
ac_config_status_args="$ac_config_status_args --quiet" |
exec 5>/dev/null |
exec 5>/dev/null |
$SHELL $CONFIG_STATUS || ac_cs_success=false |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
exec 5>>config.log |
exec 5>>config.log |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
# would make configure fail if this is the last instruction. |
# would make configure fail if this is the last instruction. |
$ac_cs_success || { (exit 1); exit 1; } |
$ac_cs_success || { (exit 1); exit 1; } |
fi |
fi |
|
|
|
|
if test "$with_pam" = "yes"; then |
if test "$with_pam" = "yes"; then |
echo "" |
echo "" |
case $host in |
case $host in |
|
|
esac |
esac |
echo "" |
echo "" |
fi |
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|