version 1.46, 2010/04/13 23:22:01 |
version 1.47, 2010/06/02 19:30:10 |
|
|
#! /bin/sh |
#! /bin/sh |
# Guess values for system-dependent variables and create Makefiles. |
# Guess values for system-dependent variables and create Makefiles. |
# Generated by GNU Autoconf 2.61 for sudo 1.7.2p6. |
# Generated by GNU Autoconf 2.61 for sudo 1.7.2p7. |
# |
# |
# Report bugs to <http://www.sudo.ws/bugs/>. |
# Report bugs to <http://www.sudo.ws/bugs/>. |
# |
# |
|
|
# Identity of this package. |
# Identity of this package. |
PACKAGE_NAME='sudo' |
PACKAGE_NAME='sudo' |
PACKAGE_TARNAME='sudo' |
PACKAGE_TARNAME='sudo' |
PACKAGE_VERSION='1.7.2p6' |
PACKAGE_VERSION='1.7.2p7' |
PACKAGE_STRING='sudo 1.7.2p6' |
PACKAGE_STRING='sudo 1.7.2p7' |
PACKAGE_BUGREPORT='http://www.sudo.ws/bugs/' |
PACKAGE_BUGREPORT='http://www.sudo.ws/bugs/' |
|
|
# Factoring default headers for most tests. |
# Factoring default headers for most tests. |
|
|
nsswitch_conf |
nsswitch_conf |
netsvc_conf |
netsvc_conf |
secure_path |
secure_path |
EGREPPROG |
|
CC |
CC |
ac_ct_CC |
ac_ct_CC |
EXEEXT |
EXEEXT |
OBJEXT |
OBJEXT |
|
EGREPPROG |
CPP |
CPP |
build |
build |
build_cpu |
build_cpu |
|
|
# 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 <<_ACEOF |
cat <<_ACEOF |
\`configure' configures sudo 1.7.2p6 to adapt to many kinds of systems. |
\`configure' configures sudo 1.7.2p7 to adapt to many kinds of systems. |
|
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
|
|
|
|
|
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.7.2p6:";; |
short | recursive ) echo "Configuration of sudo 1.7.2p7:";; |
esac |
esac |
cat <<\_ACEOF |
cat <<\_ACEOF |
|
|
|
|
test -n "$ac_init_help" && exit $ac_status |
test -n "$ac_init_help" && exit $ac_status |
if $ac_init_version; then |
if $ac_init_version; then |
cat <<\_ACEOF |
cat <<\_ACEOF |
sudo configure 1.7.2p6 |
sudo configure 1.7.2p7 |
generated by GNU Autoconf 2.61 |
generated by GNU Autoconf 2.61 |
|
|
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
|
|
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.7.2p6, which was |
It was created by sudo $as_me 1.7.2p7, which was |
generated by GNU Autoconf 2.61. Invocation command line was |
generated by GNU Autoconf 2.61. Invocation command line was |
|
|
$ $0 $@ |
$ $0 $@ |
|
|
|
|
|
|
|
|
|
|
timeout=5 |
timeout=5 |
password_timeout=5 |
password_timeout=5 |
sudo_umask=0022 |
sudo_umask=0022 |
|
|
fi |
fi |
|
|
|
|
|
|
# Check whether --with-libvas was given. |
|
if test "${with_libvas+set}" = set; then |
|
withval=$with_libvas; case $with_libvas in |
|
yes) with_libvas=libvas.so |
|
;; |
|
no) ;; |
|
*) |
|
cat >>confdefs.h <<_ACEOF |
|
#define LIBVAS_SO "$with_with_libvas" |
|
_ACEOF |
|
|
|
;; |
|
esac |
|
if test X"$with_libvas" != X"no"; then |
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define LIBVAS_SO "$with_libvas" |
|
_ACEOF |
|
|
|
cat >>confdefs.h <<\_ACEOF |
|
#define USING_NONUNIX_GROUPS 1 |
|
_ACEOF |
|
|
|
NONUNIX_GROUPS_IMPL="vasgroups.o" |
|
|
|
# Check whether --with-libvas-rpath was given. |
|
if test "${with_libvas_rpath+set}" = set; then |
|
withval=$with_libvas_rpath; LIBVAS_RPATH=$withval |
|
else |
|
LIBVAS_RPATH=/opt/quest/lib |
|
fi |
|
|
|
fi |
|
|
|
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; } |
|
# Check whether --enable-authentication was given. |
|
if test "${enable_authentication+set}" = set; then |
|
enableval=$enable_authentication; case "$enableval" in |
|
yes) { echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6; } |
|
;; |
|
no) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
cat >>confdefs.h <<\_ACEOF |
|
#define NO_AUTHENTICATION 1 |
|
_ACEOF |
|
|
|
;; |
|
*) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
{ echo "$as_me:$LINENO: WARNING: Ignoring unknown argument to --enable-authentication: $enableval" >&5 |
|
echo "$as_me: WARNING: Ignoring unknown argument to --enable-authentication: $enableval" >&2;} |
|
;; |
|
esac |
|
|
|
else |
|
{ echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6; } |
|
fi |
|
|
|
|
|
{ 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; } |
|
# Check whether --enable-root-mailer was given. |
|
if test "${enable_root_mailer+set}" = set; then |
|
enableval=$enable_root_mailer; case "$enableval" in |
|
yes) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
;; |
|
no) { echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6; } |
|
cat >>confdefs.h <<\_ACEOF |
|
#define NO_ROOT_MAILER 1 |
|
_ACEOF |
|
|
|
;; |
|
*) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
{ echo "$as_me:$LINENO: WARNING: Ignoring unknown argument to --enable-root-mailer: $enableval" >&5 |
|
echo "$as_me: WARNING: Ignoring unknown argument to --enable-root-mailer: $enableval" >&2;} |
|
;; |
|
esac |
|
|
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
|
|
# Check whether --enable-setreuid was given. |
|
if test "${enable_setreuid+set}" = set; then |
|
enableval=$enable_setreuid; case "$enableval" in |
|
no) SKIP_SETREUID=yes |
|
;; |
|
*) ;; |
|
esac |
|
|
|
fi |
|
|
|
|
|
# Check whether --enable-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 shadow password support" >&5 |
|
echo $ECHO_N "checking whether to disable shadow password support... $ECHO_C" >&6; } |
|
# Check whether --enable-shadow was given. |
|
if test "${enable_shadow+set}" = set; then |
|
enableval=$enable_shadow; case "$enableval" in |
|
yes) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
;; |
|
no) { echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6; } |
|
CHECKSHADOW="false" |
|
;; |
|
*) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
{ echo "$as_me:$LINENO: WARNING: Ignoring unknown argument to --enable-shadow: $enableval" >&5 |
|
echo "$as_me: WARNING: Ignoring unknown argument to --enable-shadow: $enableval" >&2;} |
|
;; |
|
esac |
|
|
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
|
|
{ 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; } |
|
# Check whether --enable-root-sudo was given. |
|
if test "${enable_root_sudo+set}" = set; then |
|
enableval=$enable_root_sudo; case "$enableval" in |
|
yes) { echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6; } |
|
;; |
|
no) cat >>confdefs.h <<\_ACEOF |
|
#define NO_ROOT_SUDO 1 |
|
_ACEOF |
|
|
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
root_sudo=off |
|
;; |
|
*) { { 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;} |
|
{ (exit 1); exit 1; }; } |
|
;; |
|
esac |
|
|
|
else |
|
{ echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6; } |
|
fi |
|
|
|
|
|
{ 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; } |
|
# Check whether --enable-log-host was given. |
|
if test "${enable_log_host+set}" = set; then |
|
enableval=$enable_log_host; case "$enableval" in |
|
yes) { echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6; } |
|
cat >>confdefs.h <<\_ACEOF |
|
#define HOST_IN_LOG 1 |
|
_ACEOF |
|
|
|
;; |
|
no) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
;; |
|
*) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
{ echo "$as_me:$LINENO: WARNING: Ignoring unknown argument to --enable-log-host: $enableval" >&5 |
|
echo "$as_me: WARNING: Ignoring unknown argument to --enable-log-host: $enableval" >&2;} |
|
;; |
|
esac |
|
|
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
|
|
{ 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; } |
|
# Check whether --enable-noargs-shell was given. |
|
if test "${enable_noargs_shell+set}" = set; then |
|
enableval=$enable_noargs_shell; case "$enableval" in |
|
yes) { echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6; } |
|
cat >>confdefs.h <<\_ACEOF |
|
#define SHELL_IF_NO_ARGS 1 |
|
_ACEOF |
|
|
|
;; |
|
no) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
;; |
|
*) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
{ echo "$as_me:$LINENO: WARNING: Ignoring unknown argument to --enable-noargs-shell: $enableval" >&5 |
|
echo "$as_me: WARNING: Ignoring unknown argument to --enable-noargs-shell: $enableval" >&2;} |
|
;; |
|
esac |
|
|
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
|
|
{ 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; } |
|
# Check whether --enable-shell-sets-home was given. |
|
if test "${enable_shell_sets_home+set}" = set; then |
|
enableval=$enable_shell_sets_home; case "$enableval" in |
|
yes) { echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6; } |
|
cat >>confdefs.h <<\_ACEOF |
|
#define SHELL_SETS_HOME 1 |
|
_ACEOF |
|
|
|
;; |
|
no) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
;; |
|
*) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
{ echo "$as_me:$LINENO: WARNING: Ignoring unknown argument to --enable-shell-sets-home: $enableval" >&5 |
|
echo "$as_me: WARNING: Ignoring unknown argument to --enable-shell-sets-home: $enableval" >&2;} |
|
;; |
|
esac |
|
|
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
|
|
{ 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; } |
|
# Check whether --enable-path_info was given. |
|
if test "${enable_path_info+set}" = set; then |
|
enableval=$enable_path_info; case "$enableval" in |
|
yes) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
;; |
|
no) { echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6; } |
|
cat >>confdefs.h <<\_ACEOF |
|
#define DONT_LEAK_PATH_INFO 1 |
|
_ACEOF |
|
|
|
path_info=off |
|
;; |
|
*) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
{ echo "$as_me:$LINENO: WARNING: Ignoring unknown argument to --enable-path-info: $enableval" >&5 |
|
echo "$as_me: WARNING: Ignoring unknown argument to --enable-path-info: $enableval" >&2;} |
|
;; |
|
esac |
|
|
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
|
|
{ echo "$as_me:$LINENO: checking whether to enable environment debugging" >&5 |
|
echo $ECHO_N "checking whether to enable environment debugging... $ECHO_C" >&6; } |
|
# Check whether --enable-env_debug was given. |
|
if test "${enable_env_debug+set}" = set; then |
|
enableval=$enable_env_debug; case "$enableval" in |
|
yes) { echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6; } |
|
cat >>confdefs.h <<\_ACEOF |
|
#define ENV_DEBUG 1 |
|
_ACEOF |
|
|
|
;; |
|
no) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
;; |
|
*) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
{ echo "$as_me:$LINENO: WARNING: Ignoring unknown argument to --enable-env-debug: $enableval" >&5 |
|
echo "$as_me: WARNING: Ignoring unknown argument to --enable-env-debug: $enableval" >&2;} |
|
;; |
|
esac |
|
|
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
|
|
|
|
# Check whether --with-selinux was given. |
|
if test "${with_selinux+set}" = set; then |
|
withval=$with_selinux; case $with_selinux in |
|
yes) SELINUX_USAGE="[-r role] [-t type] " |
|
cat >>confdefs.h <<\_ACEOF |
|
#define HAVE_SELINUX 1 |
|
_ACEOF |
|
|
|
SUDO_LIBS="${SUDO_LIBS} -lselinux" |
|
SUDO_OBJS="${SUDO_OBJS} selinux.o" |
|
PROGS="${PROGS} sesh" |
|
SELINUX="" |
|
SEMAN="" |
|
;; |
|
no) ;; |
|
*) { { echo "$as_me:$LINENO: error: \"--with-selinux does not take an argument.\"" >&5 |
|
echo "$as_me: error: \"--with-selinux does not take an argument.\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
;; |
|
esac |
|
fi |
|
|
|
|
|
# Check whether --enable-gss_krb5_ccache_name was given. |
|
if test "${enable_gss_krb5_ccache_name+set}" = set; then |
|
enableval=$enable_gss_krb5_ccache_name; check_gss_krb5_ccache_name=$enableval |
|
else |
|
check_gss_krb5_ccache_name=no |
|
fi |
|
|
|
|
|
# Extract the first word of "egrep", so it can be a program name with args. |
|
set dummy egrep; ac_word=$2 |
|
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|
if test "${ac_cv_prog_EGREPPROG+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test -n "$EGREPPROG"; then |
|
ac_cv_prog_EGREPPROG="$EGREPPROG" # Let the user override the test. |
|
else |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in $PATH |
|
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
ac_cv_prog_EGREPPROG="egrep" |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
fi |
|
fi |
|
EGREPPROG=$ac_cv_prog_EGREPPROG |
|
if test -n "$EGREPPROG"; then |
|
{ echo "$as_me:$LINENO: result: $EGREPPROG" >&5 |
|
echo "${ECHO_T}$EGREPPROG" >&6; } |
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
|
|
if test -z "$EGREPPROG"; then |
|
{ { echo "$as_me:$LINENO: error: Sorry, configure requires egrep to run." >&5 |
|
echo "$as_me: error: Sorry, configure requires egrep to run." >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
|
|
if test "$with_devel" != "yes"; then |
|
ac_cv_prog_cc_g=no |
|
fi |
|
|
|
ac_ext=c |
ac_ext=c |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
|
|
|
|
# Check whether --with-libvas was given. |
|
if test "${with_libvas+set}" = set; then |
|
withval=$with_libvas; case $with_libvas in |
|
yes) with_libvas=libvas.so |
|
;; |
|
no) ;; |
|
*) |
|
cat >>confdefs.h <<_ACEOF |
|
#define LIBVAS_SO "$with_libvas" |
|
_ACEOF |
|
|
|
;; |
|
esac |
|
if test X"$with_libvas" != X"no"; then |
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define LIBVAS_SO "$with_libvas" |
|
_ACEOF |
|
|
|
cat >>confdefs.h <<\_ACEOF |
|
#define USING_NONUNIX_GROUPS 1 |
|
_ACEOF |
|
|
|
NONUNIX_GROUPS_IMPL="vasgroups.o" |
|
|
|
# Check whether --with-libvas-rpath was given. |
|
if test "${with_libvas_rpath+set}" = set; then |
|
withval=$with_libvas_rpath; LIBVAS_RPATH=$withval |
|
else |
|
LIBVAS_RPATH=/opt/quest/lib |
|
fi |
|
|
|
|
|
{ echo "$as_me:$LINENO: checking for main in -ldl" >&5 |
|
echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6; } |
|
if test "${ac_cv_lib_dl_main+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-ldl $LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
|
|
int |
|
main () |
|
{ |
|
return main (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (ac_try="$ac_link" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
(eval "$ac_link") 2>conftest.er1 |
|
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && { |
|
test -z "$ac_c_werror_flag" || |
|
test ! -s conftest.err |
|
} && test -s conftest$ac_exeext && |
|
$as_test_x conftest$ac_exeext; then |
|
ac_cv_lib_dl_main=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_dl_main=no |
|
fi |
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5 |
|
echo "${ECHO_T}$ac_cv_lib_dl_main" >&6; } |
|
if test $ac_cv_lib_dl_main = yes; then |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_LIBDL 1 |
|
_ACEOF |
|
|
|
LIBS="-ldl $LIBS" |
|
|
|
fi |
|
|
|
fi |
|
|
|
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; } |
|
# Check whether --enable-authentication was given. |
|
if test "${enable_authentication+set}" = set; then |
|
enableval=$enable_authentication; case "$enableval" in |
|
yes) { echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6; } |
|
;; |
|
no) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
cat >>confdefs.h <<\_ACEOF |
|
#define NO_AUTHENTICATION 1 |
|
_ACEOF |
|
|
|
;; |
|
*) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
{ echo "$as_me:$LINENO: WARNING: Ignoring unknown argument to --enable-authentication: $enableval" >&5 |
|
echo "$as_me: WARNING: Ignoring unknown argument to --enable-authentication: $enableval" >&2;} |
|
;; |
|
esac |
|
|
|
else |
|
{ echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6; } |
|
fi |
|
|
|
|
|
{ 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; } |
|
# Check whether --enable-root-mailer was given. |
|
if test "${enable_root_mailer+set}" = set; then |
|
enableval=$enable_root_mailer; case "$enableval" in |
|
yes) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
;; |
|
no) { echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6; } |
|
cat >>confdefs.h <<\_ACEOF |
|
#define NO_ROOT_MAILER 1 |
|
_ACEOF |
|
|
|
;; |
|
*) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
{ echo "$as_me:$LINENO: WARNING: Ignoring unknown argument to --enable-root-mailer: $enableval" >&5 |
|
echo "$as_me: WARNING: Ignoring unknown argument to --enable-root-mailer: $enableval" >&2;} |
|
;; |
|
esac |
|
|
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
|
|
# Check whether --enable-setreuid was given. |
|
if test "${enable_setreuid+set}" = set; then |
|
enableval=$enable_setreuid; case "$enableval" in |
|
no) SKIP_SETREUID=yes |
|
;; |
|
*) ;; |
|
esac |
|
|
|
fi |
|
|
|
|
|
# Check whether --enable-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 shadow password support" >&5 |
|
echo $ECHO_N "checking whether to disable shadow password support... $ECHO_C" >&6; } |
|
# Check whether --enable-shadow was given. |
|
if test "${enable_shadow+set}" = set; then |
|
enableval=$enable_shadow; case "$enableval" in |
|
yes) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
;; |
|
no) { echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6; } |
|
CHECKSHADOW="false" |
|
;; |
|
*) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
{ echo "$as_me:$LINENO: WARNING: Ignoring unknown argument to --enable-shadow: $enableval" >&5 |
|
echo "$as_me: WARNING: Ignoring unknown argument to --enable-shadow: $enableval" >&2;} |
|
;; |
|
esac |
|
|
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
|
|
{ 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; } |
|
# Check whether --enable-root-sudo was given. |
|
if test "${enable_root_sudo+set}" = set; then |
|
enableval=$enable_root_sudo; case "$enableval" in |
|
yes) { echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6; } |
|
;; |
|
no) cat >>confdefs.h <<\_ACEOF |
|
#define NO_ROOT_SUDO 1 |
|
_ACEOF |
|
|
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
root_sudo=off |
|
;; |
|
*) { { 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;} |
|
{ (exit 1); exit 1; }; } |
|
;; |
|
esac |
|
|
|
else |
|
{ echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6; } |
|
fi |
|
|
|
|
|
{ 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; } |
|
# Check whether --enable-log-host was given. |
|
if test "${enable_log_host+set}" = set; then |
|
enableval=$enable_log_host; case "$enableval" in |
|
yes) { echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6; } |
|
cat >>confdefs.h <<\_ACEOF |
|
#define HOST_IN_LOG 1 |
|
_ACEOF |
|
|
|
;; |
|
no) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
;; |
|
*) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
{ echo "$as_me:$LINENO: WARNING: Ignoring unknown argument to --enable-log-host: $enableval" >&5 |
|
echo "$as_me: WARNING: Ignoring unknown argument to --enable-log-host: $enableval" >&2;} |
|
;; |
|
esac |
|
|
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
|
|
{ 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; } |
|
# Check whether --enable-noargs-shell was given. |
|
if test "${enable_noargs_shell+set}" = set; then |
|
enableval=$enable_noargs_shell; case "$enableval" in |
|
yes) { echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6; } |
|
cat >>confdefs.h <<\_ACEOF |
|
#define SHELL_IF_NO_ARGS 1 |
|
_ACEOF |
|
|
|
;; |
|
no) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
;; |
|
*) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
{ echo "$as_me:$LINENO: WARNING: Ignoring unknown argument to --enable-noargs-shell: $enableval" >&5 |
|
echo "$as_me: WARNING: Ignoring unknown argument to --enable-noargs-shell: $enableval" >&2;} |
|
;; |
|
esac |
|
|
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
|
|
{ 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; } |
|
# Check whether --enable-shell-sets-home was given. |
|
if test "${enable_shell_sets_home+set}" = set; then |
|
enableval=$enable_shell_sets_home; case "$enableval" in |
|
yes) { echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6; } |
|
cat >>confdefs.h <<\_ACEOF |
|
#define SHELL_SETS_HOME 1 |
|
_ACEOF |
|
|
|
;; |
|
no) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
;; |
|
*) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
{ echo "$as_me:$LINENO: WARNING: Ignoring unknown argument to --enable-shell-sets-home: $enableval" >&5 |
|
echo "$as_me: WARNING: Ignoring unknown argument to --enable-shell-sets-home: $enableval" >&2;} |
|
;; |
|
esac |
|
|
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
|
|
{ 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; } |
|
# Check whether --enable-path_info was given. |
|
if test "${enable_path_info+set}" = set; then |
|
enableval=$enable_path_info; case "$enableval" in |
|
yes) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
;; |
|
no) { echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6; } |
|
cat >>confdefs.h <<\_ACEOF |
|
#define DONT_LEAK_PATH_INFO 1 |
|
_ACEOF |
|
|
|
path_info=off |
|
;; |
|
*) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
{ echo "$as_me:$LINENO: WARNING: Ignoring unknown argument to --enable-path-info: $enableval" >&5 |
|
echo "$as_me: WARNING: Ignoring unknown argument to --enable-path-info: $enableval" >&2;} |
|
;; |
|
esac |
|
|
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
|
|
{ echo "$as_me:$LINENO: checking whether to enable environment debugging" >&5 |
|
echo $ECHO_N "checking whether to enable environment debugging... $ECHO_C" >&6; } |
|
# Check whether --enable-env_debug was given. |
|
if test "${enable_env_debug+set}" = set; then |
|
enableval=$enable_env_debug; case "$enableval" in |
|
yes) { echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6; } |
|
cat >>confdefs.h <<\_ACEOF |
|
#define ENV_DEBUG 1 |
|
_ACEOF |
|
|
|
;; |
|
no) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
;; |
|
*) { echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
{ echo "$as_me:$LINENO: WARNING: Ignoring unknown argument to --enable-env-debug: $enableval" >&5 |
|
echo "$as_me: WARNING: Ignoring unknown argument to --enable-env-debug: $enableval" >&2;} |
|
;; |
|
esac |
|
|
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
|
|
|
|
# Check whether --with-selinux was given. |
|
if test "${with_selinux+set}" = set; then |
|
withval=$with_selinux; case $with_selinux in |
|
yes) SELINUX_USAGE="[-r role] [-t type] " |
|
cat >>confdefs.h <<\_ACEOF |
|
#define HAVE_SELINUX 1 |
|
_ACEOF |
|
|
|
SUDO_LIBS="${SUDO_LIBS} -lselinux" |
|
SUDO_OBJS="${SUDO_OBJS} selinux.o" |
|
PROGS="${PROGS} sesh" |
|
SELINUX="" |
|
SEMAN="" |
|
;; |
|
no) ;; |
|
*) { { echo "$as_me:$LINENO: error: \"--with-selinux does not take an argument.\"" >&5 |
|
echo "$as_me: error: \"--with-selinux does not take an argument.\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
;; |
|
esac |
|
fi |
|
|
|
|
|
# Check whether --enable-gss_krb5_ccache_name was given. |
|
if test "${enable_gss_krb5_ccache_name+set}" = set; then |
|
enableval=$enable_gss_krb5_ccache_name; check_gss_krb5_ccache_name=$enableval |
|
else |
|
check_gss_krb5_ccache_name=no |
|
fi |
|
|
|
|
|
# Extract the first word of "egrep", so it can be a program name with args. |
|
set dummy egrep; ac_word=$2 |
|
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|
if test "${ac_cv_prog_EGREPPROG+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test -n "$EGREPPROG"; then |
|
ac_cv_prog_EGREPPROG="$EGREPPROG" # Let the user override the test. |
|
else |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in $PATH |
|
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
ac_cv_prog_EGREPPROG="egrep" |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
fi |
|
fi |
|
EGREPPROG=$ac_cv_prog_EGREPPROG |
|
if test -n "$EGREPPROG"; then |
|
{ echo "$as_me:$LINENO: result: $EGREPPROG" >&5 |
|
echo "${ECHO_T}$EGREPPROG" >&6; } |
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
|
|
if test -z "$EGREPPROG"; then |
|
{ { echo "$as_me:$LINENO: error: Sorry, configure requires egrep to run." >&5 |
|
echo "$as_me: error: Sorry, configure requires egrep to run." >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
|
|
if test "$with_devel" != "yes"; then |
|
ac_cv_prog_cc_g=no |
|
fi |
|
|
{ echo "$as_me:$LINENO: checking for library containing strerror" >&5 |
{ echo "$as_me:$LINENO: checking for library containing strerror" >&5 |
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } |
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } |
if test "${ac_cv_search_strerror+set}" = set; then |
if test "${ac_cv_search_strerror+set}" = set; then |
|
|
;; |
;; |
*-*-irix6*) |
*-*-irix6*) |
# Find out which ABI we are using. |
# Find out which ABI we are using. |
echo '#line 6271 "configure"' > conftest.$ac_ext |
echo '#line 6337 "configure"' > conftest.$ac_ext |
if { (eval echo "$as_me:$LINENO: \"$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=$? |
|
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:8135: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:8201: $lt_compile\"" >&5) |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
ac_status=$? |
ac_status=$? |
cat conftest.err >&5 |
cat conftest.err >&5 |
echo "$as_me:8139: \$? = $ac_status" >&5 |
echo "$as_me:8205: \$? = $ac_status" >&5 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings other than the usual output. |
|
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:8425: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:8491: $lt_compile\"" >&5) |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
ac_status=$? |
ac_status=$? |
cat conftest.err >&5 |
cat conftest.err >&5 |
echo "$as_me:8429: \$? = $ac_status" >&5 |
echo "$as_me:8495: \$? = $ac_status" >&5 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings other than the usual output. |
|
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:8529: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:8595: $lt_compile\"" >&5) |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
ac_status=$? |
ac_status=$? |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
echo "$as_me:8533: \$? = $ac_status" >&5 |
echo "$as_me:8599: \$? = $ac_status" >&5 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
then |
then |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
|
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
#line 10889 "configure" |
#line 10955 "configure" |
#include "confdefs.h" |
#include "confdefs.h" |
|
|
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
|
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
#line 10989 "configure" |
#line 11055 "configure" |
#include "confdefs.h" |
#include "confdefs.h" |
|
|
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
|
|
for i in ${with_libpath}; do |
for i in ${with_libpath}; do |
|
|
if test X"$with_rpath" = X"yes"; then |
if test X"$with_rpath" = X"yes"; then |
LDFLAGS="${LDFLAGS} -L$i -R$i" |
case "$host" in |
|
*-*-hpux*) LDFLAGS="${LDFLAGS} -L$i -Wl,+b,$i" |
|
;; |
|
*) LDFLAGS="${LDFLAGS} -L$i -Wl,-R$i" |
|
;; |
|
esac |
else |
else |
LDFLAGS="${LDFLAGS} -L$i" |
LDFLAGS="${LDFLAGS} -L$i" |
fi |
fi |
|
|
fi |
fi |
|
|
if test ${with_pam-"no"} != "no"; then |
if test ${with_pam-"no"} != "no"; then |
{ echo "$as_me:$LINENO: checking for main in -ldl" >&5 |
case "$LIBS" in |
|
*-ldl*) SUDO_LIBS="${SUDO_LIBS} -lpam" |
|
;; |
|
*) { 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 |
|
|
SUDO_LIBS="${SUDO_LIBS} -lpam" |
SUDO_LIBS="${SUDO_LIBS} -lpam" |
fi |
fi |
|
|
ac_cv_lib_dl=ac_cv_lib_dl_main |
ac_cv_lib_dl=ac_cv_lib_dl_main |
|
;; |
|
esac |
|
|
|
|
|
|
|
|
if test "$with_fwtk" != "yes"; then |
if test "$with_fwtk" != "yes"; then |
|
|
if test X"$with_rpath" = X"yes"; then |
if test X"$with_rpath" = X"yes"; then |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_fwtk} -R${with_fwtk}" |
case "$host" in |
|
*-*-hpux*) SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_fwtk} -Wl,+b,${with_fwtk}" |
|
;; |
|
*) SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_fwtk} -Wl,-R${with_fwtk}" |
|
;; |
|
esac |
else |
else |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_fwtk}" |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_fwtk}" |
fi |
fi |
|
|
_LDFLAGS="${LDFLAGS}" |
_LDFLAGS="${LDFLAGS}" |
|
|
if test X"$with_rpath" = X"yes"; then |
if test X"$with_rpath" = X"yes"; then |
LDFLAGS="${LDFLAGS} -L${with_SecurID} -R${with_SecurID}" |
case "$host" in |
|
*-*-hpux*) LDFLAGS="${LDFLAGS} -L${with_SecurID} -Wl,+b,${with_SecurID}" |
|
;; |
|
*) LDFLAGS="${LDFLAGS} -L${with_SecurID} -Wl,-R${with_SecurID}" |
|
;; |
|
esac |
else |
else |
LDFLAGS="${LDFLAGS} -L${with_SecurID}" |
LDFLAGS="${LDFLAGS} -L${with_SecurID}" |
fi |
fi |
|
|
|
|
|
|
if test X"$with_rpath" = X"yes"; then |
if test X"$with_rpath" = X"yes"; then |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_SecurID} -R${with_SecurID}" |
case "$host" in |
|
*-*-hpux*) SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_SecurID} -Wl,+b,${with_SecurID}" |
|
;; |
|
*) SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_SecurID} -Wl,-R${with_SecurID}" |
|
;; |
|
esac |
else |
else |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_SecurID}" |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_SecurID}" |
fi |
fi |
|
|
else |
else |
|
|
if test X"$with_rpath" = X"yes"; then |
if test X"$with_rpath" = X"yes"; then |
LDFLAGS="${LDFLAGS} -L${with_kerb4}/lib -R${with_kerb4}/lib" |
case "$host" in |
|
*-*-hpux*) LDFLAGS="${LDFLAGS} -L${with_kerb4}/lib -Wl,+b,${with_kerb4}/lib" |
|
;; |
|
*) LDFLAGS="${LDFLAGS} -L${with_kerb4}/lib -Wl,-R${with_kerb4}/lib" |
|
;; |
|
esac |
else |
else |
LDFLAGS="${LDFLAGS} -L${with_kerb4}/lib" |
LDFLAGS="${LDFLAGS} -L${with_kerb4}/lib" |
fi |
fi |
|
|
|
|
|
|
if test X"$with_rpath" = X"yes"; then |
if test X"$with_rpath" = X"yes"; then |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_kerb4}/lib -R${with_kerb4}/lib" |
case "$host" in |
|
*-*-hpux*) SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_kerb4}/lib -Wl,+b,${with_kerb4}/lib" |
|
;; |
|
*) SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_kerb4}/lib -Wl,-R${with_kerb4}/lib" |
|
;; |
|
esac |
else |
else |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_kerb4}/lib" |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_kerb4}/lib" |
fi |
fi |
|
|
else |
else |
|
|
if test X"$with_rpath" = X"yes"; then |
if test X"$with_rpath" = X"yes"; then |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_kerb5}/lib -R${with_kerb5}/lib" |
case "$host" in |
|
*-*-hpux*) SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_kerb5}/lib -Wl,+b,${with_kerb5}/lib" |
|
;; |
|
*) SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_kerb5}/lib -Wl,-R${with_kerb5}/lib" |
|
;; |
|
esac |
else |
else |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_kerb5}/lib" |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_kerb5}/lib" |
fi |
fi |
|
|
if test -d ${i}; then |
if test -d ${i}; then |
|
|
if test X"$with_rpath" = X"yes"; then |
if test X"$with_rpath" = X"yes"; then |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L$i -R$i" |
case "$host" in |
|
*-*-hpux*) SUDO_LDFLAGS="${SUDO_LDFLAGS} -L$i -Wl,+b,$i" |
|
;; |
|
*) SUDO_LDFLAGS="${SUDO_LDFLAGS} -L$i -Wl,-R$i" |
|
;; |
|
esac |
else |
else |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L$i" |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L$i" |
fi |
fi |
|
|
CPPFLAGS="${CPPFLAGS} -I${with_skey}/include" |
CPPFLAGS="${CPPFLAGS} -I${with_skey}/include" |
|
|
if test X"$with_rpath" = X"yes"; then |
if test X"$with_rpath" = X"yes"; then |
LDFLAGS="${LDFLAGS} -L${with_skey}/lib -R${with_skey}/lib" |
case "$host" in |
|
*-*-hpux*) LDFLAGS="${LDFLAGS} -L${with_skey}/lib -Wl,+b,${with_skey}/lib" |
|
;; |
|
*) LDFLAGS="${LDFLAGS} -L${with_skey}/lib -Wl,-R${with_skey}/lib" |
|
;; |
|
esac |
else |
else |
LDFLAGS="${LDFLAGS} -L${with_skey}/lib" |
LDFLAGS="${LDFLAGS} -L${with_skey}/lib" |
fi |
fi |
|
|
|
|
|
|
if test X"$with_rpath" = X"yes"; then |
if test X"$with_rpath" = X"yes"; then |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_skey}/lib -R${with_skey}/lib" |
case "$host" in |
|
*-*-hpux*) SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_skey}/lib -Wl,+b,${with_skey}/lib" |
|
;; |
|
*) SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_skey}/lib -Wl,-R${with_skey}/lib" |
|
;; |
|
esac |
else |
else |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_skey}/lib" |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_skey}/lib" |
fi |
fi |
|
|
else |
else |
|
|
if test X"$with_rpath" = X"yes"; then |
if test X"$with_rpath" = X"yes"; then |
LDFLAGS="${LDFLAGS} -L${dir}/lib -R${dir}/lib" |
case "$host" in |
|
*-*-hpux*) LDFLAGS="${LDFLAGS} -L${dir}/lib -Wl,+b,${dir}/lib" |
|
;; |
|
*) LDFLAGS="${LDFLAGS} -L${dir}/lib -Wl,-R${dir}/lib" |
|
;; |
|
esac |
else |
else |
LDFLAGS="${LDFLAGS} -L${dir}/lib" |
LDFLAGS="${LDFLAGS} -L${dir}/lib" |
fi |
fi |
|
|
|
|
|
|
if test X"$with_rpath" = X"yes"; then |
if test X"$with_rpath" = X"yes"; then |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${dir}/lib -R${dir}/lib" |
case "$host" in |
|
*-*-hpux*) SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${dir}/lib -Wl,+b,${dir}/lib" |
|
;; |
|
*) SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${dir}/lib -Wl,-R${dir}/lib" |
|
;; |
|
esac |
else |
else |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${dir}/lib" |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${dir}/lib" |
fi |
fi |
|
|
CPPFLAGS="${CPPFLAGS} -I${with_opie}/include" |
CPPFLAGS="${CPPFLAGS} -I${with_opie}/include" |
|
|
if test X"$with_rpath" = X"yes"; then |
if test X"$with_rpath" = X"yes"; then |
LDFLAGS="${LDFLAGS} -L${with_opie}/lib -R${with_opie}/lib" |
case "$host" in |
|
*-*-hpux*) LDFLAGS="${LDFLAGS} -L${with_opie}/lib -Wl,+b,${with_opie}/lib" |
|
;; |
|
*) LDFLAGS="${LDFLAGS} -L${with_opie}/lib -Wl,-R${with_opie}/lib" |
|
;; |
|
esac |
else |
else |
LDFLAGS="${LDFLAGS} -L${with_opie}/lib" |
LDFLAGS="${LDFLAGS} -L${with_opie}/lib" |
fi |
fi |
|
|
|
|
|
|
if test X"$with_rpath" = X"yes"; then |
if test X"$with_rpath" = X"yes"; then |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_opie}/lib -R${with_opie}/lib" |
case "$host" in |
|
*-*-hpux*) SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_opie}/lib -Wl,+b,${with_opie}/lib" |
|
;; |
|
*) SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_opie}/lib -Wl,-R${with_opie}/lib" |
|
;; |
|
esac |
else |
else |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_opie}/lib" |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_opie}/lib" |
fi |
fi |
|
|
else |
else |
|
|
if test X"$with_rpath" = X"yes"; then |
if test X"$with_rpath" = X"yes"; then |
LDFLAGS="${LDFLAGS} -L${dir}/lib -R${dir}/lib" |
case "$host" in |
|
*-*-hpux*) LDFLAGS="${LDFLAGS} -L${dir}/lib -Wl,+b,${dir}/lib" |
|
;; |
|
*) LDFLAGS="${LDFLAGS} -L${dir}/lib -Wl,-R${dir}/lib" |
|
;; |
|
esac |
else |
else |
LDFLAGS="${LDFLAGS} -L${dir}/lib" |
LDFLAGS="${LDFLAGS} -L${dir}/lib" |
fi |
fi |
|
|
|
|
|
|
if test X"$with_rpath" = X"yes"; then |
if test X"$with_rpath" = X"yes"; then |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${dir}/lib -R${dir}/lib" |
case "$host" in |
|
*-*-hpux*) SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${dir}/lib -Wl,+b,${dir}/lib" |
|
;; |
|
*) SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${dir}/lib -Wl,-R${dir}/lib" |
|
;; |
|
esac |
else |
else |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${dir}/lib" |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${dir}/lib" |
fi |
fi |
|
|
if test "$with_ldap" != "yes"; then |
if test "$with_ldap" != "yes"; then |
|
|
if test X"$with_rpath" = X"yes"; then |
if test X"$with_rpath" = X"yes"; then |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_ldap}/lib -R${with_ldap}/lib" |
case "$host" in |
|
*-*-hpux*) SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_ldap}/lib -Wl,+b,${with_ldap}/lib" |
|
;; |
|
*) SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_ldap}/lib -Wl,-R${with_ldap}/lib" |
|
;; |
|
esac |
else |
else |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_ldap}/lib" |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_ldap}/lib" |
fi |
fi |
|
|
|
|
|
|
if test X"$with_rpath" = X"yes"; then |
if test X"$with_rpath" = X"yes"; then |
LDFLAGS="${LDFLAGS} -L${with_ldap}/lib -R${with_ldap}/lib" |
case "$host" in |
|
*-*-hpux*) LDFLAGS="${LDFLAGS} -L${with_ldap}/lib -Wl,+b,${with_ldap}/lib" |
|
;; |
|
*) LDFLAGS="${LDFLAGS} -L${with_ldap}/lib -Wl,-R${with_ldap}/lib" |
|
;; |
|
esac |
else |
else |
LDFLAGS="${LDFLAGS} -L${with_ldap}/lib" |
LDFLAGS="${LDFLAGS} -L${with_ldap}/lib" |
fi |
fi |
|
|
if test -n "$blibpath"; then |
if test -n "$blibpath"; then |
blibpath_add="${blibpath_add}:$LIBVAS_RPATH" |
blibpath_add="${blibpath_add}:$LIBVAS_RPATH" |
else |
else |
LDFLAGS="$LDFLAGS -R$LIBVAS_RPATH" |
case "$host" in |
|
*-*-hpux*) LDFLAGS="$LDFLAGS -Wl,+b,$LIBVAS_RPATH" |
|
;; |
|
*) LDFLAGS="$LDFLAGS -Wl,-R$LIBVAS_RPATH" |
|
;; |
|
esac |
fi |
fi |
fi |
fi |
|
|
|
|
# report actual input values of CONFIG_FILES etc. instead of their |
# report actual input values of CONFIG_FILES etc. instead of their |
# values after options handling. |
# values after options handling. |
ac_log=" |
ac_log=" |
This file was extended by sudo $as_me 1.7.2p6, which was |
This file was extended by sudo $as_me 1.7.2p7, which was |
generated by GNU Autoconf 2.61. Invocation command line was |
generated by GNU Autoconf 2.61. Invocation command line was |
|
|
CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
|
|
_ACEOF |
_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF |
ac_cs_version="\\ |
ac_cs_version="\\ |
sudo config.status 1.7.2p6 |
sudo config.status 1.7.2p7 |
configured by $0, generated by GNU Autoconf 2.61, |
configured by $0, generated by GNU Autoconf 2.61, |
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
|
|
|
|
nsswitch_conf!$nsswitch_conf$ac_delim |
nsswitch_conf!$nsswitch_conf$ac_delim |
netsvc_conf!$netsvc_conf$ac_delim |
netsvc_conf!$netsvc_conf$ac_delim |
secure_path!$secure_path$ac_delim |
secure_path!$secure_path$ac_delim |
EGREPPROG!$EGREPPROG$ac_delim |
|
CC!$CC$ac_delim |
CC!$CC$ac_delim |
ac_ct_CC!$ac_ct_CC$ac_delim |
ac_ct_CC!$ac_ct_CC$ac_delim |
EXEEXT!$EXEEXT$ac_delim |
EXEEXT!$EXEEXT$ac_delim |
OBJEXT!$OBJEXT$ac_delim |
OBJEXT!$OBJEXT$ac_delim |
|
EGREPPROG!$EGREPPROG$ac_delim |
CPP!$CPP$ac_delim |
CPP!$CPP$ac_delim |
build!$build$ac_delim |
build!$build$ac_delim |
build_cpu!$build_cpu$ac_delim |
build_cpu!$build_cpu$ac_delim |
|
|
;; |
;; |
esac |
esac |
fi |
fi |
|
|
|
|
|
|
|
|
|
|