version 1.35, 2008/01/21 19:44:29 |
version 1.36, 2008/07/31 16:44:03 |
|
|
SUDOERS_UID |
SUDOERS_UID |
SUDOERS_GID |
SUDOERS_GID |
DEV |
DEV |
|
SELINUX |
|
BAMAN |
|
LCMAN |
|
SEMAN |
mansectsu |
mansectsu |
mansectform |
mansectform |
mansrcdir |
mansrcdir |
|
NOEXECFILE |
NOEXECDIR |
NOEXECDIR |
noexec_file |
noexec_file |
INSTALL_NOEXEC |
INSTALL_NOEXEC |
|
|
AR |
AR |
RANLIB |
RANLIB |
STRIP |
STRIP |
|
DSYMUTIL |
|
NMEDIT |
UNAMEPROG |
UNAMEPROG |
TRPROG |
TRPROG |
NROFFPROG |
NROFFPROG |
|
|
--with-secure-path override the user's path with a built-in one |
--with-secure-path override the user's path with a built-in 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 |
--with-stow properly handle GNU stow packaging |
|
--with-selinux enable SELinux support |
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
--with-pic try to use only PIC/non-PIC objects [default=use |
--with-pic try to use only PIC/non-PIC objects [default=use |
both] |
both] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
timeout=5 |
timeout=5 |
password_timeout=5 |
password_timeout=5 |
sudo_umask=0022 |
sudo_umask=0022 |
|
|
: ${SUDOERS_UID='0'} |
: ${SUDOERS_UID='0'} |
: ${SUDOERS_GID='0'} |
: ${SUDOERS_GID='0'} |
DEV="#" |
DEV="#" |
|
SELINUX="#" |
|
BAMAN='.\" ' |
|
LCMAN='.\" ' |
|
SEMAN='.\" ' |
AUTH_OBJS= |
AUTH_OBJS= |
AUTH_REG= |
AUTH_REG= |
AUTH_EXCL= |
AUTH_EXCL= |
|
|
shadow_libs= |
shadow_libs= |
shadow_libs_optional= |
shadow_libs_optional= |
|
|
test "$mandir" = '${prefix}/man' && mandir='$(prefix)/man' |
if test X"$prefix" = X"NONE"; then |
|
test "$mandir" = '${datarootdir}/man' && mandir='$(prefix)/man' |
|
else |
|
test "$mandir" = '${datarootdir}/man' && mandir='$(datarootdir)/man' |
|
fi |
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' -a X"$with_stow" != X"yes" && sysconfdir='/etc' |
test "$sysconfdir" = '${prefix}/etc' -a X"$with_stow" != X"yes" && sysconfdir='/etc' |
|
|
fi |
fi |
|
|
|
|
|
|
|
# Check whether --with-selinux was given. |
|
if test "${with_selinux+set}" = set; then |
|
withval=$with_selinux; case $with_selinux in |
|
yes) 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 |
|
|
|
|
# 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:$LINENO: checking for $ac_word" >&5 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
# whether `pass_all' will *always* work, you probably want this one. |
# whether `pass_all' will *always* work, you probably want this one. |
|
|
case $host_os in |
case $host_os in |
aix4* | aix5*) |
aix[4-9]*) |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
;; |
;; |
|
|
|
|
;; |
;; |
*-*-irix6*) |
*-*-irix6*) |
# Find out which ABI we are using. |
# Find out which ABI we are using. |
echo '#line 6088 "configure"' > conftest.$ac_ext |
echo '#line 6132 "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=$? |
|
|
*64-bit*) |
*64-bit*) |
case $lt_cv_prog_gnu_ld in |
case $lt_cv_prog_gnu_ld in |
yes*) LD="${LD-ld} -m elf64_sparc" ;; |
yes*) LD="${LD-ld} -m elf64_sparc" ;; |
*) LD="${LD-ld} -64" ;; |
*) |
|
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
|
LD="${LD-ld} -64" |
|
fi |
|
;; |
esac |
esac |
;; |
;; |
esac |
esac |
|
|
|
|
|
|
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! |
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! |
|
|
# find the maximum length of command line arguments |
# find the maximum length of command line arguments |
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 |
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 |
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } |
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } |
|
|
echo "$progname: failed program was:" >&5 |
echo "$progname: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
cat conftest.$ac_ext >&5 |
fi |
fi |
rm -f conftest* conftst* |
rm -rf conftest* conftst* |
|
|
# Do not use the global_symbol_pipe unless it works. |
# Do not use the global_symbol_pipe unless it works. |
if test "$pipe_works" = yes; then |
if test "$pipe_works" = yes; then |
|
|
;; |
;; |
esac |
esac |
|
|
|
|
|
case $host_os in |
|
rhapsody* | darwin*) |
|
if test -n "$ac_tool_prefix"; then |
|
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. |
|
set dummy ${ac_tool_prefix}dsymutil; 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_DSYMUTIL+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test -n "$DSYMUTIL"; then |
|
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # 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_DSYMUTIL="${ac_tool_prefix}dsymutil" |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
fi |
|
fi |
|
DSYMUTIL=$ac_cv_prog_DSYMUTIL |
|
if test -n "$DSYMUTIL"; then |
|
{ echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 |
|
echo "${ECHO_T}$DSYMUTIL" >&6; } |
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
|
|
fi |
|
if test -z "$ac_cv_prog_DSYMUTIL"; then |
|
ac_ct_DSYMUTIL=$DSYMUTIL |
|
# Extract the first word of "dsymutil", so it can be a program name with args. |
|
set dummy dsymutil; 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_ac_ct_DSYMUTIL+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test -n "$ac_ct_DSYMUTIL"; then |
|
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # 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_ac_ct_DSYMUTIL="dsymutil" |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
fi |
|
fi |
|
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL |
|
if test -n "$ac_ct_DSYMUTIL"; then |
|
{ echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 |
|
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; } |
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
if test "x$ac_ct_DSYMUTIL" = x; then |
|
DSYMUTIL=":" |
|
else |
|
case $cross_compiling:$ac_tool_warned in |
|
yes:) |
|
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|
whose name does not start with the host triplet. If you think this |
|
configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
whose name does not start with the host triplet. If you think this |
|
configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
ac_tool_warned=yes ;; |
|
esac |
|
DSYMUTIL=$ac_ct_DSYMUTIL |
|
fi |
|
else |
|
DSYMUTIL="$ac_cv_prog_DSYMUTIL" |
|
fi |
|
|
|
if test -n "$ac_tool_prefix"; then |
|
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. |
|
set dummy ${ac_tool_prefix}nmedit; 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_NMEDIT+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test -n "$NMEDIT"; then |
|
ac_cv_prog_NMEDIT="$NMEDIT" # 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_NMEDIT="${ac_tool_prefix}nmedit" |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
fi |
|
fi |
|
NMEDIT=$ac_cv_prog_NMEDIT |
|
if test -n "$NMEDIT"; then |
|
{ echo "$as_me:$LINENO: result: $NMEDIT" >&5 |
|
echo "${ECHO_T}$NMEDIT" >&6; } |
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
|
|
fi |
|
if test -z "$ac_cv_prog_NMEDIT"; then |
|
ac_ct_NMEDIT=$NMEDIT |
|
# Extract the first word of "nmedit", so it can be a program name with args. |
|
set dummy nmedit; 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_ac_ct_NMEDIT+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test -n "$ac_ct_NMEDIT"; then |
|
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # 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_ac_ct_NMEDIT="nmedit" |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
fi |
|
fi |
|
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT |
|
if test -n "$ac_ct_NMEDIT"; then |
|
{ echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 |
|
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; } |
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
if test "x$ac_ct_NMEDIT" = x; then |
|
NMEDIT=":" |
|
else |
|
case $cross_compiling:$ac_tool_warned in |
|
yes:) |
|
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|
whose name does not start with the host triplet. If you think this |
|
configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
whose name does not start with the host triplet. If you think this |
|
configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
ac_tool_warned=yes ;; |
|
esac |
|
NMEDIT=$ac_ct_NMEDIT |
|
fi |
|
else |
|
NMEDIT="$ac_cv_prog_NMEDIT" |
|
fi |
|
|
|
|
|
{ echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 |
|
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; } |
|
if test "${lt_cv_apple_cc_single_mod+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
lt_cv_apple_cc_single_mod=no |
|
if test -z "${LT_MULTI_MODULE}"; then |
|
# By default we will add the -single_module flag. You can override |
|
# by either setting the environment variable LT_MULTI_MODULE |
|
# non-empty at configure time, or by adding -multi_module to the |
|
# link flags. |
|
echo "int foo(void){return 1;}" > conftest.c |
|
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
|
-dynamiclib ${wl}-single_module conftest.c |
|
if test -f libconftest.dylib; then |
|
lt_cv_apple_cc_single_mod=yes |
|
rm -rf libconftest.dylib* |
|
fi |
|
rm conftest.c |
|
fi |
|
fi |
|
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 |
|
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; } |
|
{ echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 |
|
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; } |
|
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
lt_cv_ld_exported_symbols_list=no |
|
save_LDFLAGS=$LDFLAGS |
|
echo "_main" > conftest.sym |
|
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
|
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 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 |
|
lt_cv_ld_exported_symbols_list=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
lt_cv_ld_exported_symbols_list=no |
|
fi |
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LDFLAGS="$save_LDFLAGS" |
|
|
|
fi |
|
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 |
|
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; } |
|
case $host_os in |
|
rhapsody* | darwin1.[0123]) |
|
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
|
darwin1.*) |
|
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
|
darwin*) |
|
# if running on 10.5 or later, the deployment target defaults |
|
# to the OS version, if on x86, and 10.4, the deployment |
|
# target defaults to 10.4. Don't you love it? |
|
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
|
10.0,*86*-darwin8*|10.0,*-darwin[91]*) |
|
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
|
10.[012]*) |
|
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
|
10.*) |
|
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
|
esac |
|
;; |
|
esac |
|
if test "$lt_cv_apple_cc_single_mod" = "yes"; then |
|
_lt_dar_single_mod='$single_module' |
|
fi |
|
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then |
|
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' |
|
else |
|
_lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}" |
|
fi |
|
if test "$DSYMUTIL" != ":"; then |
|
_lt_dsymutil="~$DSYMUTIL \$lib || :" |
|
else |
|
_lt_dsymutil= |
|
fi |
|
;; |
|
esac |
|
|
|
|
enable_dlopen=no |
enable_dlopen=no |
enable_win32_dll=no |
enable_win32_dll=no |
|
|
|
|
echo "$lt_simple_link_test_code" >conftest.$ac_ext |
echo "$lt_simple_link_test_code" >conftest.$ac_ext |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
_lt_linker_boilerplate=`cat conftest.err` |
_lt_linker_boilerplate=`cat conftest.err` |
$rm conftest* |
$rm -r conftest* |
|
|
|
|
## CAVEAT EMPTOR: |
## CAVEAT EMPTOR: |
|
|
-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:7632: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:7991: $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:7636: \$? = $ac_status" >&5 |
echo "$as_me:7995: \$? = $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. |
|
|
|
|
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; } |
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; } |
if test "${lt_prog_compiler_pic_works+set}" = set; then |
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
lt_prog_compiler_pic_works=no |
lt_cv_prog_compiler_pic_works=no |
ac_outfile=conftest.$ac_objext |
ac_outfile=conftest.$ac_objext |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
lt_compiler_flag="$lt_prog_compiler_pic -DPIC" |
lt_compiler_flag="$lt_prog_compiler_pic -DPIC" |
|
|
-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:7922: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:8281: $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:7926: \$? = $ac_status" >&5 |
echo "$as_me:8285: \$? = $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. |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
lt_prog_compiler_pic_works=yes |
lt_cv_prog_compiler_pic_works=yes |
fi |
fi |
fi |
fi |
$rm conftest* |
$rm conftest* |
|
|
fi |
fi |
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 |
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 |
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; } |
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; } |
|
|
if test x"$lt_prog_compiler_pic_works" = xyes; then |
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then |
case $lt_prog_compiler_pic in |
case $lt_prog_compiler_pic in |
"" | " "*) ;; |
"" | " "*) ;; |
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
|
|
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } |
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } |
if test "${lt_prog_compiler_static_works+set}" = set; then |
if test "${lt_cv_prog_compiler_static_works+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
lt_prog_compiler_static_works=no |
lt_cv_prog_compiler_static_works=no |
save_LDFLAGS="$LDFLAGS" |
save_LDFLAGS="$LDFLAGS" |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
|
|
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
if diff conftest.exp conftest.er2 >/dev/null; then |
if diff conftest.exp conftest.er2 >/dev/null; then |
lt_prog_compiler_static_works=yes |
lt_cv_prog_compiler_static_works=yes |
fi |
fi |
else |
else |
lt_prog_compiler_static_works=yes |
lt_cv_prog_compiler_static_works=yes |
fi |
fi |
fi |
fi |
$rm conftest* |
$rm -r conftest* |
LDFLAGS="$save_LDFLAGS" |
LDFLAGS="$save_LDFLAGS" |
|
|
fi |
fi |
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 |
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 |
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; } |
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; } |
|
|
if test x"$lt_prog_compiler_static_works" = xyes; then |
if test x"$lt_cv_prog_compiler_static_works" = xyes; then |
: |
: |
else |
else |
lt_prog_compiler_static= |
lt_prog_compiler_static= |
|
|
-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:8026: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:8385: $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:8030: \$? = $ac_status" >&5 |
echo "$as_me:8389: \$? = $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 |
|
|
# it will be wrapped by ` (' and `)$', so one must not match beginning or |
# it will be wrapped by ` (' and `)$', so one must not match beginning or |
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', |
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', |
# as well as any symbol that contains `d'. |
# as well as any symbol that contains `d'. |
exclude_expsyms="_GLOBAL_OFFSET_TABLE_" |
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
# platforms (ab)use it in PIC code, but their linkers get confused if |
# platforms (ab)use it in PIC code, but their linkers get confused if |
# the symbol is explicitly referenced. Since portable code cannot |
# the symbol is explicitly referenced. Since portable code cannot |
# rely on this symbol name, it's probably fine to never include it in |
# rely on this symbol name, it's probably fine to never include it in |
# preloaded symbol tables. |
# preloaded symbol tables. |
|
# Exclude shared library initialization/finalization symbols. |
extract_expsyms_cmds= |
extract_expsyms_cmds= |
# Just being paranoid about ensuring that cc_basename is set. |
# Just being paranoid about ensuring that cc_basename is set. |
for cc_temp in $compiler""; do |
for cc_temp in $compiler""; do |
|
|
|
|
# See if GNU ld supports shared libraries. |
# See if GNU ld supports shared libraries. |
case $host_os in |
case $host_os in |
aix3* | aix4* | aix5*) |
aix[3-9]*) |
# On AIX/PPC, the GNU linker is very broken |
# On AIX/PPC, the GNU linker is very broken |
if test "$host_cpu" != ia64; then |
if test "$host_cpu" != ia64; then |
ld_shlibs=no |
ld_shlibs=no |
|
|
fi |
fi |
;; |
;; |
|
|
aix4* | aix5*) |
aix[4-9]*) |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
# On IA64, the linker does run time linking by default, so we don't |
# On IA64, the linker does run time linking by default, so we don't |
# have to do anything special. |
# have to do anything special. |
|
|
# Test if we are trying to use run time linking or normal |
# Test if we are trying to use run time linking or normal |
# AIX style linking. If -brtl is somewhere in LDFLAGS, we |
# AIX style linking. If -brtl is somewhere in LDFLAGS, we |
# need to do runtime linking. |
# need to do runtime linking. |
case $host_os in aix4.[23]|aix4.[23].*|aix5*) |
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
for ld_flag in $LDFLAGS; do |
for ld_flag in $LDFLAGS; do |
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
aix_use_runtimelinking=yes |
aix_use_runtimelinking=yes |
|
|
link_all_deplibs=yes |
link_all_deplibs=yes |
if test "$GCC" = yes ; then |
if test "$GCC" = yes ; then |
output_verbose_link_cmd='echo' |
output_verbose_link_cmd='echo' |
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' |
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' |
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds |
archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" |
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" |
module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
|
else |
else |
case $cc_basename in |
case $cc_basename in |
xlc*) |
xlc*) |
|
|
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
;; |
;; |
|
|
aix4* | aix5*) |
aix[4-9]*) |
version_type=linux |
version_type=linux |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
|
|
echo "${ECHO_T}$dynamic_linker" >&6; } |
echo "${ECHO_T}$dynamic_linker" >&6; } |
test "$dynamic_linker" = no && can_build_shared=no |
test "$dynamic_linker" = no && can_build_shared=no |
|
|
|
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec" |
|
fi |
|
|
|
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
|
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec" |
|
fi |
|
|
|
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
|
|
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } |
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } |
if test $ac_cv_lib_dld_shl_load = yes; then |
if test $ac_cv_lib_dld_shl_load = yes; then |
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" |
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
else |
else |
{ echo "$as_me:$LINENO: checking for dlopen" >&5 |
{ echo "$as_me:$LINENO: checking for dlopen" >&5 |
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } |
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } |
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } |
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } |
if test $ac_cv_lib_dld_dld_link = yes; then |
if test $ac_cv_lib_dld_dld_link = yes; then |
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" |
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
fi |
fi |
|
|
|
|
|
|
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 10371 "configure" |
#line 10745 "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 10471 "configure" |
#line 10845 "configure" |
#include "confdefs.h" |
#include "confdefs.h" |
|
|
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
|
|
fi |
fi |
;; |
;; |
|
|
aix4* | aix5*) |
aix[4-9]*) |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
test "$enable_shared" = yes && enable_static=no |
test "$enable_shared" = yes && enable_static=no |
fi |
fi |
|
|
predeps \ |
predeps \ |
postdeps \ |
postdeps \ |
compiler_lib_search_path \ |
compiler_lib_search_path \ |
|
compiler_lib_search_dirs \ |
archive_cmds \ |
archive_cmds \ |
archive_expsym_cmds \ |
archive_expsym_cmds \ |
postinstall_cmds \ |
postinstall_cmds \ |
|
|
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) |
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) |
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
# |
# |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
# Free Software Foundation, Inc. |
# Free Software Foundation, Inc. |
# |
# |
# This file is part of GNU Libtool: |
# This file is part of GNU Libtool: |
|
|
# shared library. |
# shared library. |
postdeps=$lt_postdeps |
postdeps=$lt_postdeps |
|
|
|
# The directories searched by this compiler when creating a shared |
|
# library |
|
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs |
|
|
# The library search path used internally by the compiler when linking |
# The library search path used internally by the compiler when linking |
# a shared library. |
# a shared library. |
compiler_lib_search_path=$lt_compiler_lib_search_path |
compiler_lib_search_path=$lt_compiler_lib_search_path |
|
|
|
|
{ echo "$as_me:$LINENO: result: $with_noexec" >&5 |
{ echo "$as_me:$LINENO: result: $with_noexec" >&5 |
echo "${ECHO_T}$with_noexec" >&6; } |
echo "${ECHO_T}$with_noexec" >&6; } |
|
NOEXECFILE="sudo_noexec$_shrext" |
NOEXECDIR="`echo $with_noexec|sed 's:^\(.*\)/[^/]*:\1:'`" |
NOEXECDIR="`echo $with_noexec|sed 's:^\(.*\)/[^/]*:\1:'`" |
|
|
if test "$with_devel" = "yes" -a -n "$GCC"; then |
if test "$with_devel" = "yes" -a -n "$GCC"; then |
|
|
: ${mansectsu='1m'} |
: ${mansectsu='1m'} |
: ${mansectform='4'} |
: ${mansectform='4'} |
;; |
;; |
*-*-linux*) |
*-*-linux*|*-*-k*bsd*-gnu) |
OSDEFS="${OSDEFS} -D_GNU_SOURCE" |
OSDEFS="${OSDEFS} -D_GNU_SOURCE" |
# Some Linux versions need to link with -lshadow |
# Some Linux versions need to link with -lshadow |
shadow_funcs="getspnam" |
shadow_funcs="getspnam" |
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
_ACEOF |
_ACEOF |
|
LCMAN="" |
case "$OS" in |
case "$OS" in |
freebsd|netbsd) SUDO_LIBS="${SUDO_LIBS} -lutil" |
freebsd|netbsd) SUDO_LIBS="${SUDO_LIBS} -lutil" |
;; |
;; |
|
|
|
|
|
|
|
|
|
|
for ac_func in strchr strrchr memchr memcpy memset sysconf tzset \ |
for ac_func in strchr strrchr memchr memcpy memset sysconf tzset \ |
strftime setrlimit initgroups getgroups fstat gettimeofday \ |
strftime setrlimit initgroups getgroups fstat gettimeofday \ |
setlocale getaddrinfo |
setlocale getaddrinfo setsid |
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:$LINENO: checking for $ac_func" >&5 |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
int |
int |
main () |
main () |
{ |
{ |
DIR d; (void)dirfd(&d); |
DIR *d; (void)dirfd(d); |
; |
; |
return 0; |
return 0; |
} |
} |
|
|
|
|
case $host in |
case $host in |
*-*-linux*|*-*-solaris*) |
*-*-linux*|*-*-solaris*) |
|
# dgettext() may be defined to dgettext_libintl in the |
for ac_func in dgettext |
# header file, so first check that it links w/ additional |
do |
# libs, then try with -lintl |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
cat >conftest.$ac_ext <<_ACEOF |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
|
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
#include <libintl.h> |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
#define $ac_func innocuous_$ac_func |
|
|
|
/* 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 |
|
|
|
#undef $ac_func |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char $ac_func (); |
|
/* 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 |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return $ac_func (); |
(void)dgettext((char *)0, (char *)0); |
; |
; |
return 0; |
return 0; |
} |
} |
|
|
test ! -s conftest.err |
test ! -s conftest.err |
} && test -s conftest$ac_exeext && |
} && test -s conftest$ac_exeext && |
$as_test_x conftest$ac_exeext; then |
$as_test_x conftest$ac_exeext; then |
eval "$as_ac_var=yes" |
cat >>confdefs.h <<\_ACEOF |
|
#define HAVE_DGETTEXT 1 |
|
_ACEOF |
|
|
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
eval "$as_ac_var=no" |
{ echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 |
fi |
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
fi |
|
ac_res=`eval echo '${'$as_ac_var'}'` |
|
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
|
if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
cat >>confdefs.h <<_ACEOF |
|
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
_ACEOF |
|
|
|
else |
|
{ echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 |
|
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; } |
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; } |
if test "${ac_cv_lib_intl_dgettext+set}" = set; then |
if test "${ac_cv_lib_intl_dgettext+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
fi |
fi |
|
|
fi |
fi |
done |
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
conftest$ac_exeext conftest.$ac_ext |
;; |
;; |
esac |
esac |
fi |
fi |
|
|
_ACEOF |
_ACEOF |
|
|
AUTH_OBJS="$AUTH_OBJS bsdauth.o" |
AUTH_OBJS="$AUTH_OBJS bsdauth.o" |
BSDAUTH_USAGE='[-a auth_type] ' |
AUTH_EXCL=BSD_AUTH; BAMAN="" |
AUTH_EXCL=BSD_AUTH |
|
else |
else |
{ { echo "$as_me:$LINENO: error: BSD authentication was specified but bsd_auth.h could not be found" >&5 |
{ { echo "$as_me:$LINENO: error: BSD authentication was specified but bsd_auth.h could not be found" >&5 |
echo "$as_me: error: BSD authentication was specified but bsd_auth.h could not be found" >&2;} |
echo "$as_me: error: BSD authentication was specified but bsd_auth.h could not be found" >&2;} |
|
|
done |
done |
|
|
|
|
SUDO_LIBS="${SUDO_LIBS}${LDAP_LIBS}" |
SUDO_LIBS="${SUDO_LIBS} ${LDAP_LIBS}" |
LIBS="$_LIBS" |
LIBS="$_LIBS" |
LDFLAGS="$_LDFLAGS" |
LDFLAGS="$_LDFLAGS" |
# XXX - OpenLDAP has deprecated ldap_get_values() |
# XXX - OpenLDAP has deprecated ldap_get_values() |
|
|
|
|
test "$exec_prefix" = "NONE" && exec_prefix='$(prefix)' |
test "$exec_prefix" = "NONE" && exec_prefix='$(prefix)' |
|
|
if test "$with_noexec" != "no"; then |
if test X"$with_noexec" != X"no" -o X"$with_selinux" != X"no"; then |
PROGS="${PROGS} sudo_noexec.la" |
|
INSTALL_NOEXEC="install-noexec" |
|
|
|
oexec_prefix="$exec_prefix" |
oexec_prefix="$exec_prefix" |
if test "$exec_prefix" = '$(prefix)'; then |
if test "$exec_prefix" = '$(prefix)'; then |
if test "$prefix" = "NONE"; then |
if test "$prefix" = "NONE"; then |
|
|
exec_prefix="$prefix" |
exec_prefix="$prefix" |
fi |
fi |
fi |
fi |
eval noexec_file="$with_noexec" |
if test X"$with_noexec" != X"no"; then |
|
PROGS="${PROGS} sudo_noexec.la" |
|
INSTALL_NOEXEC="install-noexec" |
|
|
|
eval noexec_file="$with_noexec" |
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define _PATH_SUDO_NOEXEC "$noexec_file" |
#define _PATH_SUDO_NOEXEC "$noexec_file" |
_ACEOF |
_ACEOF |
|
|
|
fi |
|
if test X"$with_selinux" != X"no"; then |
|
eval sesh_file="$libexecdir/sesh" |
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define _PATH_SUDO_SESH "$sesh_file" |
|
_ACEOF |
|
|
|
fi |
exec_prefix="$oexec_prefix" |
exec_prefix="$oexec_prefix" |
fi |
fi |
|
|
|
|
SUDOERS_UID!$SUDOERS_UID$ac_delim |
SUDOERS_UID!$SUDOERS_UID$ac_delim |
SUDOERS_GID!$SUDOERS_GID$ac_delim |
SUDOERS_GID!$SUDOERS_GID$ac_delim |
DEV!$DEV$ac_delim |
DEV!$DEV$ac_delim |
|
SELINUX!$SELINUX$ac_delim |
|
BAMAN!$BAMAN$ac_delim |
|
LCMAN!$LCMAN$ac_delim |
|
SEMAN!$SEMAN$ac_delim |
mansectsu!$mansectsu$ac_delim |
mansectsu!$mansectsu$ac_delim |
mansectform!$mansectform$ac_delim |
mansectform!$mansectform$ac_delim |
mansrcdir!$mansrcdir$ac_delim |
mansrcdir!$mansrcdir$ac_delim |
|
NOEXECFILE!$NOEXECFILE$ac_delim |
NOEXECDIR!$NOEXECDIR$ac_delim |
NOEXECDIR!$NOEXECDIR$ac_delim |
noexec_file!$noexec_file$ac_delim |
noexec_file!$noexec_file$ac_delim |
INSTALL_NOEXEC!$INSTALL_NOEXEC$ac_delim |
INSTALL_NOEXEC!$INSTALL_NOEXEC$ac_delim |
|
|
EGREPPROG!$EGREPPROG$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 |
|
OBJEXT!$OBJEXT$ac_delim |
|
CPP!$CPP$ac_delim |
|
build!$build$ac_delim |
|
build_cpu!$build_cpu$ac_delim |
|
_ACEOF |
_ACEOF |
|
|
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
|
|
ac_delim='%!_!# ' |
ac_delim='%!_!# ' |
for ac_last_try in false false false false false :; do |
for ac_last_try in false false false false false :; do |
cat >conf$$subs.sed <<_ACEOF |
cat >conf$$subs.sed <<_ACEOF |
|
EXEEXT!$EXEEXT$ac_delim |
|
OBJEXT!$OBJEXT$ac_delim |
|
CPP!$CPP$ac_delim |
|
build!$build$ac_delim |
|
build_cpu!$build_cpu$ac_delim |
build_vendor!$build_vendor$ac_delim |
build_vendor!$build_vendor$ac_delim |
build_os!$build_os$ac_delim |
build_os!$build_os$ac_delim |
host!$host$ac_delim |
host!$host$ac_delim |
|
|
AR!$AR$ac_delim |
AR!$AR$ac_delim |
RANLIB!$RANLIB$ac_delim |
RANLIB!$RANLIB$ac_delim |
STRIP!$STRIP$ac_delim |
STRIP!$STRIP$ac_delim |
|
DSYMUTIL!$DSYMUTIL$ac_delim |
|
NMEDIT!$NMEDIT$ac_delim |
UNAMEPROG!$UNAMEPROG$ac_delim |
UNAMEPROG!$UNAMEPROG$ac_delim |
TRPROG!$TRPROG$ac_delim |
TRPROG!$TRPROG$ac_delim |
NROFFPROG!$NROFFPROG$ac_delim |
NROFFPROG!$NROFFPROG$ac_delim |
|
|
LTLIBOBJS!$LTLIBOBJS$ac_delim |
LTLIBOBJS!$LTLIBOBJS$ac_delim |
_ACEOF |
_ACEOF |
|
|
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 27; then |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 34; then |
break |
break |
elif $ac_last_try; then |
elif $ac_last_try; then |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
|
fi |
fi |
rm -f "$tmp/out12" |
rm -f "$tmp/out12" |
# Compute $ac_file's index in $config_headers. |
# Compute $ac_file's index in $config_headers. |
|
_am_arg=$ac_file |
_am_stamp_count=1 |
_am_stamp_count=1 |
for _am_header in $config_headers :; do |
for _am_header in $config_headers :; do |
case $_am_header in |
case $_am_header in |
$ac_file | $ac_file:* ) |
$_am_arg | $_am_arg:* ) |
break ;; |
break ;; |
* ) |
* ) |
_am_stamp_count=`expr $_am_stamp_count + 1` ;; |
_am_stamp_count=`expr $_am_stamp_count + 1` ;; |
esac |
esac |
done |
done |
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file || |
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
X$ac_file : 'X\(//\)[^/]' \| \ |
X"$_am_arg" : 'X\(//\)[^/]' \| \ |
X$ac_file : 'X\(//\)$' \| \ |
X"$_am_arg" : 'X\(//\)$' \| \ |
X$ac_file : 'X\(/\)' \| . 2>/dev/null || |
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
echo X$ac_file | |
echo X"$_am_arg" | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
s//\1/ |
s//\1/ |
q |
q |
|
|
;; |
;; |
esac |
esac |
fi |
fi |
|
|
|
|
|
|
|
|
|
|