version 1.26, 2007/08/15 14:22:39 |
version 1.27, 2007/09/05 23:55:56 |
|
|
#! /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.59 for sudo 1.6.9. |
# Generated by GNU Autoconf 2.61 for sudo 1.6.9. |
# |
# |
# Copyright (C) 2003 Free Software Foundation, Inc. |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
|
# 2002, 2003, 2004, 2005, 2006 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. ## |
## M4sh Initialization. ## |
## --------------------- ## |
## --------------------- ## |
|
|
# Be Bourne compatible |
# Be more Bourne compatible |
|
DUALCASE=1; export DUALCASE # for MKS sh |
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 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
# is contrary to our usage. Disable this feature. |
# is contrary to our usage. Disable this feature. |
alias -g '${1+"$@"}'='"$@"' |
alias -g '${1+"$@"}'='"$@"' |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
setopt NO_GLOB_SUBST |
set -o posix |
else |
|
case `(set -o) 2>/dev/null` in |
|
*posix*) set -o posix ;; |
|
esac |
|
|
fi |
fi |
DUALCASE=1; export DUALCASE # for MKS sh |
|
|
|
|
|
|
|
|
|
|
# PATH needs CR |
|
# 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 |
|
|
# Support unset when possible. |
# Support unset when possible. |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
as_unset=unset |
as_unset=unset |
|
|
fi |
fi |
|
|
|
|
|
# IFS |
|
# We need space, tab and new line, in precisely that order. Quoting is |
|
# there to prevent editors from complaining about space-tab. |
|
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
# splitting by setting IFS to empty value.) |
|
as_nl=' |
|
' |
|
IFS=" "" $as_nl" |
|
|
|
# Find who we are. Look in the path if we contain no directory separator. |
|
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 |
|
IFS=$as_save_IFS |
|
|
|
;; |
|
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_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
{ (exit 1); exit 1; } |
|
fi |
|
|
# Work around bugs in pre-3.0 UWIN ksh. |
# Work around bugs in pre-3.0 UWIN ksh. |
$as_unset ENV MAIL MAILPATH |
for as_var in ENV MAIL MAILPATH |
|
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|
done |
PS1='$ ' |
PS1='$ ' |
PS2='> ' |
PS2='> ' |
PS4='+ ' |
PS4='+ ' |
|
|
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
eval $as_var=C; export $as_var |
eval $as_var=C; export $as_var |
else |
else |
$as_unset $as_var |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
fi |
fi |
done |
done |
|
|
# Required to use basename. |
# Required to use basename. |
if expr a : '\(a\)' >/dev/null 2>&1; then |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
as_expr=expr |
as_expr=expr |
else |
else |
as_expr=false |
as_expr=false |
fi |
fi |
|
|
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
as_basename=basename |
as_basename=basename |
else |
else |
as_basename=false |
as_basename=false |
|
|
|
|
|
|
# Name of the executable. |
# Name of the executable. |
as_me=`$as_basename "$0" || |
as_me=`$as_basename -- "$0" || |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
X"$0" : 'X\(//\)$' \| \ |
X"$0" : 'X\(//\)$' \| \ |
X"$0" : 'X\(/\)$' \| \ |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
|
echo X/"$0" | |
echo X/"$0" | |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
/^X\/\(\/\/\)$/{ s//\1/; q; } |
s//\1/ |
/^X\/\(\/\).*/{ s//\1/; q; } |
q |
s/.*/./; q'` |
} |
|
/^X\/\(\/\/\)$/{ |
|
s//\1/ |
|
q |
|
} |
|
/^X\/\(\/\).*/{ |
|
s//\1/ |
|
q |
|
} |
|
s/.*/./; q'` |
|
|
|
# CDPATH. |
|
$as_unset CDPATH |
|
|
# 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 "x$CONFIG_SHELL" = x; then |
if test "${PATH_SEPARATOR+set}" != set; then |
if (eval ":") 2>/dev/null; then |
echo "#! /bin/sh" >conf$$.sh |
as_have_required=yes |
echo "exit 0" >>conf$$.sh |
else |
chmod +x conf$$.sh |
as_have_required=no |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
|
PATH_SEPARATOR=';' |
|
else |
|
PATH_SEPARATOR=: |
|
fi |
|
rm -f conf$$.sh |
|
fi |
fi |
|
|
|
if test $as_have_required = yes && (eval ": |
|
(as_func_return () { |
|
(exit \$1) |
|
} |
|
as_func_success () { |
|
as_func_return 0 |
|
} |
|
as_func_failure () { |
|
as_func_return 1 |
|
} |
|
as_func_ret_success () { |
|
return 0 |
|
} |
|
as_func_ret_failure () { |
|
return 1 |
|
} |
|
|
as_lineno_1=$LINENO |
exitcode=0 |
as_lineno_2=$LINENO |
if as_func_success; then |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
: |
test "x$as_lineno_1" != "x$as_lineno_2" && |
else |
test "x$as_lineno_3" = "x$as_lineno_2" || { |
exitcode=1 |
# Find who we are. Look in the path if we contain no path at all |
echo as_func_success failed. |
# relative or not. |
fi |
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 |
|
|
|
;; |
if as_func_failure; then |
esac |
exitcode=1 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
echo as_func_failure succeeded. |
# in which case we are not to be found in the path. |
fi |
if test "x$as_myself" = x; then |
|
as_myself=$0 |
if as_func_ret_success; then |
fi |
: |
if test ! -f "$as_myself"; then |
else |
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
exitcode=1 |
{ (exit 1); exit 1; }; } |
echo as_func_ret_success failed. |
fi |
fi |
case $CONFIG_SHELL in |
|
'') |
if as_func_ret_failure; then |
|
exitcode=1 |
|
echo as_func_ret_failure succeeded. |
|
fi |
|
|
|
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
|
: |
|
else |
|
exitcode=1 |
|
echo positional parameters were not saved. |
|
fi |
|
|
|
test \$exitcode = 0) || { (exit 1); exit 1; } |
|
|
|
( |
|
as_lineno_1=\$LINENO |
|
as_lineno_2=\$LINENO |
|
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
|
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
|
") 2> /dev/null; then |
|
: |
|
else |
|
as_candidate_shells= |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
do |
do |
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for as_base in sh bash ksh sh5; do |
case $as_dir in |
case $as_dir in |
|
/*) |
/*) |
if ("$as_dir/$as_base" -c ' |
for as_base in sh bash ksh sh5; do |
|
as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
|
done;; |
|
esac |
|
done |
|
IFS=$as_save_IFS |
|
|
|
|
|
for as_shell in $as_candidate_shells $SHELL; do |
|
# Try only shells that exist, to save several forks. |
|
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
|
{ ("$as_shell") 2> /dev/null <<\_ASEOF |
|
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+"$@"}'='"$@"' |
|
setopt NO_GLOB_SUBST |
|
else |
|
case `(set -o) 2>/dev/null` in |
|
*posix*) set -o posix ;; |
|
esac |
|
|
|
fi |
|
|
|
|
|
: |
|
_ASEOF |
|
}; then |
|
CONFIG_SHELL=$as_shell |
|
as_have_required=yes |
|
if { "$as_shell" 2> /dev/null <<\_ASEOF |
|
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+"$@"}'='"$@"' |
|
setopt NO_GLOB_SUBST |
|
else |
|
case `(set -o) 2>/dev/null` in |
|
*posix*) set -o posix ;; |
|
esac |
|
|
|
fi |
|
|
|
|
|
: |
|
(as_func_return () { |
|
(exit $1) |
|
} |
|
as_func_success () { |
|
as_func_return 0 |
|
} |
|
as_func_failure () { |
|
as_func_return 1 |
|
} |
|
as_func_ret_success () { |
|
return 0 |
|
} |
|
as_func_ret_failure () { |
|
return 1 |
|
} |
|
|
|
exitcode=0 |
|
if as_func_success; then |
|
: |
|
else |
|
exitcode=1 |
|
echo as_func_success failed. |
|
fi |
|
|
|
if as_func_failure; then |
|
exitcode=1 |
|
echo as_func_failure succeeded. |
|
fi |
|
|
|
if as_func_ret_success; then |
|
: |
|
else |
|
exitcode=1 |
|
echo as_func_ret_success failed. |
|
fi |
|
|
|
if as_func_ret_failure; then |
|
exitcode=1 |
|
echo as_func_ret_failure succeeded. |
|
fi |
|
|
|
if ( set x; as_func_ret_success y && test x = "$1" ); then |
|
: |
|
else |
|
exitcode=1 |
|
echo positional parameters were not saved. |
|
fi |
|
|
|
test $exitcode = 0) || { (exit 1); exit 1; } |
|
|
|
( |
as_lineno_1=$LINENO |
as_lineno_1=$LINENO |
as_lineno_2=$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_1" != "x$as_lineno_2" && |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
$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 |
|
|
|
|
_ASEOF |
|
}; then |
|
break |
|
fi |
|
|
|
fi |
|
|
|
done |
|
|
|
if test "x$CONFIG_SHELL" != x; then |
|
for as_var in BASH_ENV ENV |
|
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|
done |
|
export CONFIG_SHELL |
|
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
|
fi |
|
|
|
|
|
if test $as_have_required = no; then |
|
echo This script requires a shell more modern than all the |
|
echo shells that I found on your system. Please install a |
|
echo modern shell, or manually run the script under such a |
|
echo shell if you do have one. |
|
{ (exit 1); exit 1; } |
|
fi |
|
|
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
(eval "as_func_return () { |
|
(exit \$1) |
|
} |
|
as_func_success () { |
|
as_func_return 0 |
|
} |
|
as_func_failure () { |
|
as_func_return 1 |
|
} |
|
as_func_ret_success () { |
|
return 0 |
|
} |
|
as_func_ret_failure () { |
|
return 1 |
|
} |
|
|
|
exitcode=0 |
|
if as_func_success; then |
|
: |
|
else |
|
exitcode=1 |
|
echo as_func_success failed. |
|
fi |
|
|
|
if as_func_failure; then |
|
exitcode=1 |
|
echo as_func_failure succeeded. |
|
fi |
|
|
|
if as_func_ret_success; then |
|
: |
|
else |
|
exitcode=1 |
|
echo as_func_ret_success failed. |
|
fi |
|
|
|
if as_func_ret_failure; then |
|
exitcode=1 |
|
echo as_func_ret_failure succeeded. |
|
fi |
|
|
|
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
|
: |
|
else |
|
exitcode=1 |
|
echo positional parameters were not saved. |
|
fi |
|
|
|
test \$exitcode = 0") || { |
|
echo No shell found that supports shell functions. |
|
echo Please tell autoconf@gnu.org about your system, |
|
echo including any error possibly output before this |
|
echo message |
|
} |
|
|
|
|
|
|
|
as_lineno_1=$LINENO |
|
as_lineno_2=$LINENO |
|
test "x$as_lineno_1" != "x$as_lineno_2" && |
|
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
|
|
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
# uniformly replaced by the line number. The first 'sed' inserts a |
# uniformly replaced by the line number. The first 'sed' inserts a |
# line-number line before each line; the second 'sed' does the real |
# line-number line after each line using $LINENO; the second 'sed' |
# work. The second script uses 'N' to pair each line-number line |
# does the real work. The second script uses 'N' to pair each |
# with the numbered line, and appends trailing '-' during |
# line-number line with the line containing $LINENO, and appends |
# substitution so that $LINENO is not a special case at line end. |
# trailing '-' during substitution so that $LINENO is not a special |
|
# case at line end. |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
# scripts with optimization help from Paolo Bonzini. Blame Lee |
sed '=' <$as_myself | |
# E. McMahon (1931-1989) for sed's syntax. :-) |
|
sed -n ' |
|
p |
|
/[$]LINENO/= |
|
' <$as_myself | |
sed ' |
sed ' |
|
s/[$]LINENO.*/&-/ |
|
t lineno |
|
b |
|
:lineno |
N |
N |
s,$,-, |
:loop |
: loop |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
|
t loop |
t loop |
s,-$,, |
s/-\n.*// |
s,^['$as_cr_digits']*\n,, |
|
' >$as_me.lineno && |
' >$as_me.lineno && |
chmod +x $as_me.lineno || |
chmod +x "$as_me.lineno" || |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
|
|
# Don't try to exec as it changes $[0], causing all sort of problems |
# 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 |
# (the dirname of $[0] is not the place where we might find the |
# original and so on. Autoconf is especially sensible to this). |
# original and so on. Autoconf is especially sensitive to this). |
. ./$as_me.lineno |
. "./$as_me.lineno" |
# Exit status is that of the last command. |
# Exit status is that of the last command. |
exit |
exit |
} |
} |
|
|
|
|
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
*c*,-n*) ECHO_N= ECHO_C=' |
as_dirname=dirname |
' ECHO_T=' ' ;; |
else |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
as_dirname=false |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
fi |
|
|
|
ECHO_C= ECHO_N= ECHO_T= |
|
case `echo -n x` in |
|
-n*) |
|
case `echo 'x\c'` in |
|
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
*) ECHO_C='\c';; |
|
esac;; |
|
*) |
|
ECHO_N='-n';; |
esac |
esac |
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
as_expr=expr |
as_expr=expr |
else |
else |
as_expr=false |
as_expr=false |
fi |
fi |
|
|
rm -f conf$$ conf$$.exe conf$$.file |
rm -f conf$$ conf$$.exe conf$$.file |
|
if test -d conf$$.dir; then |
|
rm -f conf$$.dir/conf$$.file |
|
else |
|
rm -f conf$$.dir |
|
mkdir conf$$.dir |
|
fi |
echo >conf$$.file |
echo >conf$$.file |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
# We could just check for DJGPP; but this test a) works b) is more generic |
as_ln_s='ln -s' |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
# ... but there are two gotchas: |
if test -f conf$$.exe; then |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# Don't use ln at all; we don't have any links |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
# In both cases, we have to default to `cp -p'. |
|
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
as_ln_s='cp -p' |
as_ln_s='cp -p' |
else |
|
as_ln_s='ln -s' |
|
fi |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
elif ln conf$$.file conf$$ 2>/dev/null; then |
as_ln_s=ln |
as_ln_s=ln |
else |
else |
as_ln_s='cp -p' |
as_ln_s='cp -p' |
fi |
fi |
rm -f conf$$ conf$$.exe conf$$.file |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
rmdir conf$$.dir 2>/dev/null |
|
|
if mkdir -p . 2>/dev/null; then |
if mkdir -p . 2>/dev/null; then |
as_mkdir_p=: |
as_mkdir_p=: |
|
|
as_mkdir_p=false |
as_mkdir_p=false |
fi |
fi |
|
|
as_executable_p="test -f" |
if test -x / >/dev/null 2>&1; then |
|
as_test_x='test -x' |
|
else |
|
if ls -dL / >/dev/null 2>&1; then |
|
as_ls_L_option=L |
|
else |
|
as_ls_L_option= |
|
fi |
|
as_test_x=' |
|
eval sh -c '\'' |
|
if test -d "$1"; then |
|
test -d "$1/."; |
|
else |
|
case $1 in |
|
-*)set "./$1";; |
|
esac; |
|
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
|
???[sx]*):;;*)false;;esac;fi |
|
'\'' sh |
|
' |
|
fi |
|
as_executable_p=$as_test_x |
|
|
# Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
|
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
|
|
|
# IFS |
|
# We need space, tab and new line, in precisely that order. |
|
as_nl=' |
|
' |
|
IFS=" $as_nl" |
|
|
|
# CDPATH. |
|
$as_unset CDPATH |
|
|
|
|
|
|
|
# Check that we are running under the correct shell. |
# Check that we are running under the correct shell. |
SHELL=${CONFIG_SHELL-/bin/sh} |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
|
case $lt_ECHO in |
case X$ECHO in |
X*--fallback-echo) |
X*--fallback-echo) |
# Remove one level of quotation (which was required for Make). |
# Remove one level of quotation (which was required for Make). |
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` |
ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` |
;; |
;; |
esac |
esac |
|
|
ECHO=${lt_ECHO-echo} |
echo=${ECHO-echo} |
if test "X$1" = X--no-reexec; then |
if test "X$1" = X--no-reexec; then |
# Discard the --no-reexec flag, and continue. |
# Discard the --no-reexec flag, and continue. |
shift |
shift |
elif test "X$1" = X--fallback-echo; then |
elif test "X$1" = X--fallback-echo; then |
# Avoid inline document here, it may be left over |
# Avoid inline document here, it may be left over |
: |
: |
elif test "X`($ECHO '\t') 2>/dev/null`" = 'X\t' ; then |
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then |
# Yippee, $ECHO works! |
# Yippee, $echo works! |
: |
: |
else |
else |
# Restart under the correct shell. |
# Restart under the correct shell. |
|
|
if test "X$1" = X--fallback-echo; then |
if test "X$1" = X--fallback-echo; then |
# used as fallback echo |
# used as fallback echo |
shift |
shift |
cat <<_LT_EOF |
cat <<EOF |
$* |
$* |
_LT_EOF |
EOF |
exit 0 |
exit 0 |
fi |
fi |
|
|
|
|
# if CDPATH is set. |
# if CDPATH is set. |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
|
if test -z "$lt_ECHO"; then |
if test -z "$ECHO"; then |
if test "X${echo_test_string+set}" != Xset; then |
if test "X${echo_test_string+set}" != Xset; then |
# find a string as large as possible, as long as the shell can cope with it |
# find a string as large as possible, as long as the shell can cope with it |
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do |
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do |
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
if (echo_test_string="`eval $cmd`") 2>/dev/null && |
if (echo_test_string=`eval $cmd`) 2>/dev/null && |
echo_test_string="`eval $cmd`" && |
echo_test_string=`eval $cmd` && |
(test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null |
(test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null |
then |
then |
break |
break |
fi |
fi |
done |
done |
fi |
fi |
|
|
if test "X`($ECHO '\t') 2>/dev/null`" = 'X\t' && |
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && |
echo_testing_string=`($ECHO "$echo_test_string") 2>/dev/null` && |
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && |
test "X$echo_testing_string" = "X$echo_test_string"; then |
test "X$echo_testing_string" = "X$echo_test_string"; then |
: |
: |
else |
else |
# The Solaris, AIX, and Digital Unix default echo programs unquote |
# The Solaris, AIX, and Digital Unix default echo programs unquote |
# backslashes. This makes it impossible to quote backslashes using |
# backslashes. This makes it impossible to quote backslashes using |
# echo "$something" | sed 's/\\/\\\\/g' |
# echo "$something" | sed 's/\\/\\\\/g' |
# |
# |
# So, first we look for a working echo in the user's PATH. |
# So, first we look for a working echo in the user's PATH. |
|
|
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
for dir in $PATH /usr/ucb; do |
for dir in $PATH /usr/ucb; do |
IFS="$lt_save_ifs" |
|
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && |
|
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && |
|
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && |
|
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
ECHO="$dir/echo" |
|
break |
|
fi |
|
done |
|
IFS="$lt_save_ifs" |
IFS="$lt_save_ifs" |
|
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && |
|
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && |
|
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && |
|
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
echo="$dir/echo" |
|
break |
|
fi |
|
done |
|
IFS="$lt_save_ifs" |
|
|
if test "X$ECHO" = Xecho; then |
if test "X$echo" = Xecho; then |
# We didn't find a better echo, so look for alternatives. |
# We didn't find a better echo, so look for alternatives. |
if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && |
if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && |
echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && |
echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && |
test "X$echo_testing_string" = "X$echo_test_string"; then |
test "X$echo_testing_string" = "X$echo_test_string"; then |
# This shell has a builtin print -r that does the trick. |
# This shell has a builtin print -r that does the trick. |
ECHO='print -r' |
echo='print -r' |
elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && |
elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && |
test "X$CONFIG_SHELL" != X/bin/ksh; then |
test "X$CONFIG_SHELL" != X/bin/ksh; then |
# If we have ksh, try running configure again with it. |
# If we have ksh, try running configure again with it. |
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
export ORIGINAL_CONFIG_SHELL |
export ORIGINAL_CONFIG_SHELL |
CONFIG_SHELL=/bin/ksh |
CONFIG_SHELL=/bin/ksh |
export CONFIG_SHELL |
export CONFIG_SHELL |
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} |
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} |
else |
else |
# Try using printf. |
# Try using printf. |
ECHO='printf %s\n' |
echo='printf %s\n' |
if test "X`($ECHO '\t') 2>/dev/null`" = 'X\t' && |
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && |
echo_testing_string=`($ECHO "$echo_test_string") 2>/dev/null` && |
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && |
|
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
# Cool, printf works |
|
: |
|
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
|
test "X$echo_testing_string" = 'X\t' && |
|
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
test "X$echo_testing_string" = "X$echo_test_string"; then |
test "X$echo_testing_string" = "X$echo_test_string"; then |
# Cool, printf works |
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL |
: |
export CONFIG_SHELL |
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
SHELL="$CONFIG_SHELL" |
test "X$echo_testing_string" = 'X\t' && |
export SHELL |
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
echo="$CONFIG_SHELL $0 --fallback-echo" |
test "X$echo_testing_string" = "X$echo_test_string"; then |
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL |
test "X$echo_testing_string" = 'X\t' && |
export CONFIG_SHELL |
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
SHELL="$CONFIG_SHELL" |
test "X$echo_testing_string" = "X$echo_test_string"; then |
export SHELL |
echo="$CONFIG_SHELL $0 --fallback-echo" |
ECHO="$CONFIG_SHELL $0 --fallback-echo" |
else |
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
# maybe with a smaller string... |
test "X$echo_testing_string" = 'X\t' && |
prev=: |
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
|
test "X$echo_testing_string" = "X$echo_test_string"; then |
|
ECHO="$CONFIG_SHELL $0 --fallback-echo" |
|
else |
|
# maybe with a smaller string... |
|
prev=: |
|
|
|
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do |
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do |
if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null |
if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null |
then |
then |
break |
break |
fi |
|
prev="$cmd" |
|
done |
|
|
|
if test "$prev" != 'sed 50q "$0"'; then |
|
echo_test_string=`eval $prev` |
|
export echo_test_string |
|
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} |
|
else |
|
# Oops. We lost completely, so just stick with echo. |
|
ECHO=echo |
|
fi |
fi |
fi |
prev="$cmd" |
|
done |
|
|
|
if test "$prev" != 'sed 50q "$0"'; then |
|
echo_test_string=`eval $prev` |
|
export echo_test_string |
|
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} |
|
else |
|
# Oops. We lost completely, so just stick with echo. |
|
echo=echo |
|
fi |
fi |
fi |
fi |
fi |
fi |
fi |
fi |
fi |
|
fi |
|
|
# Copy echo and quote the copy suitably for passing to libtool from |
# Copy echo and quote the copy suitably for passing to libtool from |
# the Makefile, instead of quoting the original, which is used later. |
# the Makefile, instead of quoting the original, which is used later. |
lt_ECHO=$ECHO |
ECHO=$echo |
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then |
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then |
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" |
ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" |
fi |
fi |
|
|
|
|
|
|
|
|
|
exec 7<&0 </dev/null 6>&1 |
|
|
# 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. |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
|
|
exec 6>&1 |
|
|
|
# |
# |
# Initializations. |
# Initializations. |
# |
# |
ac_default_prefix=/usr/local |
ac_default_prefix=/usr/local |
|
ac_clean_files= |
ac_config_libobj_dir=. |
ac_config_libobj_dir=. |
|
LIBOBJS= |
cross_compiling=no |
cross_compiling=no |
subdirs= |
subdirs= |
MFLAGS= |
MFLAGS= |
MAKEFLAGS= |
MAKEFLAGS= |
SHELL=${CONFIG_SHELL-/bin/sh} |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
|
# Maximum number of lines to put in a shell here document. |
|
# This variable seems obsolete. It should probably be removed, and |
|
# only ac_max_sed_lines should be used. |
|
: ${ac_max_here_lines=38} |
|
|
|
# Identity of this package. |
# Identity of this package. |
PACKAGE_NAME='sudo' |
PACKAGE_NAME='sudo' |
PACKAGE_TARNAME='sudo' |
PACKAGE_TARNAME='sudo' |
|
|
# Factoring default headers for most tests. |
# Factoring default headers for most tests. |
ac_includes_default="\ |
ac_includes_default="\ |
#include <stdio.h> |
#include <stdio.h> |
#if HAVE_SYS_TYPES_H |
#ifdef HAVE_SYS_TYPES_H |
# include <sys/types.h> |
# include <sys/types.h> |
#endif |
#endif |
#if HAVE_SYS_STAT_H |
#ifdef HAVE_SYS_STAT_H |
# include <sys/stat.h> |
# include <sys/stat.h> |
#endif |
#endif |
#if STDC_HEADERS |
#ifdef STDC_HEADERS |
# include <stdlib.h> |
# include <stdlib.h> |
# include <stddef.h> |
# include <stddef.h> |
#else |
#else |
# if HAVE_STDLIB_H |
# ifdef HAVE_STDLIB_H |
# include <stdlib.h> |
# include <stdlib.h> |
# endif |
# endif |
#endif |
#endif |
#if HAVE_STRING_H |
#ifdef HAVE_STRING_H |
# if !STDC_HEADERS && HAVE_MEMORY_H |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
# include <memory.h> |
# include <memory.h> |
# endif |
# endif |
# include <string.h> |
# include <string.h> |
#endif |
#endif |
#if HAVE_STRINGS_H |
#ifdef HAVE_STRINGS_H |
# include <strings.h> |
# include <strings.h> |
#endif |
#endif |
#if HAVE_INTTYPES_H |
#ifdef HAVE_INTTYPES_H |
# include <inttypes.h> |
# include <inttypes.h> |
#else |
|
# if HAVE_STDINT_H |
|
# include <stdint.h> |
|
# endif |
|
#endif |
#endif |
#if HAVE_UNISTD_H |
#ifdef HAVE_STDINT_H |
|
# include <stdint.h> |
|
#endif |
|
#ifdef HAVE_UNISTD_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 LIBTOOL CFLAGS PROGS CPPFLAGS LDFLAGS SUDO_LDFLAGS SUDO_OBJS SUDO_LIBS NET_LIBS AFS_LIBS OSDEFS AUTH_OBJS MANTYPE MAN_POSTINSTALL SUDOERS_MODE SUDOERS_UID SUDOERS_GID DEV mansectsu mansectform mansrcdir NOEXECDIR noexec_file INSTALL_NOEXEC DONT_LEAK_PATH_INFO 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 root_sudo path_info EGREPPROG CC ac_ct_CC EXEEXT OBJEXT CPP build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os SED EGREP FGREP GREP LD NM LN_S AR ac_ct_AR STRIP ac_ct_STRIP RANLIB ac_ct_RANLIB lt_ECHO UNAMEPROG TRPROG NROFFPROG YACC LIBOBJS ALLOCA KRB5CONFIG LTLIBOBJS' |
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 |
|
datarootdir |
|
datadir |
|
sysconfdir |
|
sharedstatedir |
|
localstatedir |
|
includedir |
|
oldincludedir |
|
docdir |
|
infodir |
|
htmldir |
|
dvidir |
|
pdfdir |
|
psdir |
|
libdir |
|
localedir |
|
mandir |
|
DEFS |
|
ECHO_C |
|
ECHO_N |
|
ECHO_T |
|
LIBS |
|
build_alias |
|
host_alias |
|
target_alias |
|
LIBTOOL |
|
CFLAGS |
|
PROGS |
|
CPPFLAGS |
|
LDFLAGS |
|
SUDO_LDFLAGS |
|
SUDO_OBJS |
|
SUDO_LIBS |
|
NET_LIBS |
|
AFS_LIBS |
|
OSDEFS |
|
AUTH_OBJS |
|
MANTYPE |
|
MAN_POSTINSTALL |
|
SUDOERS_MODE |
|
SUDOERS_UID |
|
SUDOERS_GID |
|
DEV |
|
mansectsu |
|
mansectform |
|
mansrcdir |
|
NOEXECDIR |
|
noexec_file |
|
INSTALL_NOEXEC |
|
DONT_LEAK_PATH_INFO |
|
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 |
|
root_sudo |
|
path_info |
|
EGREPPROG |
|
CC |
|
ac_ct_CC |
|
EXEEXT |
|
OBJEXT |
|
CPP |
|
build |
|
build_cpu |
|
build_vendor |
|
build_os |
|
host |
|
host_cpu |
|
host_vendor |
|
host_os |
|
target |
|
target_cpu |
|
target_vendor |
|
target_os |
|
SED |
|
GREP |
|
EGREP |
|
LN_S |
|
ECHO |
|
AR |
|
RANLIB |
|
STRIP |
|
UNAMEPROG |
|
TRPROG |
|
NROFFPROG |
|
YACC |
|
YFLAGS |
|
LIBOBJS |
|
ALLOCA |
|
KRB5CONFIG |
|
LTLIBOBJS' |
ac_subst_files='' |
ac_subst_files='' |
|
ac_precious_vars='build_alias |
|
host_alias |
|
target_alias |
|
CC |
|
CFLAGS |
|
LDFLAGS |
|
LIBS |
|
CPPFLAGS |
|
CPP |
|
YACC |
|
YFLAGS' |
|
|
|
|
# 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 |
|
|
# and all the variables that are supposed to be based on exec_prefix |
# and all the variables that are supposed to be based on exec_prefix |
# by default will actually change. |
# by default will actually change. |
# Use braces instead of parens because sh, perl, etc. also accept them. |
# Use braces instead of parens because sh, perl, etc. also accept them. |
|
# (The list follows the same order as the GNU Coding Standards.) |
bindir='${exec_prefix}/bin' |
bindir='${exec_prefix}/bin' |
sbindir='${exec_prefix}/sbin' |
sbindir='${exec_prefix}/sbin' |
libexecdir='${exec_prefix}/libexec' |
libexecdir='${exec_prefix}/libexec' |
datadir='${prefix}/share' |
datarootdir='${prefix}/share' |
|
datadir='${datarootdir}' |
sysconfdir='${prefix}/etc' |
sysconfdir='${prefix}/etc' |
sharedstatedir='${prefix}/com' |
sharedstatedir='${prefix}/com' |
localstatedir='${prefix}/var' |
localstatedir='${prefix}/var' |
libdir='${exec_prefix}/lib' |
|
includedir='${prefix}/include' |
includedir='${prefix}/include' |
oldincludedir='/usr/include' |
oldincludedir='/usr/include' |
infodir='${prefix}/info' |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
mandir='${prefix}/man' |
infodir='${datarootdir}/info' |
|
htmldir='${docdir}' |
|
dvidir='${docdir}' |
|
pdfdir='${docdir}' |
|
psdir='${docdir}' |
|
libdir='${exec_prefix}/lib' |
|
localedir='${datarootdir}/locale' |
|
mandir='${datarootdir}/man' |
|
|
ac_prev= |
ac_prev= |
|
ac_dashdash= |
for ac_option |
for ac_option |
do |
do |
# If the previous option needs an argument, assign it. |
# If the previous option needs an argument, assign it. |
if test -n "$ac_prev"; then |
if test -n "$ac_prev"; then |
eval "$ac_prev=\$ac_option" |
eval $ac_prev=\$ac_option |
ac_prev= |
ac_prev= |
continue |
continue |
fi |
fi |
|
|
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
case $ac_option in |
|
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
|
*) ac_optarg=yes ;; |
|
esac |
|
|
# Accept the important Cygnus configure options, so we can diagnose typos. |
# Accept the important Cygnus configure options, so we can diagnose typos. |
|
|
case $ac_option in |
case $ac_dashdash$ac_option in |
|
--) |
|
ac_dashdash=yes ;; |
|
|
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
ac_prev=bindir ;; |
ac_prev=bindir ;; |
|
|
--config-cache | -C) |
--config-cache | -C) |
cache_file=config.cache ;; |
cache_file=config.cache ;; |
|
|
-datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
-datadir | --datadir | --datadi | --datad) |
ac_prev=datadir ;; |
ac_prev=datadir ;; |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
-datadir=* | --datadir=* | --datadi=* | --datad=*) |
| --da=*) |
|
datadir=$ac_optarg ;; |
datadir=$ac_optarg ;; |
|
|
|
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
|
| --dataroo | --dataro | --datar) |
|
ac_prev=datarootdir ;; |
|
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
|
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
|
datarootdir=$ac_optarg ;; |
|
|
-disable-* | --disable-*) |
-disable-* | --disable-*) |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
# Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
eval "enable_$ac_feature=no" ;; |
eval enable_$ac_feature=no ;; |
|
|
|
-docdir | --docdir | --docdi | --doc | --do) |
|
ac_prev=docdir ;; |
|
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
|
docdir=$ac_optarg ;; |
|
|
|
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
|
ac_prev=dvidir ;; |
|
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
|
dvidir=$ac_optarg ;; |
|
|
-enable-* | --enable-*) |
-enable-* | --enable-*) |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
# Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
case $ac_option in |
eval enable_$ac_feature=\$ac_optarg ;; |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
|
*) ac_optarg=yes ;; |
|
esac |
|
eval enable_$ac_feature='$ac_optarg' ;; |
|
|
|
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
|
|
-host=* | --host=* | --hos=* | --ho=*) |
-host=* | --host=* | --hos=* | --ho=*) |
host_alias=$ac_optarg ;; |
host_alias=$ac_optarg ;; |
|
|
|
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
|
ac_prev=htmldir ;; |
|
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
|
| --ht=*) |
|
htmldir=$ac_optarg ;; |
|
|
-includedir | --includedir | --includedi | --included | --include \ |
-includedir | --includedir | --includedi | --included | --include \ |
| --includ | --inclu | --incl | --inc) |
| --includ | --inclu | --incl | --inc) |
ac_prev=includedir ;; |
ac_prev=includedir ;; |
|
|
| --libexe=* | --libex=* | --libe=*) |
| --libexe=* | --libex=* | --libe=*) |
libexecdir=$ac_optarg ;; |
libexecdir=$ac_optarg ;; |
|
|
|
-localedir | --localedir | --localedi | --localed | --locale) |
|
ac_prev=localedir ;; |
|
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
|
localedir=$ac_optarg ;; |
|
|
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
| --localstate | --localstat | --localsta | --localst \ |
| --localstate | --localstat | --localsta | --localst | --locals) |
| --locals | --local | --loca | --loc | --lo) |
|
ac_prev=localstatedir ;; |
ac_prev=localstatedir ;; |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
|
localstatedir=$ac_optarg ;; |
localstatedir=$ac_optarg ;; |
|
|
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
|
|
| --progr-tra=* | --program-tr=* | --program-t=*) |
| --progr-tra=* | --program-tr=* | --program-t=*) |
program_transform_name=$ac_optarg ;; |
program_transform_name=$ac_optarg ;; |
|
|
|
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
|
ac_prev=pdfdir ;; |
|
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
|
pdfdir=$ac_optarg ;; |
|
|
|
-psdir | --psdir | --psdi | --psd | --ps) |
|
ac_prev=psdir ;; |
|
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
|
psdir=$ac_optarg ;; |
|
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| -silent | --silent | --silen | --sile | --sil) |
| -silent | --silent | --silen | --sile | --sil) |
silent=yes ;; |
silent=yes ;; |
|
|
-with-* | --with-*) |
-with-* | --with-*) |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
# Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
case $ac_option in |
eval with_$ac_package=\$ac_optarg ;; |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
|
*) ac_optarg=yes ;; |
|
esac |
|
eval with_$ac_package='$ac_optarg' ;; |
|
|
|
-without-* | --without-*) |
-without-* | --without-*) |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
# Reject names that are not valid shell variable names. |
# Reject names that are not valid shell variable names. |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
ac_package=`echo $ac_package | sed 's/-/_/g'` |
ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
eval "with_$ac_package=no" ;; |
eval with_$ac_package=no ;; |
|
|
--x) |
--x) |
# Obsolete; use --with-x. |
# Obsolete; use --with-x. |
|
|
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
eval $ac_envvar=\$ac_optarg |
eval "$ac_envvar='$ac_optarg'" |
|
export $ac_envvar ;; |
export $ac_envvar ;; |
|
|
*) |
*) |
|
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi |
fi |
|
|
# Be sure to have absolute paths. |
# Be sure to have absolute directory names. |
for ac_var in exec_prefix prefix |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
|
datadir sysconfdir sharedstatedir localstatedir includedir \ |
|
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
|
libdir localedir mandir |
do |
do |
eval ac_val=$`echo $ac_var` |
eval ac_val=\$$ac_var |
case $ac_val in |
case $ac_val in |
[\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
[\\/$]* | ?:[\\/]* ) continue;; |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
{ (exit 1); exit 1; }; };; |
|
esac |
esac |
|
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
|
{ (exit 1); exit 1; }; } |
done |
done |
|
|
# Be sure to have absolute paths. |
|
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
|
localstatedir libdir includedir oldincludedir infodir mandir |
|
do |
|
eval ac_val=$`echo $ac_var` |
|
case $ac_val in |
|
[\\/$]* | ?:[\\/]* ) ;; |
|
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
|
{ (exit 1); exit 1; }; };; |
|
esac |
|
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. |
# FIXME: To remove some day. |
|
|
test "$silent" = yes && exec 6>/dev/null |
test "$silent" = yes && exec 6>/dev/null |
|
|
|
|
|
ac_pwd=`pwd` && test -n "$ac_pwd" && |
|
ac_ls_di=`ls -di .` && |
|
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
|
{ echo "$as_me: error: Working directory cannot be determined" >&2 |
|
{ (exit 1); exit 1; }; } |
|
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
|
{ echo "$as_me: error: pwd does not report name of working directory" >&2 |
|
{ (exit 1); exit 1; }; } |
|
|
|
|
# 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 the parent directory. |
ac_confdir=`(dirname "$0") 2>/dev/null || |
ac_confdir=`$as_dirname -- "$0" || |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
X"$0" : 'X\(//\)[^/]' \| \ |
X"$0" : 'X\(//\)[^/]' \| \ |
X"$0" : 'X\(//\)$' \| \ |
X"$0" : 'X\(//\)$' \| \ |
X"$0" : 'X\(/\)' \| \ |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
|
echo X"$0" | |
echo X"$0" | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
s//\1/ |
/^X\(\/\/\)$/{ s//\1/; q; } |
q |
/^X\(\/\).*/{ s//\1/; q; } |
} |
s/.*/./; 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 |
else |
else |
ac_srcdir_defaulted=no |
ac_srcdir_defaulted=no |
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 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
else |
|
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
fi |
fi |
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
ac_abs_confdir=`( |
|
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
pwd)` |
ac_env_build_alias_set=${build_alias+set} |
# When building in place, set srcdir=. |
ac_env_build_alias_value=$build_alias |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
ac_cv_env_build_alias_set=${build_alias+set} |
srcdir=. |
ac_cv_env_build_alias_value=$build_alias |
fi |
ac_env_host_alias_set=${host_alias+set} |
# Remove unnecessary trailing slashes from srcdir. |
ac_env_host_alias_value=$host_alias |
# Double slashes in file names in object file debugging info |
ac_cv_env_host_alias_set=${host_alias+set} |
# mess up M-x gdb in Emacs. |
ac_cv_env_host_alias_value=$host_alias |
case $srcdir in |
ac_env_target_alias_set=${target_alias+set} |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
ac_env_target_alias_value=$target_alias |
esac |
ac_cv_env_target_alias_set=${target_alias+set} |
for ac_var in $ac_precious_vars; do |
ac_cv_env_target_alias_value=$target_alias |
eval ac_env_${ac_var}_set=\${${ac_var}+set} |
ac_env_CC_set=${CC+set} |
eval ac_env_${ac_var}_value=\$${ac_var} |
ac_env_CC_value=$CC |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
ac_cv_env_CC_set=${CC+set} |
eval ac_cv_env_${ac_var}_value=\$${ac_var} |
ac_cv_env_CC_value=$CC |
done |
ac_env_CFLAGS_set=${CFLAGS+set} |
|
ac_env_CFLAGS_value=$CFLAGS |
|
ac_cv_env_CFLAGS_set=${CFLAGS+set} |
|
ac_cv_env_CFLAGS_value=$CFLAGS |
|
ac_env_LDFLAGS_set=${LDFLAGS+set} |
|
ac_env_LDFLAGS_value=$LDFLAGS |
|
ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
|
ac_cv_env_LDFLAGS_value=$LDFLAGS |
|
ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
|
ac_env_CPPFLAGS_value=$CPPFLAGS |
|
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
|
ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
|
ac_env_CPP_set=${CPP+set} |
|
ac_env_CPP_value=$CPP |
|
ac_cv_env_CPP_set=${CPP+set} |
|
ac_cv_env_CPP_value=$CPP |
|
|
|
# |
# |
# Report the --help message. |
# Report the --help message. |
|
|
-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 \`..'] |
|
|
_ACEOF |
|
|
|
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] |
|
|
--bindir=DIR user executables [EPREFIX/bin] |
--bindir=DIR user executables [EPREFIX/bin] |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
--libexecdir=DIR program executables [EPREFIX/libexec] |
--libexecdir=DIR program executables [EPREFIX/libexec] |
--datadir=DIR read-only architecture-independent data [PREFIX/share] |
--sysconfdir=DIR read-only single-machine data [etc] |
--sysconfdir=DIR read-only single-machine data [/etc] |
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
--libdir=DIR object code libraries [EPREFIX/lib] |
--libdir=DIR object code libraries [EPREFIX/lib] |
--includedir=DIR C header files [PREFIX/include] |
--includedir=DIR C header files [PREFIX/include] |
--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] |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
--mandir=DIR man documentation [PREFIX/man] |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
|
--infodir=DIR info documentation [DATAROOTDIR/info] |
|
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
|
--mandir=DIR man documentation [DATAROOTDIR/man] |
|
--docdir=DIR documentation root [DATAROOTDIR/doc/sudo] |
|
--htmldir=DIR html documentation [DOCDIR] |
|
--dvidir=DIR dvi documentation [DOCDIR] |
|
--pdfdir=DIR pdf documentation [DOCDIR] |
|
--psdir=DIR ps documentation [DOCDIR] |
_ACEOF |
_ACEOF |
|
|
cat <<\_ACEOF |
cat <<\_ACEOF |
|
|
--enable-shell-sets-home |
--enable-shell-sets-home |
set $HOME to target user in shell mode |
set $HOME to target user in shell mode |
--disable-path-info Print 'command not allowed' not 'command not found' |
--disable-path-info Print 'command not allowed' not 'command not found' |
--enable-static[=PKGS] |
--enable-static[=PKGS] build static libraries [default=no] |
build static libraries [default=no] |
--enable-shared[=PKGS] build shared libraries [default=yes] |
--enable-shared[=PKGS] |
|
build shared libraries [default=yes] |
|
--enable-fast-install[=PKGS] |
--enable-fast-install[=PKGS] |
optimize for fast installation [default=yes] |
optimize for fast installation [default=yes] |
--disable-libtool-lock avoid locking (might break parallel builds) |
--disable-libtool-lock avoid locking (might break parallel builds) |
--disable-libtool-lock avoid locking (might break parallel builds) |
--disable-sia Disable SIA on Digital UNIX |
--disable-sia Never use SIA on Digital UNIX |
|
|
|
Optional Packages: |
Optional Packages: |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
|
|
--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-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] |
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
|
--with-noexec=PATH fully qualified pathname of sudo_noexec.so |
--with-noexec=PATH fully qualified pathname of sudo_noexec.so |
|
|
Some influential environment variables: |
Some influential environment variables: |
|
|
CFLAGS C compiler flags |
CFLAGS C compiler flags |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
nonstandard directory <lib dir> |
nonstandard directory <lib dir> |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
LIBS libraries to pass to the linker, e.g. -l<library> |
headers in a nonstandard directory <include dir> |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
|
you have headers in a nonstandard directory <include dir> |
CPP C preprocessor |
CPP C preprocessor |
|
YACC The `Yet Another C Compiler' implementation to use. Defaults to |
|
the first program found out of: `bison -y', `byacc', `yacc'. |
|
YFLAGS The list of arguments that will be passed by default to $YACC. |
|
This script will default YFLAGS to the empty string to avoid a |
|
default value of `-d' given by some make applications. |
|
|
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. |
|
|
_ACEOF |
_ACEOF |
|
ac_status=$? |
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` |
|
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
test -d $ac_dir || continue |
test -d "$ac_dir" || continue |
ac_builddir=. |
ac_builddir=. |
|
|
if test "$ac_dir" != .; then |
case "$ac_dir" in |
|
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
*) |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
# A "../" for each directory in $ac_dir_suffix. |
# A ".." for each directory in $ac_dir_suffix. |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
else |
case $ac_top_builddir_sub in |
ac_dir_suffix= ac_top_builddir= |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
fi |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
esac ;; |
|
esac |
|
ac_abs_top_builddir=$ac_pwd |
|
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
# for backward compatibility: |
|
ac_top_builddir=$ac_top_build_prefix |
|
|
case $srcdir in |
case $srcdir in |
.) # No --srcdir option. We are building in place. |
.) # We are building in place. |
ac_srcdir=. |
ac_srcdir=. |
if test -z "$ac_top_builddir"; then |
ac_top_srcdir=$ac_top_builddir_sub |
ac_top_srcdir=. |
ac_abs_top_srcdir=$ac_pwd ;; |
else |
[\\/]* | ?:[\\/]* ) # Absolute name. |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
|
fi ;; |
|
[\\/]* | ?:[\\/]* ) # Absolute path. |
|
ac_srcdir=$srcdir$ac_dir_suffix; |
ac_srcdir=$srcdir$ac_dir_suffix; |
ac_top_srcdir=$srcdir ;; |
ac_top_srcdir=$srcdir |
*) # Relative path. |
ac_abs_top_srcdir=$srcdir ;; |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
*) # Relative name. |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
esac |
esac |
|
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
|
# Do not use `cd foo && pwd` to compute absolute paths, because |
cd "$ac_dir" || { ac_status=$?; continue; } |
# the directories may not exist. |
# Check for guested configure. |
case `pwd` in |
if test -f "$ac_srcdir/configure.gnu"; then |
.) ac_abs_builddir="$ac_dir";; |
echo && |
*) |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
case "$ac_dir" in |
elif test -f "$ac_srcdir/configure"; then |
.) ac_abs_builddir=`pwd`;; |
echo && |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
$SHELL "$ac_srcdir/configure" --help=recursive |
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
|
esac;; |
|
esac |
|
case $ac_abs_builddir in |
|
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
*) |
|
case ${ac_top_builddir}. in |
|
.) ac_abs_top_builddir=$ac_abs_builddir;; |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
|
esac;; |
|
esac |
|
case $ac_abs_builddir in |
|
.) ac_abs_srcdir=$ac_srcdir;; |
|
*) |
|
case $ac_srcdir in |
|
.) ac_abs_srcdir=$ac_abs_builddir;; |
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
|
esac;; |
|
esac |
|
case $ac_abs_builddir in |
|
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
*) |
|
case $ac_top_srcdir in |
|
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
|
esac;; |
|
esac |
|
|
|
cd $ac_dir |
|
# Check for guested configure; otherwise get Cygnus style configure. |
|
if test -f $ac_srcdir/configure.gnu; then |
|
echo |
|
$SHELL $ac_srcdir/configure.gnu --help=recursive |
|
elif test -f $ac_srcdir/configure; then |
|
echo |
|
$SHELL $ac_srcdir/configure --help=recursive |
|
elif test -f $ac_srcdir/configure.ac || |
|
test -f $ac_srcdir/configure.in; then |
|
echo |
|
$ac_configure --help |
|
else |
else |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
fi |
fi || ac_status=$? |
cd $ac_popdir |
cd "$ac_pwd" || { ac_status=$?; break; } |
done |
done |
fi |
fi |
|
|
test -n "$ac_init_help" && exit 0 |
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.6.9 |
sudo configure 1.6.9 |
generated by GNU Autoconf 2.59 |
generated by GNU Autoconf 2.61 |
|
|
Copyright (C) 2003 Free Software Foundation, Inc. |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
|
2002, 2003, 2004, 2005, 2006 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. |
_ACEOF |
_ACEOF |
exit 0 |
exit |
fi |
fi |
exec 5>config.log |
cat >config.log <<_ACEOF |
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.9, which was |
It was created by sudo $as_me 1.6.9, which was |
generated by GNU Autoconf 2.59. Invocation command line was |
generated by GNU Autoconf 2.61. Invocation command line was |
|
|
$ $0 $@ |
$ $0 $@ |
|
|
_ACEOF |
_ACEOF |
|
exec 5>>config.log |
{ |
{ |
cat <<_ASUNAME |
cat <<_ASUNAME |
## --------- ## |
## --------- ## |
|
|
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
/bin/machine = `(/bin/machine) 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` |
|
|
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
echo "PATH: $as_dir" |
echo "PATH: $as_dir" |
done |
done |
|
IFS=$as_save_IFS |
|
|
} >&5 |
} >&5 |
|
|
|
|
ac_configure_args= |
ac_configure_args= |
ac_configure_args0= |
ac_configure_args0= |
ac_configure_args1= |
ac_configure_args1= |
ac_sep= |
|
ac_must_keep_next=false |
ac_must_keep_next=false |
for ac_pass in 1 2 |
for ac_pass in 1 2 |
do |
do |
|
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| -silent | --silent | --silen | --sile | --sil) |
| -silent | --silent | --silen | --sile | --sil) |
continue ;; |
continue ;; |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
*\'*) |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
esac |
esac |
case $ac_pass in |
case $ac_pass in |
|
|
-* ) ac_must_keep_next=true ;; |
-* ) ac_must_keep_next=true ;; |
esac |
esac |
fi |
fi |
ac_configure_args="$ac_configure_args$ac_sep\"$ac_arg\"" |
ac_configure_args="$ac_configure_args '$ac_arg'" |
# Get rid of the leading space. |
|
ac_sep=" " |
|
;; |
;; |
esac |
esac |
done |
done |
|
|
# 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, |
# WARNING: Use '\'' to represent an apostrophe within the trap. |
# such as our DU 5.0 friend, will then `close' the trap. |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
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. |
{ |
{ |
|
|
_ASBOX |
_ASBOX |
echo |
echo |
# The following way of writing the cache mishandles newlines in values, |
# The following way of writing the cache mishandles newlines in values, |
{ |
( |
|
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
|
eval ac_val=\$$ac_var |
|
case $ac_val in #( |
|
*${as_nl}*) |
|
case $ac_var in #( |
|
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
|
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
|
esac |
|
case $ac_var in #( |
|
_ | IFS | as_nl) ;; #( |
|
*) $as_unset $ac_var ;; |
|
esac ;; |
|
esac |
|
done |
(set) 2>&1 | |
(set) 2>&1 | |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
*ac_space=\ *) |
*${as_nl}ac_space=\ *) |
sed -n \ |
sed -n \ |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
"s/'\''/'\''\\\\'\'''\''/g; |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
;; |
;; #( |
*) |
*) |
sed -n \ |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
|
;; |
;; |
esac; |
esac | |
} |
sort |
|
) |
echo |
echo |
|
|
cat <<\_ASBOX |
cat <<\_ASBOX |
|
|
echo |
echo |
for ac_var in $ac_subst_vars |
for ac_var in $ac_subst_vars |
do |
do |
eval ac_val=$`echo $ac_var` |
eval ac_val=\$$ac_var |
echo "$ac_var='"'"'$ac_val'"'"'" |
case $ac_val in |
|
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
esac |
|
echo "$ac_var='\''$ac_val'\''" |
done | sort |
done | sort |
echo |
echo |
|
|
if test -n "$ac_subst_files"; then |
if test -n "$ac_subst_files"; then |
cat <<\_ASBOX |
cat <<\_ASBOX |
## ------------- ## |
## ------------------- ## |
## Output files. ## |
## File substitutions. ## |
## ------------- ## |
## ------------------- ## |
_ASBOX |
_ASBOX |
echo |
echo |
for ac_var in $ac_subst_files |
for ac_var in $ac_subst_files |
do |
do |
eval ac_val=$`echo $ac_var` |
eval ac_val=\$$ac_var |
echo "$ac_var='"'"'$ac_val'"'"'" |
case $ac_val in |
|
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
esac |
|
echo "$ac_var='\''$ac_val'\''" |
done | sort |
done | sort |
echo |
echo |
fi |
fi |
|
|
## ----------- ## |
## ----------- ## |
_ASBOX |
_ASBOX |
echo |
echo |
sed "/^$/d" confdefs.h | sort |
cat confdefs.h |
echo |
echo |
fi |
fi |
test "$ac_signal" != 0 && |
test "$ac_signal" != 0 && |
echo "$as_me: caught signal $ac_signal" |
echo "$as_me: caught signal $ac_signal" |
echo "$as_me: exit $exit_status" |
echo "$as_me: exit $exit_status" |
} >&5 |
} >&5 |
rm -f core *.core && |
rm -f core *.core core.conftest.* && |
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
rm -f -r 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 |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
done |
done |
ac_signal=0 |
ac_signal=0 |
|
|
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
rm -rf conftest* confdefs.h |
rm -f -r conftest* confdefs.h |
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
|
echo >confdefs.h |
|
|
|
# Predefined preprocessor variables. |
# Predefined preprocessor variables. |
|
|
|
|
|
|
# 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 -n "$CONFIG_SITE"; then |
if test "x$prefix" != xNONE; then |
set x "$CONFIG_SITE" |
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
elif test "x$prefix" != xNONE; then |
else |
set x "$prefix/share/config.site" "$prefix/etc/config.site" |
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
else |
fi |
set x "$ac_default_prefix/share/config.site" \ |
|
"$ac_default_prefix/etc/config.site" |
fi |
fi |
for ac_site_file in $CONFIG_SITE; do |
shift |
|
for ac_site_file |
|
do |
if test -r "$ac_site_file"; then |
if test -r "$ac_site_file"; then |
{ echo "$as_me:$LINENO: 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;} |
|
|
{ echo "$as_me:$LINENO: 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";; |
*) . ./$cache_file;; |
*) . "./$cache_file";; |
esac |
esac |
fi |
fi |
else |
else |
|
|
# Check that the precious variables saved in the cache have kept the same |
# Check that the precious variables saved in the cache have kept the same |
# value. |
# value. |
ac_cache_corrupted=false |
ac_cache_corrupted=false |
for ac_var in `(set) 2>&1 | |
for ac_var in $ac_precious_vars; do |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
eval ac_new_set=\$ac_env_${ac_var}_set |
eval ac_new_set=\$ac_env_${ac_var}_set |
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
eval ac_old_val=\$ac_cv_env_${ac_var}_value |
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:$LINENO: 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 |
|
|
# Pass precious variables to config.status. |
# Pass precious variables to config.status. |
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_arg=$ac_var=$ac_new_val ;; |
*) ac_arg=$ac_var=$ac_new_val ;; |
esac |
esac |
case " $ac_configure_args " in |
case " $ac_configure_args " in |
|
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
fi |
fi |
|
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
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_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
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_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
|
|
ac_config_headers="$ac_config_headers config.h pathnames.h" |
|
|
ac_config_headers="$ac_config_headers config.h pathnames.h" |
|
|
|
{ echo "$as_me:$LINENO: Configuring Sudo version 1.6.9" >&5 |
{ echo "$as_me:$LINENO: Configuring Sudo version 1.6.9" >&5 |
echo "$as_me: Configuring Sudo version 1.6.9" >&6;} |
echo "$as_me: Configuring Sudo version 1.6.9" >&6;} |
|
|
|
|
: ${SUDOERS_UID='0'} |
: ${SUDOERS_UID='0'} |
: ${SUDOERS_GID='0'} |
: ${SUDOERS_GID='0'} |
DEV="#" |
DEV="#" |
AUTH_OBJS=passwd.o |
AUTH_OBJS= |
|
AUTH_REG= |
|
AUTH_EXCL= |
|
AUTH_EXCL_DEF= |
|
AUTH_DEF=passwd |
|
|
CHECKSHADOW=true |
CHECKSHADOW=true |
CHECKSIA=true |
CHECKSIA=true |
|
|
|
|
|
|
|
|
# Check whether --with-otp-only or --without-otp-only was given. |
# Check whether --with-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) AUTH_OBJS=`echo "$AUTH_OBJS"|sed -e 's/^passwd\.o *//'` |
|
{ echo "$as_me:$LINENO: --with-otp-only option deprecated, treating as --without-passwd" >&5 |
{ echo "$as_me:$LINENO: --with-otp-only option deprecated, treating as --without-passwd" >&5 |
echo "$as_me: --with-otp-only option deprecated, treating as --without-passwd" >&6;} |
echo "$as_me: --with-otp-only option deprecated, treating as --without-passwd" >&6;} |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
# Check whether --with-alertmail or --without-alertmail was given. |
|
|
# Check whether --with-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:$LINENO: --with-alertmail option deprecated, treating as --mailto" >&5 |
{ echo "$as_me:$LINENO: --with-alertmail option deprecated, treating as --mailto" >&5 |
echo "$as_me: --with-alertmail option deprecated, treating as --mailto" >&6;} |
echo "$as_me: --with-alertmail option deprecated, treating as --mailto" >&6;} |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
|
|
# Check whether --with-CC or --without-CC was given. |
|
|
# Check whether --with-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:$LINENO: 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; }; } |
|
|
*) CC=$with_CC |
*) CC=$with_CC |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
# Check whether --with-rpath or --without-rpath was given. |
|
|
# Check whether --with-rpath was given. |
if test "${with_rpath+set}" = set; then |
if test "${with_rpath+set}" = set; then |
withval="$with_rpath" |
withval=$with_rpath; case $with_rpath in |
case $with_rpath in |
|
yes|no) ;; |
yes|no) ;; |
*) { { echo "$as_me:$LINENO: error: \"--with-rpath does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-rpath does not take an argument.\"" >&5 |
echo "$as_me: error: \"--with-rpath does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--with-rpath does not take an argument.\"" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
# Check whether --with-blibpath or --without-blibpath was given. |
|
|
# Check whether --with-blibpath was given. |
if test "${with_blibpath+set}" = set; then |
if test "${with_blibpath+set}" = set; then |
withval="$with_blibpath" |
withval=$with_blibpath; case $with_blibpath in |
case $with_blibpath in |
|
yes|no) ;; |
yes|no) ;; |
*) { echo "$as_me:$LINENO: will pass -blibpath:${with_blibpath} to the loader." >&5 |
*) { echo "$as_me:$LINENO: will pass -blibpath:${with_blibpath} to the loader." >&5 |
echo "$as_me: will pass -blibpath:${with_blibpath} to the loader." >&6;} |
echo "$as_me: will pass -blibpath:${with_blibpath} to the loader." >&6;} |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
# Check whether --with-incpath or --without-incpath was given. |
|
|
# Check whether --with-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:$LINENO: 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; }; } |
|
|
done |
done |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
# Check whether --with-libpath or --without-libpath was given. |
|
|
# Check whether --with-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:$LINENO: 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; }; } |
|
|
echo "$as_me: Adding ${with_libpath} to LDFLAGS" >&6;} |
echo "$as_me: Adding ${with_libpath} to LDFLAGS" >&6;} |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
# Check whether --with-libraries or --without-libraries was given. |
|
|
# Check whether --with-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:$LINENO: 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; }; } |
|
|
echo "$as_me: Adding ${with_libraries} to LIBS" >&6;} |
echo "$as_me: Adding ${with_libraries} to LIBS" >&6;} |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
# Check whether --with-devel or --without-devel was given. |
|
|
# Check whether --with-devel was given. |
if test "${with_devel+set}" = set; then |
if test "${with_devel+set}" = set; then |
withval="$with_devel" |
withval=$with_devel; case $with_devel in |
case $with_devel in |
|
yes) { echo "$as_me:$LINENO: Setting up for development: -Wall, flex, yacc" >&5 |
yes) { echo "$as_me:$LINENO: Setting up for development: -Wall, flex, yacc" >&5 |
echo "$as_me: Setting up for development: -Wall, flex, yacc" >&6;} |
echo "$as_me: Setting up for development: -Wall, flex, yacc" >&6;} |
PROGS="${PROGS} testsudoers" |
PROGS="${PROGS} testsudoers" |
|
|
echo "$as_me: WARNING: Ignoring unknown argument to --with-devel: $with_devel" >&2;} |
echo "$as_me: WARNING: Ignoring unknown argument to --with-devel: $with_devel" >&2;} |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
# Check whether --with-efence or --without-efence was given. |
|
|
# Check whether --with-efence was given. |
if test "${with_efence+set}" = set; then |
if test "${with_efence+set}" = set; then |
withval="$with_efence" |
withval=$with_efence; case $with_efence in |
case $with_efence in |
|
yes) { echo "$as_me:$LINENO: Sudo will link with -lefence (Electric Fence)" >&5 |
yes) { echo "$as_me:$LINENO: Sudo will link with -lefence (Electric Fence)" >&5 |
echo "$as_me: Sudo will link with -lefence (Electric Fence)" >&6;} |
echo "$as_me: Sudo will link with -lefence (Electric Fence)" >&6;} |
LIBS="${LIBS} -lefence" |
LIBS="${LIBS} -lefence" |
|
|
echo "$as_me: WARNING: Ignoring unknown argument to --with-efence: $with_efence" >&2;} |
echo "$as_me: WARNING: Ignoring unknown argument to --with-efence: $with_efence" >&2;} |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
# Check whether --with-csops or --without-csops was given. |
|
|
# Check whether --with-csops was given. |
if test "${with_csops+set}" = set; then |
if test "${with_csops+set}" = set; then |
withval="$with_csops" |
withval=$with_csops; case $with_csops in |
case $with_csops in |
|
yes) { echo "$as_me:$LINENO: Adding CSOps standard options" >&5 |
yes) { echo "$as_me:$LINENO: Adding CSOps standard options" >&5 |
echo "$as_me: Adding CSOps standard options" >&6;} |
echo "$as_me: Adding CSOps standard options" >&6;} |
CHECKSIA=false |
CHECKSIA=false |
|
|
echo "$as_me: WARNING: Ignoring unknown argument to --with-csops: $with_csops" >&2;} |
echo "$as_me: WARNING: Ignoring unknown argument to --with-csops: $with_csops" >&2;} |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
# Check whether --with-passwd or --without-passwd was given. |
|
|
# Check whether --with-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|no) { echo "$as_me:$LINENO: checking whether to use shadow/passwd file authentication" >&5 |
yes) ;; |
echo $ECHO_N "checking whether to use shadow/passwd file authentication... $ECHO_C" >&6; } |
no) AUTH_OBJS=`echo "$AUTH_OBJS"|sed -e 's/^passwd\.o *//'` |
{ echo "$as_me:$LINENO: result: $with_passwd" >&5 |
echo "$as_me:$LINENO: checking whether to use shadow/passwd file authentication" >&5 |
echo "${ECHO_T}$with_passwd" >&6; } |
echo $ECHO_N "checking whether to use shadow/passwd file authentication... $ECHO_C" >&6 |
AUTH_DEF="" |
echo "$as_me:$LINENO: result: no" >&5 |
test "$with_passwd" = "yes" && AUTH_REG="$AUTH_REG passwd" |
echo "${ECHO_T}no" >&6 |
|
;; |
;; |
*) { { echo "$as_me:$LINENO: 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 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 |
|
no) with_skey="" |
no) with_skey="" |
;; |
;; |
*) if test -n "$with_opie"; then |
*) cat >>confdefs.h <<\_ACEOF |
{ { 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;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
cat >>confdefs.h <<\_ACEOF |
|
#define HAVE_SKEY 1 |
#define HAVE_SKEY 1 |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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:$LINENO: result: yes" >&5 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6; } |
|
AUTH_REG="$AUTH_REG S/Key" |
if test X"$AUTH_EXCL" != X""; then |
|
{ { echo "$as_me:$LINENO: error: \"cannot mix S/Key with an exclusive authentication method such as $AUTH_EXCL\"" >&5 |
|
echo "$as_me: error: \"cannot mix S/Key with an exclusive authentication method such as $AUTH_EXCL\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
elif test X"" != X"" -a X"$AUTH_OBJS" != X"" -a X"$AUTH_OBJS" != X"passwd.o"; then |
|
_AUTH=`echo "$AUTH_OBJS" | sed 's/\.o//g'` |
|
{ { echo "$as_me:$LINENO: error: \"cannot mix S/Key with other authentication methods (such as $_AUTH)\"" >&5 |
|
echo "$as_me: error: \"cannot mix S/Key with other authentication methods (such as $_AUTH)\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
if test X"" != X""; then |
|
AUTH_OBJS="rfc1938.o" |
|
AUTH_EXCL="S/Key" |
|
elif test X"$AUTH_OBJS" = X""; then |
|
AUTH_OBJS="rfc1938.o" |
|
else |
|
AUTH_OBJS="$AUTH_OBJS rfc1938.o" |
|
fi |
|
|
|
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
# Check whether --with-opie or --without-opie was given. |
|
|
# Check whether --with-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 |
|
no) with_opie="" |
no) with_opie="" |
;; |
;; |
*) if test -n "$with_skey"; then |
*) cat >>confdefs.h <<\_ACEOF |
{ { 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;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
cat >>confdefs.h <<\_ACEOF |
|
#define HAVE_OPIE 1 |
#define HAVE_OPIE 1 |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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:$LINENO: result: yes" >&5 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6; } |
|
AUTH_REG="$AUTH_REG NRL_OPIE" |
if test X"$AUTH_EXCL" != X""; then |
|
{ { echo "$as_me:$LINENO: error: \"cannot mix NRL OPIE with an exclusive authentication method such as $AUTH_EXCL\"" >&5 |
|
echo "$as_me: error: \"cannot mix NRL OPIE with an exclusive authentication method such as $AUTH_EXCL\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
elif test X"" != X"" -a X"$AUTH_OBJS" != X"" -a X"$AUTH_OBJS" != X"passwd.o"; then |
|
_AUTH=`echo "$AUTH_OBJS" | sed 's/\.o//g'` |
|
{ { echo "$as_me:$LINENO: error: \"cannot mix NRL OPIE with other authentication methods (such as $_AUTH)\"" >&5 |
|
echo "$as_me: error: \"cannot mix NRL OPIE with other authentication methods (such as $_AUTH)\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
if test X"" != X""; then |
|
AUTH_OBJS="rfc1938.o" |
|
AUTH_EXCL="NRL OPIE" |
|
elif test X"$AUTH_OBJS" = X""; then |
|
AUTH_OBJS="rfc1938.o" |
|
else |
|
AUTH_OBJS="$AUTH_OBJS rfc1938.o" |
|
fi |
|
|
|
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
# Check whether --with-long-otp-prompt or --without-long-otp-prompt was given. |
|
|
# Check whether --with-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) cat >>confdefs.h <<\_ACEOF |
yes) cat >>confdefs.h <<\_ACEOF |
#define LONG_OTP_PROMPT 1 |
#define LONG_OTP_PROMPT 1 |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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:$LINENO: 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 |
|
|
{ (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 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) with_SecurID="";; |
no) with_SecurID="";; |
*) cat >>confdefs.h <<\_ACEOF |
*) cat >>confdefs.h <<\_ACEOF |
#define HAVE_SECURID 1 |
#define HAVE_SECURID 1 |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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:$LINENO: result: yes" >&5 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6; } |
# AUTH_OBJS updated later |
AUTH_EXCL="$AUTH_EXCL SecurID" |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
# Check whether --with-fwtk or --without-fwtk was given. |
|
|
# Check whether --with-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) with_fwtk="";; |
no) with_fwtk="";; |
*) cat >>confdefs.h <<\_ACEOF |
*) cat >>confdefs.h <<\_ACEOF |
#define HAVE_FWTK 1 |
#define HAVE_FWTK 1 |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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:$LINENO: result: yes" >&5 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6; } |
|
AUTH_EXCL="$AUTH_EXCL FWTK" |
if test X"$AUTH_EXCL" != X""; then |
|
{ { echo "$as_me:$LINENO: error: \"cannot mix FWTK AuthSRV with an exclusive authentication method such as $AUTH_EXCL\"" >&5 |
|
echo "$as_me: error: \"cannot mix FWTK AuthSRV with an exclusive authentication method such as $AUTH_EXCL\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
elif test X"true" != X"" -a X"$AUTH_OBJS" != X"" -a X"$AUTH_OBJS" != X"passwd.o"; then |
|
_AUTH=`echo "$AUTH_OBJS" | sed 's/\.o//g'` |
|
{ { echo "$as_me:$LINENO: error: \"cannot mix FWTK AuthSRV with other authentication methods (such as $_AUTH)\"" >&5 |
|
echo "$as_me: error: \"cannot mix FWTK AuthSRV with other authentication methods (such as $_AUTH)\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
if test X"true" != X""; then |
|
AUTH_OBJS="fwtk.o" |
|
AUTH_EXCL="FWTK AuthSRV" |
|
elif test X"$AUTH_OBJS" = X""; then |
|
AUTH_OBJS="fwtk.o" |
|
else |
|
AUTH_OBJS="$AUTH_OBJS fwtk.o" |
|
fi |
|
|
|
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
# Check whether --with-kerb4 or --without-kerb4 was given. |
|
|
# Check whether --with-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 |
|
no) with_kerb4="";; |
no) with_kerb4="";; |
*) echo "$as_me:$LINENO: checking whether to try kerberos IV authentication" >&5 |
*) { echo "$as_me:$LINENO: checking whether to try kerberos IV authentication" >&5 |
echo $ECHO_N "checking whether to try kerberos IV authentication... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to try kerberos IV authentication... $ECHO_C" >&6; } |
echo "$as_me:$LINENO: result: yes" >&5 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6; } |
|
AUTH_REG="$AUTH_REG kerb4" |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
# Check whether --with-kerb5 or --without-kerb5 was given. |
|
|
# Check whether --with-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 |
|
no) with_kerb5="";; |
no) with_kerb5="";; |
*) echo "$as_me:$LINENO: checking whether to try Kerberos V authentication" >&5 |
*) { echo "$as_me:$LINENO: checking whether to try Kerberos V authentication" >&5 |
echo $ECHO_N "checking whether to try Kerberos V authentication... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to try Kerberos V authentication... $ECHO_C" >&6; } |
echo "$as_me:$LINENO: result: yes" >&5 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6; } |
|
AUTH_REG="$AUTH_REG kerb5" |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
# Check whether --with-aixauth or --without-aixauth was given. |
|
|
# Check whether --with-aixauth was given. |
if test "${with_aixauth+set}" = set; then |
if test "${with_aixauth+set}" = set; then |
withval="$with_aixauth" |
withval=$with_aixauth; case $with_aixauth in |
case $with_aixauth in |
yes) AUTH_EXCL="$AUTH_EXCL AIX_AUTH";; |
yes|no) ;; |
no) ;; |
*) { { echo "$as_me:$LINENO: error: \"--with-aixauth does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-aixauth does not take an argument.\"" >&5 |
echo "$as_me: error: \"--with-aixauth does not take an argument.\"" >&2;} |
echo "$as_me: error: \"--with-aixauth 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 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) AUTH_EXCL="$AUTH_EXCL PAM";; |
yes|no) ;; |
no) ;; |
*) { { echo "$as_me:$LINENO: 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 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) cat >>confdefs.h <<\_ACEOF |
yes) cat >>confdefs.h <<\_ACEOF |
#define HAVE_AFS 1 |
#define HAVE_AFS 1 |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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:$LINENO: result: yes" >&5 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6; } |
|
AUTH_REG="$AUTH_REG AFS" |
if test X"$AUTH_EXCL" != X""; then |
|
{ { echo "$as_me:$LINENO: error: \"cannot mix AFS with an exclusive authentication method such as $AUTH_EXCL\"" >&5 |
|
echo "$as_me: error: \"cannot mix AFS with an exclusive authentication method such as $AUTH_EXCL\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
elif test X"" != X"" -a X"$AUTH_OBJS" != X"" -a X"$AUTH_OBJS" != X"passwd.o"; then |
|
_AUTH=`echo "$AUTH_OBJS" | sed 's/\.o//g'` |
|
{ { echo "$as_me:$LINENO: error: \"cannot mix AFS with other authentication methods (such as $_AUTH)\"" >&5 |
|
echo "$as_me: error: \"cannot mix AFS with other authentication methods (such as $_AUTH)\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
if test X"" != X""; then |
|
AUTH_OBJS="afs.o" |
|
AUTH_EXCL="AFS" |
|
elif test X"$AUTH_OBJS" = X""; then |
|
AUTH_OBJS="afs.o" |
|
else |
|
AUTH_OBJS="$AUTH_OBJS afs.o" |
|
fi |
|
|
|
;; |
;; |
no) ;; |
no) ;; |
*) { { echo "$as_me:$LINENO: error: \"--with-AFS does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-AFS does not take an argument.\"" >&5 |
|
|
{ (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 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) cat >>confdefs.h <<\_ACEOF |
yes) cat >>confdefs.h <<\_ACEOF |
#define HAVE_DCE 1 |
#define HAVE_DCE 1 |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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:$LINENO: result: yes" >&5 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6; } |
|
AUTH_REG="$AUTH_REG DCE" |
if test X"$AUTH_EXCL" != X""; then |
|
{ { echo "$as_me:$LINENO: error: \"cannot mix DCE with an exclusive authentication method such as $AUTH_EXCL\"" >&5 |
|
echo "$as_me: error: \"cannot mix DCE with an exclusive authentication method such as $AUTH_EXCL\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
elif test X"" != X"" -a X"$AUTH_OBJS" != X"" -a X"$AUTH_OBJS" != X"passwd.o"; then |
|
_AUTH=`echo "$AUTH_OBJS" | sed 's/\.o//g'` |
|
{ { echo "$as_me:$LINENO: error: \"cannot mix DCE with other authentication methods (such as $_AUTH)\"" >&5 |
|
echo "$as_me: error: \"cannot mix DCE with other authentication methods (such as $_AUTH)\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
if test X"" != X""; then |
|
AUTH_OBJS="dce.o" |
|
AUTH_EXCL="DCE" |
|
elif test X"$AUTH_OBJS" = X""; then |
|
AUTH_OBJS="dce.o" |
|
else |
|
AUTH_OBJS="$AUTH_OBJS dce.o" |
|
fi |
|
|
|
;; |
;; |
no) ;; |
no) ;; |
*) { { echo "$as_me:$LINENO: error: \"--with-DCE does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-DCE does not take an argument.\"" >&5 |
|
|
{ (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 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:$LINENO: 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 was given. |
if test "${with_bsdauth+set}" = set; then |
if test "${with_bsdauth+set}" = set; then |
withval="$with_bsdauth" |
withval=$with_bsdauth; case $with_bsdauth in |
case $with_bsdauth in |
yes) AUTH_EXCL="$AUTH_EXCL BSD_AUTH";; |
yes|no) ;; |
no) ;; |
*) { { echo "$as_me:$LINENO: 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 |
|
|
|
|
# Check whether --with-project or --without-project was given. |
|
|
# Check whether --with-project was given. |
if test "${with_project+set}" = set; then |
if test "${with_project+set}" = set; then |
withval="$with_project" |
withval=$with_project; case $with_project in |
case $with_project in |
|
yes|no) ;; |
yes|no) ;; |
no) ;; |
no) ;; |
*) { { echo "$as_me:$LINENO: error: \"--with-project does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--with-project does not take an argument.\"" >&5 |
|
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
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 |
|
|
|
# Check whether --with-lecture or --without-lecture was given. |
{ 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; } |
|
|
|
# Check whether --with-lecture was given. |
if test "${with_lecture+set}" = set; then |
if test "${with_lecture+set}" = set; then |
withval="$with_lecture" |
withval=$with_lecture; case $with_lecture in |
case $with_lecture in |
|
yes|short|always) lecture=once |
yes|short|always) lecture=once |
;; |
;; |
no|none|never) lecture=never |
no|none|never) lecture=never |
|
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
if test "$lecture" = "once"; then |
if test "$lecture" = "once"; then |
echo "$as_me:$LINENO: 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 <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define NO_LECTURE 1 |
#define NO_LECTURE 1 |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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:$LINENO: 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 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:$LINENO: 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; }; } |
|
|
#define LOGGING SLOG_SYSLOG |
#define LOGGING SLOG_SYSLOG |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: result: syslog" >&5 |
{ echo "$as_me:$LINENO: result: syslog" >&5 |
echo "${ECHO_T}syslog" >&6 |
echo "${ECHO_T}syslog" >&6; } |
;; |
;; |
file) cat >>confdefs.h <<\_ACEOF |
file) cat >>confdefs.h <<\_ACEOF |
#define LOGGING SLOG_FILE |
#define LOGGING SLOG_FILE |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: result: file" >&5 |
{ echo "$as_me:$LINENO: result: file" >&5 |
echo "${ECHO_T}file" >&6 |
echo "${ECHO_T}file" >&6; } |
;; |
;; |
both) cat >>confdefs.h <<\_ACEOF |
both) cat >>confdefs.h <<\_ACEOF |
#define LOGGING SLOG_BOTH |
#define LOGGING SLOG_BOTH |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: result: both" >&5 |
{ echo "$as_me:$LINENO: result: both" >&5 |
echo "${ECHO_T}both" >&6 |
echo "${ECHO_T}both" >&6; } |
;; |
;; |
*) { { echo "$as_me:$LINENO: 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;} |
|
|
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define LOGGING SLOG_SYSLOG |
#define LOGGING SLOG_SYSLOG |
_ACEOF |
_ACEOF |
echo "$as_me:$LINENO: 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:$LINENO: checking which syslog facility sudo should log with" >&5 |
|
echo $ECHO_N "checking which syslog facility sudo should log with... $ECHO_C" >&6 |
|
|
|
# Check whether --with-logfac or --without-logfac was given. |
{ 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; } |
|
|
|
# Check whether --with-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:$LINENO: 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; }; } |
|
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define LOGFAC "$logfac" |
#define LOGFAC "$logfac" |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: result: $logfac" >&5 |
{ echo "$as_me:$LINENO: result: $logfac" >&5 |
echo "${ECHO_T}$logfac" >&6 |
echo "${ECHO_T}$logfac" >&6; } |
|
|
echo "$as_me:$LINENO: 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 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:$LINENO: 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; }; } |
|
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define PRI_SUCCESS "$goodpri" |
#define PRI_SUCCESS "$goodpri" |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: result: $goodpri" >&5 |
{ echo "$as_me:$LINENO: result: $goodpri" >&5 |
echo "${ECHO_T}$goodpri" >&6 |
echo "${ECHO_T}$goodpri" >&6; } |
|
|
echo "$as_me:$LINENO: 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 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:$LINENO: 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; }; } |
|
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define PRI_FAILURE "$badpri" |
#define PRI_FAILURE "$badpri" |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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 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:$LINENO: 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; }; } |
|
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
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 |
|
|
|
# Check whether --with-loglen or --without-loglen was given. |
{ 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; } |
|
|
|
# Check whether --with-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:$LINENO: 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; }; } |
|
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define MAXLOGFILELEN $loglen |
#define MAXLOGFILELEN $loglen |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: result: $loglen" >&5 |
{ echo "$as_me:$LINENO: result: $loglen" >&5 |
echo "${ECHO_T}$loglen" >&6 |
echo "${ECHO_T}$loglen" >&6; } |
|
|
echo "$as_me:$LINENO: 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 was given. |
if test "${with_ignore_dot+set}" = set; then |
if test "${with_ignore_dot+set}" = set; then |
withval="$with_ignore_dot" |
withval=$with_ignore_dot; case $with_ignore_dot in |
case $with_ignore_dot in |
|
yes) ignore_dot=on |
yes) ignore_dot=on |
;; |
;; |
no) ignore_dot=off |
no) ignore_dot=off |
|
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
if test "$ignore_dot" = "on"; then |
if test "$ignore_dot" = "on"; then |
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define IGNORE_DOT_PATH 1 |
#define IGNORE_DOT_PATH 1 |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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:$LINENO: 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:$LINENO: 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 was given. |
if test "${with_mail_if_no_user+set}" = set; then |
if test "${with_mail_if_no_user+set}" = set; then |
withval="$with_mail_if_no_user" |
withval=$with_mail_if_no_user; case $with_mail_if_no_user in |
case $with_mail_if_no_user in |
|
yes) mail_no_user=on |
yes) mail_no_user=on |
;; |
;; |
no) mail_no_user=off |
no) mail_no_user=off |
|
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
if test "$mail_no_user" = "on"; then |
if test "$mail_no_user" = "on"; then |
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define SEND_MAIL_WHEN_NO_USER 1 |
#define SEND_MAIL_WHEN_NO_USER 1 |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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:$LINENO: 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:$LINENO: 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 was given. |
if test "${with_mail_if_no_host+set}" = set; then |
if test "${with_mail_if_no_host+set}" = set; then |
withval="$with_mail_if_no_host" |
withval=$with_mail_if_no_host; case $with_mail_if_no_host in |
case $with_mail_if_no_host in |
|
yes) mail_no_host=on |
yes) mail_no_host=on |
;; |
;; |
no) mail_no_host=off |
no) mail_no_host=off |
|
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
if test "$mail_no_host" = "on"; then |
if test "$mail_no_host" = "on"; then |
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define SEND_MAIL_WHEN_NO_HOST 1 |
#define SEND_MAIL_WHEN_NO_HOST 1 |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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:$LINENO: 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:$LINENO: 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 was given. |
if test "${with_mail_if_noperms+set}" = set; then |
if test "${with_mail_if_noperms+set}" = set; then |
withval="$with_mail_if_noperms" |
withval=$with_mail_if_noperms; case $with_mail_if_noperms in |
case $with_mail_if_noperms in |
|
yes) mail_noperms=on |
yes) mail_noperms=on |
;; |
;; |
no) mail_noperms=off |
no) mail_noperms=off |
|
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
if test "$mail_noperms" = "on"; then |
if test "$mail_noperms" = "on"; then |
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define SEND_MAIL_WHEN_NOT_OK 1 |
#define SEND_MAIL_WHEN_NOT_OK 1 |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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:$LINENO: 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:$LINENO: 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 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:$LINENO: 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; }; } |
|
|
*) mailto=$with_mailto |
*) mailto=$with_mailto |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define MAILTO "$mailto" |
#define MAILTO "$mailto" |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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 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:$LINENO: 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; }; } |
|
|
echo "$as_me: WARNING: Sorry, --without-mailsubject not supported." >&2;} |
echo "$as_me: WARNING: Sorry, --without-mailsubject not supported." >&2;} |
;; |
;; |
*) mailsub="$with_mailsubject" |
*) mailsub="$with_mailsubject" |
echo "$as_me:$LINENO: 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:$LINENO: 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 <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define MAILSUBJECT "$mailsub" |
#define MAILSUBJECT "$mailsub" |
_ACEOF |
_ACEOF |
|
|
|
|
echo "$as_me:$LINENO: 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 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:$LINENO: 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:$LINENO: result: $passprompt" >&5 |
|
echo "${ECHO_T}$passprompt" >&6 |
|
|
|
|
{ echo "$as_me:$LINENO: result: $passprompt" >&5 |
|
echo "${ECHO_T}$passprompt" >&6; } |
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define PASSPROMPT "$passprompt" |
#define PASSPROMPT "$passprompt" |
_ACEOF |
_ACEOF |
|
|
|
|
echo "$as_me:$LINENO: 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 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:$LINENO: 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; }; } |
|
|
*) badpass_message="$with_badpass_message" |
*) badpass_message="$with_badpass_message" |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define INCORRECT_PASSWORD "$badpass_message" |
#define INCORRECT_PASSWORD "$badpass_message" |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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:$LINENO: 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 was given. |
if test "${with_fqdn+set}" = set; then |
if test "${with_fqdn+set}" = set; then |
withval="$with_fqdn" |
withval=$with_fqdn; case $with_fqdn in |
case $with_fqdn in |
|
yes) fqdn=on |
yes) fqdn=on |
;; |
;; |
no) fqdn=off |
no) fqdn=off |
|
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
if test "$fqdn" = "on"; then |
if test "$fqdn" = "on"; then |
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define FQDN 1 |
#define FQDN 1 |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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:$LINENO: 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 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:$LINENO: 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; }; } |
|
|
{ (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 was given. |
if test "${with_sendmail+set}" = set; then |
if test "${with_sendmail+set}" = set; then |
withval="$with_sendmail" |
withval=$with_sendmail; case $with_sendmail in |
case $with_sendmail in |
|
yes) with_sendmail="" |
yes) with_sendmail="" |
;; |
;; |
no) ;; |
no) ;; |
|
|
|
|
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
# Check whether --with-sudoers-mode or --without-sudoers-mode was given. |
|
|
# Check whether --with-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:$LINENO: 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; }; } |
|
|
{ (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 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:$LINENO: 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; }; } |
|
|
{ (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 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:$LINENO: 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; }; } |
|
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
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 |
|
|
|
# Check whether --with-umask or --without-umask was given. |
{ 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; } |
|
|
|
# Check whether --with-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:$LINENO: 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; }; } |
|
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define SUDO_UMASK $sudo_umask |
#define SUDO_UMASK $sudo_umask |
_ACEOF |
_ACEOF |
|
|
if test "$sudo_umask" = "0777"; then |
if test "$sudo_umask" = "0777"; then |
echo "$as_me:$LINENO: 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:$LINENO: 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:$LINENO: 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 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:$LINENO: 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; }; } |
|
|
*) runas_default="$with_runas_default" |
*) runas_default="$with_runas_default" |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define RUNAS_DEFAULT "$runas_default" |
#define RUNAS_DEFAULT "$runas_default" |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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 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:$LINENO: 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; }; } |
|
|
#define EXEMPTGROUP "$with_exempt" |
#define EXEMPTGROUP "$with_exempt" |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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:$LINENO: 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:$LINENO: checking for editor that visudo should use" >&5 |
|
echo $ECHO_N "checking for editor that visudo should use... $ECHO_C" >&6 |
|
|
|
# Check whether --with-editor or --without-editor was given. |
{ 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; } |
|
|
|
# Check whether --with-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:$LINENO: 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; }; } |
|
|
#define EDITOR "$with_editor" |
#define EDITOR "$with_editor" |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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 <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define EDITOR _PATH_VI |
#define EDITOR _PATH_VI |
_ACEOF |
_ACEOF |
echo "$as_me:$LINENO: 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:$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 |
|
|
|
# Check whether --with-env-editor or --without-env-editor was given. |
{ 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; } |
|
|
|
# Check whether --with-env-editor was given. |
if test "${with_env_editor+set}" = set; then |
if test "${with_env_editor+set}" = set; then |
withval="$with_env_editor" |
withval=$with_env_editor; case $with_env_editor in |
case $with_env_editor in |
|
yes) env_editor=on |
yes) env_editor=on |
;; |
;; |
no) env_editor=off |
no) env_editor=off |
|
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
if test "$env_editor" = "on"; then |
if test "$env_editor" = "on"; then |
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define ENV_EDITOR 1 |
#define ENV_EDITOR 1 |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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:$LINENO: 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:$LINENO: 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 was given. |
if test "${with_passwd_tries+set}" = set; then |
if test "${with_passwd_tries+set}" = set; then |
withval="$with_passwd_tries" |
withval=$with_passwd_tries; case $with_passwd_tries in |
case $with_passwd_tries in |
|
yes) ;; |
yes) ;; |
no) { { echo "$as_me:$LINENO: 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; }; } |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define TRIES_FOR_PASSWORD $passwd_tries |
#define TRIES_FOR_PASSWORD $passwd_tries |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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:$LINENO: 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 was given. |
if test "${with_timeout+set}" = set; then |
if test "${with_timeout+set}" = set; then |
withval="$with_timeout" |
withval=$with_timeout; case $with_timeout in |
case $with_timeout in |
|
yes) ;; |
yes) ;; |
no) timeout=0 |
no) timeout=0 |
;; |
;; |
|
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define TIMEOUT $timeout |
#define TIMEOUT $timeout |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: result: $timeout" >&5 |
{ echo "$as_me:$LINENO: result: $timeout" >&5 |
echo "${ECHO_T}$timeout" >&6 |
echo "${ECHO_T}$timeout" >&6; } |
|
|
echo "$as_me:$LINENO: 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 was given. |
if test "${with_password_timeout+set}" = set; then |
if test "${with_password_timeout+set}" = set; then |
withval="$with_password_timeout" |
withval=$with_password_timeout; case $with_password_timeout in |
case $with_password_timeout in |
|
yes) ;; |
yes) ;; |
no) password_timeout=0 |
no) password_timeout=0 |
;; |
;; |
|
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define PASSWORD_TIMEOUT $password_timeout |
#define PASSWORD_TIMEOUT $password_timeout |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: result: $password_timeout" >&5 |
{ echo "$as_me:$LINENO: result: $password_timeout" >&5 |
echo "${ECHO_T}$password_timeout" >&6 |
echo "${ECHO_T}$password_timeout" >&6; } |
|
|
echo "$as_me:$LINENO: 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 was given. |
if test "${with_tty_tickets+set}" = set; then |
if test "${with_tty_tickets+set}" = set; then |
withval="$with_tty_tickets" |
withval=$with_tty_tickets; case $with_tty_tickets in |
case $with_tty_tickets in |
|
yes) tty_tickets=on |
yes) tty_tickets=on |
;; |
;; |
no) tty_tickets=off |
no) tty_tickets=off |
|
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
if test "$tty_tickets" = "on"; then |
if test "$tty_tickets" = "on"; then |
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define USE_TTY_TICKETS 1 |
#define USE_TTY_TICKETS 1 |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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:$LINENO: 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:$LINENO: 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 was given. |
if test "${with_insults+set}" = set; then |
if test "${with_insults+set}" = set; then |
withval="$with_insults" |
withval=$with_insults; case $with_insults in |
case $with_insults in |
|
yes) insults=on |
yes) insults=on |
with_classic_insults=yes |
with_classic_insults=yes |
with_csops_insults=yes |
with_csops_insults=yes |
|
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
if test "$insults" = "on"; then |
if test "$insults" = "on"; then |
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define USE_INSULTS 1 |
#define USE_INSULTS 1 |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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:$LINENO: 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 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; case $with_all_insults in |
case $with_all_insults in |
|
yes) with_classic_insults=yes |
yes) with_classic_insults=yes |
with_csops_insults=yes |
with_csops_insults=yes |
with_hal_insults=yes |
with_hal_insults=yes |
|
|
{ (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 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) cat >>confdefs.h <<\_ACEOF |
yes) cat >>confdefs.h <<\_ACEOF |
#define CLASSIC_INSULTS 1 |
#define CLASSIC_INSULTS 1 |
_ACEOF |
_ACEOF |
|
|
{ (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 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) cat >>confdefs.h <<\_ACEOF |
yes) cat >>confdefs.h <<\_ACEOF |
#define CSOPS_INSULTS 1 |
#define CSOPS_INSULTS 1 |
_ACEOF |
_ACEOF |
|
|
{ (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 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) cat >>confdefs.h <<\_ACEOF |
yes) cat >>confdefs.h <<\_ACEOF |
#define HAL_INSULTS 1 |
#define HAL_INSULTS 1 |
_ACEOF |
_ACEOF |
|
|
{ (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 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) cat >>confdefs.h <<\_ACEOF |
yes) cat >>confdefs.h <<\_ACEOF |
#define GOONS_INSULTS 1 |
#define GOONS_INSULTS 1 |
_ACEOF |
_ACEOF |
|
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
# Check whether --with-ldap or --without-ldap was given. |
|
|
# Check whether --with-ldap was given. |
if test "${with_ldap+set}" = set; then |
if test "${with_ldap+set}" = set; then |
withval="$with_ldap" |
withval=$with_ldap; case $with_ldap in |
case $with_ldap in |
|
no) with_ldap="";; |
no) with_ldap="";; |
*) cat >>confdefs.h <<\_ACEOF |
*) cat >>confdefs.h <<\_ACEOF |
#define HAVE_LDAP 1 |
#define HAVE_LDAP 1 |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: checking whether to use sudoers from LDAP" >&5 |
{ echo "$as_me:$LINENO: checking whether to use sudoers from LDAP" >&5 |
echo $ECHO_N "checking whether to use sudoers from LDAP... $ECHO_C" >&6 |
echo $ECHO_N "checking whether to use sudoers from LDAP... $ECHO_C" >&6; } |
echo "$as_me:$LINENO: result: yes" >&5 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6; } |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
# Check whether --with-ldap-conf-file or --without-ldap-conf-file was given. |
|
if test "${with_ldap_conf_file+set}" = set; then |
|
withval="$with_ldap_conf_file" |
|
|
|
|
# Check whether --with-ldap-conf-file was given. |
|
if test "${with_ldap_conf_file+set}" = set; then |
|
withval=$with_ldap_conf_file; |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define _PATH_LDAP_CONF "$with_ldap_conf_file" |
#define _PATH_LDAP_CONF "$with_ldap_conf_file" |
_ACEOF |
_ACEOF |
|
|
fi; |
fi |
|
|
# Check whether --with-ldap-secret-file or --without-ldap-secret-file was given. |
|
if test "${with_ldap_secret_file+set}" = set; then |
|
withval="$with_ldap_secret_file" |
|
|
|
|
# Check whether --with-ldap-secret-file was given. |
|
if test "${with_ldap_secret_file+set}" = set; then |
|
withval=$with_ldap_secret_file; |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define _PATH_LDAP_SECRET "$with_ldap_secret_file" |
#define _PATH_LDAP_SECRET "$with_ldap_secret_file" |
_ACEOF |
_ACEOF |
|
|
fi; |
fi |
|
|
|
|
# Check whether --with-pc-insults or --without-pc-insults was given. |
|
|
# Check whether --with-pc-insults was given. |
if test "${with_pc_insults+set}" = set; then |
if test "${with_pc_insults+set}" = set; then |
withval="$with_pc_insults" |
withval=$with_pc_insults; case $with_pc_insults in |
case $with_pc_insults in |
|
yes) cat >>confdefs.h <<\_ACEOF |
yes) cat >>confdefs.h <<\_ACEOF |
#define PC_INSULTS 1 |
#define PC_INSULTS 1 |
_ACEOF |
_ACEOF |
|
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
;; |
;; |
esac |
esac |
fi; |
fi |
|
|
|
|
if test "$insults" = "on"; then |
if test "$insults" = "on"; then |
echo "$as_me:$LINENO: 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:$LINENO: 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:$LINENO: 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 was given. |
if test "${with_secure_path+set}" = set; then |
if test "${with_secure_path+set}" = set; then |
withval="$with_secure_path" |
withval=$with_secure_path; case $with_secure_path in |
case $with_secure_path in |
|
yes) cat >>confdefs.h <<_ACEOF |
yes) 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" |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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:$LINENO: result: no" >&5 |
no) { echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
;; |
;; |
*) cat >>confdefs.h <<_ACEOF |
*) cat >>confdefs.h <<_ACEOF |
#define SECURE_PATH "$with_secure_path" |
#define SECURE_PATH "$with_secure_path" |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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:$LINENO: 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:$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 |
|
|
|
# Check whether --with-interfaces or --without-interfaces was given. |
{ 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; } |
|
|
|
# Check whether --with-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:$LINENO: result: yes" >&5 |
yes) echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6; } |
echo "${ECHO_T}yes" >&6 |
|
;; |
;; |
no) cat >>confdefs.h <<\_ACEOF |
no) cat >>confdefs.h <<\_ACEOF |
#define STUB_LOAD_INTERFACES 1 |
#define STUB_LOAD_INTERFACES 1 |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
{ echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
;; |
;; |
*) { { echo "$as_me:$LINENO: 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;} |
|
|
;; |
;; |
esac |
esac |
else |
else |
echo "$as_me:$LINENO: 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:$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. |
{ 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 was given. |
if test "${with_stow+set}" = set; then |
if test "${with_stow+set}" = set; then |
withval="$with_stow" |
withval=$with_stow; case $with_stow in |
case $with_stow in |
yes) { echo "$as_me:$LINENO: result: yes" >&5 |
yes) echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6; } |
echo "${ECHO_T}yes" >&6 |
|
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define USE_STOW 1 |
#define USE_STOW 1 |
_ACEOF |
_ACEOF |
|
|
;; |
;; |
no) echo "$as_me:$LINENO: result: no" >&5 |
no) { echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
;; |
;; |
*) { { echo "$as_me:$LINENO: error: \"--with-stow does not take an argument.\"" >&5 |
*) { { 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;} |
echo "$as_me: error: \"--with-stow does not take an argument.\"" >&2;} |
|
|
;; |
;; |
esac |
esac |
else |
else |
echo "$as_me:$LINENO: 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:$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 "$as_me:$LINENO: checking whether to do user authentication by default" >&5 |
# Check whether --enable-authentication or --disable-authentication was given. |
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 |
if test "${enable_authentication+set}" = set; then |
enableval="$enable_authentication" |
enableval=$enable_authentication; case "$enableval" in |
case "$enableval" in |
yes) { echo "$as_me:$LINENO: 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:$LINENO: result: no" >&5 |
no) { echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define NO_AUTHENTICATION 1 |
#define NO_AUTHENTICATION 1 |
_ACEOF |
_ACEOF |
|
|
;; |
;; |
*) echo "$as_me:$LINENO: result: no" >&5 |
*) { echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
{ echo "$as_me:$LINENO: WARNING: Ignoring unknown argument to --enable-authentication: $enableval" >&5 |
{ 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;} |
echo "$as_me: WARNING: Ignoring unknown argument to --enable-authentication: $enableval" >&2;} |
;; |
;; |
esac |
esac |
|
|
else |
else |
echo "$as_me:$LINENO: 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:$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 "$as_me:$LINENO: checking whether to disable running the mailer as root" >&5 |
# Check whether --enable-root-mailer or --disable-root-mailer was given. |
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 |
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:$LINENO: 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:$LINENO: result: yes" >&5 |
no) { echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6; } |
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define NO_ROOT_MAILER 1 |
#define NO_ROOT_MAILER 1 |
_ACEOF |
_ACEOF |
|
|
;; |
;; |
*) echo "$as_me:$LINENO: result: no" >&5 |
*) { echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
{ echo "$as_me:$LINENO: WARNING: Ignoring unknown argument to --enable-root-mailer: $enableval" >&5 |
{ 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;} |
echo "$as_me: WARNING: Ignoring unknown argument to --enable-root-mailer: $enableval" >&2;} |
;; |
;; |
esac |
esac |
|
|
else |
else |
echo "$as_me:$LINENO: result: no" >&5 |
{ echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
fi; |
fi |
|
|
# Check whether --enable-setreuid or --disable-setreuid was given. |
|
|
# Check whether --enable-setreuid was given. |
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) SKIP_SETREUID=yes |
no) SKIP_SETREUID=yes |
;; |
;; |
*) ;; |
*) ;; |
esac |
esac |
|
|
fi; |
fi |
|
|
# Check whether --enable-setresuid or --disable-setresuid was given. |
|
|
# Check whether --enable-setresuid was given. |
if test "${enable_setresuid+set}" = set; then |
if test "${enable_setresuid+set}" = set; then |
enableval="$enable_setresuid" |
enableval=$enable_setresuid; case "$enableval" in |
case "$enableval" in |
|
no) SKIP_SETRESUID=yes |
no) SKIP_SETRESUID=yes |
;; |
;; |
*) ;; |
*) ;; |
esac |
esac |
|
|
fi; |
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 |
{ echo "$as_me:$LINENO: checking whether to disable shadow password support" >&5 |
# Check whether --enable-shadow or --disable-shadow was given. |
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 |
if test "${enable_shadow+set}" = set; then |
enableval="$enable_shadow" |
enableval=$enable_shadow; case "$enableval" in |
case "$enableval" in |
yes) { echo "$as_me:$LINENO: 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:$LINENO: 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:$LINENO: result: no" >&5 |
*) { echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
{ echo "$as_me:$LINENO: WARNING: Ignoring unknown argument to --enable-shadow: $enableval" >&5 |
{ 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;} |
echo "$as_me: WARNING: Ignoring unknown argument to --enable-shadow: $enableval" >&2;} |
;; |
;; |
esac |
esac |
|
|
else |
else |
echo "$as_me:$LINENO: 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:$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 "$as_me:$LINENO: checking whether root should be allowed to use sudo" >&5 |
# Check whether --enable-root-sudo or --disable-root-sudo was given. |
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 |
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:$LINENO: result: yes" >&5 |
yes) echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6; } |
echo "${ECHO_T}yes" >&6 |
|
;; |
;; |
no) cat >>confdefs.h <<\_ACEOF |
no) cat >>confdefs.h <<\_ACEOF |
#define NO_ROOT_SUDO 1 |
#define NO_ROOT_SUDO 1 |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
{ echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
root_sudo=off |
root_sudo=off |
;; |
;; |
*) { { echo "$as_me:$LINENO: error: \"--enable-root-sudo does not take an argument.\"" >&5 |
*) { { echo "$as_me:$LINENO: error: \"--enable-root-sudo does not take an argument.\"" >&5 |
|
|
esac |
esac |
|
|
else |
else |
echo "$as_me:$LINENO: 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:$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 "$as_me:$LINENO: checking whether to log the hostname in the log file" >&5 |
# Check whether --enable-log-host or --disable-log-host was given. |
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 |
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:$LINENO: result: yes" >&5 |
yes) echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6; } |
echo "${ECHO_T}yes" >&6 |
|
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define HOST_IN_LOG 1 |
#define HOST_IN_LOG 1 |
_ACEOF |
_ACEOF |
|
|
;; |
;; |
no) echo "$as_me:$LINENO: result: no" >&5 |
no) { echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
;; |
;; |
*) echo "$as_me:$LINENO: result: no" >&5 |
*) { echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
{ echo "$as_me:$LINENO: WARNING: Ignoring unknown argument to --enable-log-host: $enableval" >&5 |
{ 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;} |
echo "$as_me: WARNING: Ignoring unknown argument to --enable-log-host: $enableval" >&2;} |
;; |
;; |
esac |
esac |
|
|
else |
else |
echo "$as_me:$LINENO: 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:$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 "$as_me:$LINENO: checking whether to invoke a shell if sudo is given no arguments" >&5 |
# Check whether --enable-noargs-shell or --disable-noargs-shell was given. |
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 |
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:$LINENO: result: yes" >&5 |
yes) echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6; } |
echo "${ECHO_T}yes" >&6 |
|
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define SHELL_IF_NO_ARGS 1 |
#define SHELL_IF_NO_ARGS 1 |
_ACEOF |
_ACEOF |
|
|
;; |
;; |
no) echo "$as_me:$LINENO: result: no" >&5 |
no) { echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
;; |
;; |
*) echo "$as_me:$LINENO: result: no" >&5 |
*) { echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
{ echo "$as_me:$LINENO: WARNING: Ignoring unknown argument to --enable-noargs-shell: $enableval" >&5 |
{ 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;} |
echo "$as_me: WARNING: Ignoring unknown argument to --enable-noargs-shell: $enableval" >&2;} |
;; |
;; |
esac |
esac |
|
|
else |
else |
echo "$as_me:$LINENO: 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:$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 "$as_me:$LINENO: checking whether to set \$HOME to target user in shell mode" >&5 |
# Check whether --enable-shell-sets-home or --disable-shell-sets-home was given. |
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 |
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:$LINENO: result: yes" >&5 |
yes) echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6; } |
echo "${ECHO_T}yes" >&6 |
|
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define SHELL_SETS_HOME 1 |
#define SHELL_SETS_HOME 1 |
_ACEOF |
_ACEOF |
|
|
;; |
;; |
no) echo "$as_me:$LINENO: result: no" >&5 |
no) { echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
;; |
;; |
*) echo "$as_me:$LINENO: result: no" >&5 |
*) { echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
{ echo "$as_me:$LINENO: WARNING: Ignoring unknown argument to --enable-shell-sets-home: $enableval" >&5 |
{ 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;} |
echo "$as_me: WARNING: Ignoring unknown argument to --enable-shell-sets-home: $enableval" >&2;} |
;; |
;; |
esac |
esac |
|
|
else |
else |
echo "$as_me:$LINENO: 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:$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 "$as_me:$LINENO: checking whether to disable 'command not found' messages" >&5 |
# Check whether --enable-path_info or --disable-path_info was given. |
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 |
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:$LINENO: 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:$LINENO: result: yes" >&5 |
no) { echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6; } |
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define DONT_LEAK_PATH_INFO 1 |
#define DONT_LEAK_PATH_INFO 1 |
_ACEOF |
_ACEOF |
|
|
path_info=off |
path_info=off |
;; |
;; |
*) echo "$as_me:$LINENO: result: no" >&5 |
*) { echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
{ echo "$as_me:$LINENO: WARNING: Ignoring unknown argument to --enable-path-info: $enableval" >&5 |
{ 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;} |
echo "$as_me: WARNING: Ignoring unknown argument to --enable-path-info: $enableval" >&2;} |
;; |
;; |
esac |
esac |
|
|
else |
else |
echo "$as_me:$LINENO: 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:$LINENO: 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 |
else |
else |
|
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
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" |
ac_cv_prog_EGREPPROG="egrep" |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
fi |
fi |
done |
done |
done |
done |
|
IFS=$as_save_IFS |
|
|
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:$LINENO: 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:$LINENO: 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 "$EGREPPROG"; then |
if test -z "$EGREPPROG"; then |
{ { echo "$as_me:$LINENO: error: Sorry, configure requires egrep to run." >&5 |
{ { echo "$as_me:$LINENO: error: Sorry, configure requires egrep to run." >&5 |
echo "$as_me: error: Sorry, configure requires egrep to run." >&2;} |
echo "$as_me: error: Sorry, configure requires egrep to run." >&2;} |
|
|
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:$LINENO: 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 |
else |
else |
|
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
fi |
fi |
done |
done |
done |
done |
|
IFS=$as_save_IFS |
|
|
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:$LINENO: 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:$LINENO: result: no" >&5 |
{ echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
fi |
fi |
|
|
|
|
fi |
fi |
if test -z "$ac_cv_prog_CC"; then |
if test -z "$ac_cv_prog_CC"; then |
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:$LINENO: 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 |
else |
else |
|
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
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_CC="gcc" |
ac_cv_prog_ac_ct_CC="gcc" |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
fi |
fi |
done |
done |
done |
done |
|
IFS=$as_save_IFS |
|
|
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:$LINENO: 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:$LINENO: result: no" >&5 |
{ echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
fi |
fi |
|
|
CC=$ac_ct_CC |
if test "x$ac_ct_CC" = x; then |
|
CC="" |
|
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 |
|
CC=$ac_ct_CC |
|
fi |
else |
else |
CC="$ac_cv_prog_CC" |
CC="$ac_cv_prog_CC" |
fi |
fi |
|
|
if test -z "$CC"; then |
if test -z "$CC"; then |
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:$LINENO: 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 |
else |
else |
|
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
fi |
fi |
done |
done |
done |
done |
|
IFS=$as_save_IFS |
|
|
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:$LINENO: 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:$LINENO: result: no" >&5 |
{ echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
fi |
fi |
|
|
fi |
|
if test -z "$ac_cv_prog_CC"; then |
|
ac_ct_CC=$CC |
|
# Extract the first word of "cc", so it can be a program name with args. |
|
set dummy cc; 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_CC+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test -n "$ac_ct_CC"; then |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # 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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
ac_cv_prog_ac_ct_CC="cc" |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
|
|
|
fi |
fi |
fi |
fi |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
if test -n "$ac_ct_CC"; then |
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
|
else |
|
echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6 |
|
fi |
|
|
|
CC=$ac_ct_CC |
|
else |
|
CC="$ac_cv_prog_CC" |
|
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:$LINENO: 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 |
else |
else |
|
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
ac_prog_rejected=yes |
ac_prog_rejected=yes |
continue |
continue |
|
|
fi |
fi |
done |
done |
done |
done |
|
IFS=$as_save_IFS |
|
|
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. |
|
|
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:$LINENO: 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:$LINENO: result: no" >&5 |
{ echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
fi |
fi |
|
|
|
|
fi |
fi |
if test -z "$CC"; then |
if test -z "$CC"; then |
if test -n "$ac_tool_prefix"; then |
if test -n "$ac_tool_prefix"; then |
for ac_prog in cl |
for ac_prog in cl.exe |
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:$LINENO: 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 |
else |
else |
|
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
fi |
fi |
done |
done |
done |
done |
|
IFS=$as_save_IFS |
|
|
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:$LINENO: 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:$LINENO: result: no" >&5 |
{ echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
fi |
fi |
|
|
|
|
test -n "$CC" && break |
test -n "$CC" && break |
done |
done |
fi |
fi |
if test -z "$CC"; then |
if test -z "$CC"; then |
ac_ct_CC=$CC |
ac_ct_CC=$CC |
for ac_prog in cl |
for ac_prog in cl.exe |
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:$LINENO: 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 |
else |
else |
|
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
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_CC="$ac_prog" |
ac_cv_prog_ac_ct_CC="$ac_prog" |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
fi |
fi |
done |
done |
done |
done |
|
IFS=$as_save_IFS |
|
|
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:$LINENO: 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:$LINENO: result: no" >&5 |
{ echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
fi |
fi |
|
|
|
|
test -n "$ac_ct_CC" && break |
test -n "$ac_ct_CC" && break |
done |
done |
|
|
CC=$ac_ct_CC |
if test "x$ac_ct_CC" = x; then |
|
CC="" |
|
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 |
|
CC=$ac_ct_CC |
|
fi |
fi |
fi |
|
|
fi |
fi |
|
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
|
|
# Provide some information about the compiler. |
# Provide some information about the compiler. |
echo "$as_me:$LINENO:" \ |
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:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
{ (ac_try="$ac_compiler --version >&5" |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
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_compiler --version >&5") 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } |
(exit $ac_status); } |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
{ (ac_try="$ac_compiler -v >&5" |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
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_compiler -v >&5") 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } |
(exit $ac_status); } |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
{ (ac_try="$ac_compiler -V >&5" |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
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_compiler -V >&5") 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } |
(exit $ac_status); } |
|
|
# 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:$LINENO: checking for C compiler default output file name" >&5 |
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
echo $ECHO_N "checking for C compiler default output file name... $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:$LINENO: \"$ac_link_default\"") >&5 |
# |
(eval $ac_link_default) 2>&5 |
# List of possible output files, starting from the most likely. |
|
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
|
# only as a last resort. b.out is created by i960 compilers. |
|
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' |
|
# |
|
# The IRIX 6 linker writes into existing files which may not be |
|
# executable, retaining their permissions. Remove them first so a |
|
# subsequent execution test works. |
|
ac_rmfiles= |
|
for ac_file in $ac_files |
|
do |
|
case $ac_file in |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
|
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
|
esac |
|
done |
|
rm -f $ac_rmfiles |
|
|
|
if { (ac_try="$ac_link_default" |
|
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_default") 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $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 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
# not robust to junk in `.', hence go to wildcards (a.*) only as a last |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
# resort. |
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
|
# so that the user can short-circuit this test for compilers unknown to |
# Be careful to initialize this variable, since it used to be cached. |
# Autoconf. |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
for ac_file in $ac_files '' |
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 |
do |
test -f "$ac_file" || continue |
test -f "$ac_file" || continue |
case $ac_file in |
case $ac_file in |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
;; |
;; |
conftest.$ac_ext ) |
|
# This is the source file. |
|
;; |
|
[ab].out ) |
[ab].out ) |
# We found the default executable, but exeext='' is most |
# We found the default executable, but exeext='' is most |
# certainly right. |
# certainly right. |
break;; |
break;; |
*.* ) |
*.* ) |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
# FIXME: I believe we export ac_cv_exeext for Libtool, |
then :; else |
# but it would be cool to find out if it's true. Does anybody |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
# maintain Libtool? --akim. |
fi |
export ac_cv_exeext |
# We set ac_cv_exeext here because the later test for it is not |
|
# safe: cross compilers may not add the suffix if given an `-o' |
|
# argument, so we may need to know it at that point already. |
|
# Even if this section looks crufty: it has the advantage of |
|
# actually working. |
break;; |
break;; |
* ) |
* ) |
break;; |
break;; |
esac |
esac |
done |
done |
|
test "$ac_cv_exeext" = no && ac_cv_exeext= |
|
|
else |
else |
|
ac_file='' |
|
fi |
|
|
|
{ echo "$as_me:$LINENO: result: $ac_file" >&5 |
|
echo "${ECHO_T}$ac_file" >&6; } |
|
if test -z "$ac_file"; then |
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 |
|
|
|
|
fi |
fi |
|
|
ac_exeext=$ac_cv_exeext |
ac_exeext=$ac_cv_exeext |
echo "$as_me:$LINENO: result: $ac_file" >&5 |
|
echo "${ECHO_T}$ac_file" >&6 |
|
|
|
# Check the compiler produces executables we can run. If not, either |
# Check that 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:$LINENO: 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:$LINENO: \"$ac_try\"") >&5 |
{ (case "(($ac_try" in |
(eval $ac_try) 2>&5 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
(eval "$ac_try") 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
|
|
fi |
fi |
fi |
fi |
fi |
fi |
echo "$as_me:$LINENO: 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 b.out |
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 that 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:$LINENO: 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:$LINENO: 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:$LINENO: checking for suffix of executables" >&5 |
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>&5 |
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>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; then |
(exit $ac_status); }; then |
|
|
for ac_file in conftest.exe conftest conftest.*; do |
for ac_file in conftest.exe conftest conftest.*; do |
test -f "$ac_file" || continue |
test -f "$ac_file" || continue |
case $ac_file in |
case $ac_file in |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
export ac_cv_exeext |
|
break;; |
break;; |
* ) break;; |
* ) break;; |
esac |
esac |
|
|
fi |
fi |
|
|
rm -f conftest$ac_cv_exeext |
rm -f conftest$ac_cv_exeext |
echo "$as_me:$LINENO: 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:$LINENO: checking for suffix of object files" >&5 |
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
echo $ECHO_N "checking for suffix of object files... $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 |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.o conftest.obj |
rm -f conftest.o conftest.obj |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>&5 |
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_compile") 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $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 conftest.o conftest.obj conftest.*; do |
|
test -f "$ac_file" || continue; |
case $ac_file in |
case $ac_file in |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
break;; |
break;; |
esac |
esac |
|
|
|
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: 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:$LINENO: 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 |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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_compiler_gnu=yes |
ac_compiler_gnu=yes |
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 |
|
|
ac_compiler_gnu=no |
ac_compiler_gnu=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
rm -f core conftest.err 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:$LINENO: 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" |
{ echo "$as_me:$LINENO: 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 |
ac_save_c_werror_flag=$ac_c_werror_flag |
|
ac_c_werror_flag=yes |
|
ac_cv_prog_cc_g=no |
|
CFLAGS="-g" |
|
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 2>&5 |
ac_cv_prog_cc_g=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
CFLAGS="" |
|
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 |
|
if { (ac_try="$ac_compile" |
|
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; } && |
(exit $ac_status); } && { |
{ ac_try='test -s conftest.$ac_objext' |
test -z "$ac_c_werror_flag" || |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
test ! -s conftest.err |
(eval $ac_try) 2>&5 |
} && test -s conftest.$ac_objext; then |
|
: |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_c_werror_flag=$ac_save_c_werror_flag |
|
CFLAGS="-g" |
|
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 |
|
if { (ac_try="$ac_compile" |
|
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); } && { |
|
test -z "$ac_c_werror_flag" || |
|
test ! -s conftest.err |
|
} && test -s conftest.$ac_objext; 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 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
ac_cv_prog_cc_g=no |
|
fi |
fi |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
fi |
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_c_werror_flag=$ac_save_c_werror_flag |
|
fi |
|
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
|
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 |
elif test $ac_cv_prog_cc_g = yes; then |
elif test $ac_cv_prog_cc_g = yes; then |
|
|
CFLAGS= |
CFLAGS= |
fi |
fi |
fi |
fi |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
if test "${ac_cv_prog_cc_c89+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_cv_prog_cc_c89=no |
ac_save_CC=$CC |
ac_save_CC=$CC |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
|
|
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
function prototypes and stuff, but not '\xHH' hex character constants. |
function prototypes and stuff, but not '\xHH' hex character constants. |
These don't provoke an error unfortunately, instead are silently treated |
These don't provoke an error unfortunately, instead are silently treated |
as 'x'. The following induces an error, until -std1 is added to get |
as 'x'. The following induces an error, until -std is added to get |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
array size at least. It's necessary to write '\x00'==0 to get something |
array size at least. It's necessary to write '\x00'==0 to get something |
that's true only with -std1. */ |
that's true only with -std. */ |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
|
|
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|
inside strings and character constants. */ |
|
#define FOO(x) 'x' |
|
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|
|
int test (int i, double x); |
int test (int i, double x); |
struct s1 {int (*f) (int a);}; |
struct s1 {int (*f) (int a);}; |
struct s2 {int (*f) (double a);}; |
struct s2 {int (*f) (double a);}; |
|
|
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
# Don't try gcc -ansi; that turns off useful extensions and |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
# breaks some systems' header files. |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
# 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 |
do |
CC="$ac_save_CC $ac_arg" |
CC="$ac_save_CC $ac_arg" |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 2>&5 |
ac_cv_prog_cc_c89=$ac_arg |
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 |
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 |
|
|
|
|
fi |
fi |
rm -f conftest.err conftest.$ac_objext |
|
|
rm -f core conftest.err conftest.$ac_objext |
|
test "x$ac_cv_prog_cc_c89" != "xno" && break |
done |
done |
rm -f conftest.$ac_ext conftest.$ac_objext |
rm -f conftest.$ac_ext |
CC=$ac_save_CC |
CC=$ac_save_CC |
|
|
fi |
fi |
|
# AC_CACHE_VAL |
case "x$ac_cv_prog_cc_stdc" in |
case "x$ac_cv_prog_cc_c89" in |
x|xno) |
x) |
echo "$as_me:$LINENO: result: none needed" >&5 |
{ echo "$as_me:$LINENO: result: none needed" >&5 |
echo "${ECHO_T}none needed" >&6 ;; |
echo "${ECHO_T}none needed" >&6; } ;; |
|
xno) |
|
{ echo "$as_me:$LINENO: result: unsupported" >&5 |
|
echo "${ECHO_T}unsupported" >&6; } ;; |
*) |
*) |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
CC="$CC $ac_cv_prog_cc_c89" |
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
CC="$CC $ac_cv_prog_cc_stdc" ;; |
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
esac |
esac |
|
|
# 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 |
|
# for both compiling C and C++ we need to have the C++ compiler decide |
|
# the declaration of exit, since it's the most demanding environment. |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#ifndef __cplusplus |
|
choke me |
|
#endif |
|
_ACEOF |
|
rm -f conftest.$ac_objext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
(eval $ac_compile) 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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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 |
|
for ac_declaration in \ |
|
'' \ |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
|
'extern "C" void std::exit (int); using std::exit;' \ |
|
'extern "C" void exit (int) throw ();' \ |
|
'extern "C" void exit (int);' \ |
|
'void exit (int);' |
|
do |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
$ac_declaration |
|
#include <stdlib.h> |
|
int |
|
main () |
|
{ |
|
exit (42); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
(eval $ac_compile) 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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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 |
|
: |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
continue |
|
fi |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
$ac_declaration |
|
int |
|
main () |
|
{ |
|
exit (42); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
(eval $ac_compile) 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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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 |
|
break |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
fi |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
done |
|
rm -f conftest* |
|
if test -n "$ac_declaration"; then |
|
echo '#ifdef __cplusplus' >>confdefs.h |
|
echo $ac_declaration >>confdefs.h |
|
echo '#endif' >>confdefs.h |
|
fi |
|
|
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
fi |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
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 |
|
|
|
|
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 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
ac_func_search_save_LIBS=$LIBS |
ac_func_search_save_LIBS=$LIBS |
ac_cv_search_strerror=no |
|
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
#endif |
#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 (); |
char strerror (); |
int |
int |
main () |
main () |
{ |
{ |
strerror (); |
return strerror (); |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
for ac_lib in '' cposix; do |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if test -z "$ac_lib"; then |
(eval $ac_link) 2>conftest.er1 |
ac_res="none required" |
|
else |
|
ac_res=-l$ac_lib |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
fi |
|
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
ac_status=$? |
ac_cv_search_strerror=$ac_res |
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_strerror="none required" |
|
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 |
|
|
|
|
fi |
fi |
rm -f conftest.err 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 |
|
/* 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. */ |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
#ifdef __cplusplus |
conftest$ac_exeext |
extern "C" |
if test "${ac_cv_search_strerror+set}" = set; then |
#endif |
break |
/* We use char because int might match the return type of a gcc2 |
fi |
builtin and then its argument prototype would still apply. */ |
done |
char strerror (); |
if test "${ac_cv_search_strerror+set}" = set; then |
int |
: |
main () |
|
{ |
|
strerror (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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_strerror="-l$ac_lib" |
|
break |
|
else |
else |
echo "$as_me: failed program was:" >&5 |
ac_cv_search_strerror=no |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
rm conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
|
done |
|
fi |
|
LIBS=$ac_func_search_save_LIBS |
LIBS=$ac_func_search_save_LIBS |
fi |
fi |
echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 |
{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 |
echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
echo "${ECHO_T}$ac_cv_search_strerror" >&6; } |
if test "$ac_cv_search_strerror" != no; then |
ac_res=$ac_cv_search_strerror |
test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" |
if test "$ac_res" != no; then |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
|
fi |
fi |
|
|
|
|
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:$LINENO: 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 |
CPP= |
CPP= |
|
|
#endif |
#endif |
Syntax error |
Syntax error |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
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_cpp conftest.$ac_ext") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null && { |
if test -s conftest.err; then |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
ac_cpp_err=$ac_c_preproc_warn_flag |
test ! -s conftest.err |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
}; then |
else |
|
ac_cpp_err= |
|
fi |
|
else |
|
ac_cpp_err=yes |
|
fi |
|
if test -z "$ac_cpp_err"; then |
|
: |
: |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
|
|
# Broken: fails on valid input. |
# Broken: fails on valid input. |
continue |
continue |
fi |
fi |
|
|
rm -f conftest.err conftest.$ac_ext |
rm -f conftest.err conftest.$ac_ext |
|
|
# OK, works on sane cases. Now check whether non-existent headers |
# OK, works on sane cases. Now check whether nonexistent headers |
# can be detected and how. |
# can be detected and how. |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
|
|
/* end confdefs.h. */ |
/* end confdefs.h. */ |
#include <ac_nonexistent.h> |
#include <ac_nonexistent.h> |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
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_cpp conftest.$ac_ext") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null && { |
if test -s conftest.err; then |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
ac_cpp_err=$ac_c_preproc_warn_flag |
test ! -s conftest.err |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
}; then |
else |
|
ac_cpp_err= |
|
fi |
|
else |
|
ac_cpp_err=yes |
|
fi |
|
if test -z "$ac_cpp_err"; then |
|
# Broken: success on invalid input. |
# Broken: success on invalid input. |
continue |
continue |
else |
else |
|
|
ac_preproc_ok=: |
ac_preproc_ok=: |
break |
break |
fi |
fi |
|
|
rm -f conftest.err conftest.$ac_ext |
rm -f conftest.err conftest.$ac_ext |
|
|
done |
done |
|
|
else |
else |
ac_cv_prog_CPP=$CPP |
ac_cv_prog_CPP=$CPP |
fi |
fi |
echo "$as_me:$LINENO: 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 |
|
|
#endif |
#endif |
Syntax error |
Syntax error |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
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_cpp conftest.$ac_ext") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null && { |
if test -s conftest.err; then |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
ac_cpp_err=$ac_c_preproc_warn_flag |
test ! -s conftest.err |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
}; then |
else |
|
ac_cpp_err= |
|
fi |
|
else |
|
ac_cpp_err=yes |
|
fi |
|
if test -z "$ac_cpp_err"; then |
|
: |
: |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
|
|
# Broken: fails on valid input. |
# Broken: fails on valid input. |
continue |
continue |
fi |
fi |
|
|
rm -f conftest.err conftest.$ac_ext |
rm -f conftest.err conftest.$ac_ext |
|
|
# OK, works on sane cases. Now check whether non-existent headers |
# OK, works on sane cases. Now check whether nonexistent headers |
# can be detected and how. |
# can be detected and how. |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
|
|
/* end confdefs.h. */ |
/* end confdefs.h. */ |
#include <ac_nonexistent.h> |
#include <ac_nonexistent.h> |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
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_cpp conftest.$ac_ext") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null && { |
if test -s conftest.err; then |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
ac_cpp_err=$ac_c_preproc_warn_flag |
test ! -s conftest.err |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
}; then |
else |
|
ac_cpp_err= |
|
fi |
|
else |
|
ac_cpp_err=yes |
|
fi |
|
if test -z "$ac_cpp_err"; then |
|
# Broken: success on invalid input. |
# Broken: success on invalid input. |
continue |
continue |
else |
else |
|
|
ac_preproc_ok=: |
ac_preproc_ok=: |
break |
break |
fi |
fi |
|
|
rm -f conftest.err conftest.$ac_ext |
rm -f conftest.err conftest.$ac_ext |
|
|
done |
done |
|
|
|
|
|
|
ac_aux_dir= |
ac_aux_dir= |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
if test -f $ac_dir/install-sh; then |
if test -f "$ac_dir/install-sh"; then |
ac_aux_dir=$ac_dir |
ac_aux_dir=$ac_dir |
ac_install_sh="$ac_aux_dir/install-sh -c" |
ac_install_sh="$ac_aux_dir/install-sh -c" |
break |
break |
elif test -f $ac_dir/install.sh; then |
elif test -f "$ac_dir/install.sh"; then |
ac_aux_dir=$ac_dir |
ac_aux_dir=$ac_dir |
ac_install_sh="$ac_aux_dir/install.sh -c" |
ac_install_sh="$ac_aux_dir/install.sh -c" |
break |
break |
elif test -f $ac_dir/shtool; then |
elif test -f "$ac_dir/shtool"; then |
ac_aux_dir=$ac_dir |
ac_aux_dir=$ac_dir |
ac_install_sh="$ac_aux_dir/shtool install -c" |
ac_install_sh="$ac_aux_dir/shtool install -c" |
break |
break |
fi |
fi |
done |
done |
if test -z "$ac_aux_dir"; then |
if test -z "$ac_aux_dir"; then |
{ { echo "$as_me:$LINENO: 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 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
|
|
|
|
# These three variables are undocumented and unsupported, |
|
# and are intended to be withdrawn in a future Autoconf release. |
|
# They can cause serious problems if a builder's source tree is in a directory |
|
# whose full name contains unusual characters. |
|
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
|
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
|
|
|
|
# Make sure we can run config.sub. |
# Make sure we can run config.sub. |
$ac_config_sub sun4 >/dev/null 2>&1 || |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
|
|
echo "$as_me:$LINENO: 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 |
else |
else |
ac_cv_build_alias=$build_alias |
ac_build_alias=$build_alias |
test -z "$ac_cv_build_alias" && |
test "x$ac_build_alias" = x && |
ac_cv_build_alias=`$ac_config_guess` |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
test -z "$ac_cv_build_alias" && |
test "x$ac_build_alias" = x && |
{ { echo "$as_me:$LINENO: 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=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
|
|
fi |
fi |
echo "$as_me:$LINENO: 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; } |
|
case $ac_cv_build in |
|
*-*-*) ;; |
|
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
|
echo "$as_me: error: invalid value of canonical build" >&2;} |
|
{ (exit 1); exit 1; }; };; |
|
esac |
build=$ac_cv_build |
build=$ac_cv_build |
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
ac_save_IFS=$IFS; IFS='-' |
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
set x $ac_cv_build |
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
shift |
|
build_cpu=$1 |
|
build_vendor=$2 |
|
shift; shift |
|
# Remember, the first character of IFS is used to create $*, |
|
# except with old shells: |
|
build_os=$* |
|
IFS=$ac_save_IFS |
|
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
|
|
|
|
echo "$as_me:$LINENO: 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 |
else |
else |
ac_cv_host_alias=$host_alias |
if test "x$host_alias" = x; then |
test -z "$ac_cv_host_alias" && |
ac_cv_host=$ac_cv_build |
ac_cv_host_alias=$ac_cv_build_alias |
else |
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
|
fi |
|
|
fi |
fi |
echo "$as_me:$LINENO: 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; } |
|
case $ac_cv_host in |
|
*-*-*) ;; |
|
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
|
echo "$as_me: error: invalid value of canonical host" >&2;} |
|
{ (exit 1); exit 1; }; };; |
|
esac |
host=$ac_cv_host |
host=$ac_cv_host |
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
ac_save_IFS=$IFS; IFS='-' |
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
set x $ac_cv_host |
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
shift |
|
host_cpu=$1 |
|
host_vendor=$2 |
|
shift; shift |
|
# Remember, the first character of IFS is used to create $*, |
|
# except with old shells: |
|
host_os=$* |
|
IFS=$ac_save_IFS |
|
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
|
|
|
|
echo "$as_me:$LINENO: checking target system type" >&5 |
{ echo "$as_me:$LINENO: checking target system type" >&5 |
echo $ECHO_N "checking target system type... $ECHO_C" >&6 |
echo $ECHO_N "checking target system type... $ECHO_C" >&6; } |
if test "${ac_cv_target+set}" = set; then |
if test "${ac_cv_target+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
ac_cv_target_alias=$target_alias |
if test "x$target_alias" = x; then |
test "x$ac_cv_target_alias" = "x" && |
ac_cv_target=$ac_cv_host |
ac_cv_target_alias=$ac_cv_host_alias |
else |
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || |
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 |
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
|
fi |
|
|
fi |
fi |
echo "$as_me:$LINENO: result: $ac_cv_target" >&5 |
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5 |
echo "${ECHO_T}$ac_cv_target" >&6 |
echo "${ECHO_T}$ac_cv_target" >&6; } |
|
case $ac_cv_target in |
|
*-*-*) ;; |
|
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 |
|
echo "$as_me: error: invalid value of canonical target" >&2;} |
|
{ (exit 1); exit 1; }; };; |
|
esac |
target=$ac_cv_target |
target=$ac_cv_target |
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
ac_save_IFS=$IFS; IFS='-' |
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
set x $ac_cv_target |
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
shift |
|
target_cpu=$1 |
|
target_vendor=$2 |
|
shift; shift |
|
# Remember, the first character of IFS is used to create $*, |
|
# except with old shells: |
|
target_os=$* |
|
IFS=$ac_save_IFS |
|
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac |
|
|
|
|
# The aliases save the names the user supplied, while $host etc. |
# The aliases save the names the user supplied, while $host etc. |
|
|
test "$program_prefix$program_suffix$program_transform_name" = \ |
test "$program_prefix$program_suffix$program_transform_name" = \ |
NONENONEs,x,x, && |
NONENONEs,x,x, && |
program_prefix=${target_alias}- |
program_prefix=${target_alias}- |
|
# Check whether --enable-static was given. |
|
if test "${enable_static+set}" = set; then |
|
enableval=$enable_static; p=${PACKAGE-default} |
|
case $enableval in |
|
yes) enable_static=yes ;; |
|
no) enable_static=no ;; |
|
*) |
|
enable_static=no |
|
# Look at the argument we got. We use all the common list separators. |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
for pkg in $enableval; do |
|
IFS="$lt_save_ifs" |
|
if test "X$pkg" = "X$p"; then |
|
enable_static=yes |
|
fi |
|
done |
|
IFS="$lt_save_ifs" |
|
;; |
|
esac |
|
else |
|
enable_static=no |
|
fi |
|
|
|
|
|
|
macro_version='1.9f' |
# Check whether --enable-shared was given. |
macro_revision='1.1667.2.43' |
if test "${enable_shared+set}" = set; then |
|
enableval=$enable_shared; p=${PACKAGE-default} |
|
case $enableval in |
|
yes) enable_shared=yes ;; |
|
no) enable_shared=no ;; |
|
*) |
|
enable_shared=no |
|
# Look at the argument we got. We use all the common list separators. |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
for pkg in $enableval; do |
|
IFS="$lt_save_ifs" |
|
if test "X$pkg" = "X$p"; then |
|
enable_shared=yes |
|
fi |
|
done |
|
IFS="$lt_save_ifs" |
|
;; |
|
esac |
|
else |
|
enable_shared=yes |
|
fi |
|
|
|
|
|
# Check whether --enable-fast-install was given. |
|
if test "${enable_fast_install+set}" = set; then |
|
enableval=$enable_fast_install; p=${PACKAGE-default} |
|
case $enableval in |
|
yes) enable_fast_install=yes ;; |
|
no) enable_fast_install=no ;; |
|
*) |
|
enable_fast_install=no |
|
# Look at the argument we got. We use all the common list separators. |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
for pkg in $enableval; do |
|
IFS="$lt_save_ifs" |
|
if test "X$pkg" = "X$p"; then |
|
enable_fast_install=yes |
|
fi |
|
done |
|
IFS="$lt_save_ifs" |
|
;; |
|
esac |
|
else |
|
enable_fast_install=yes |
|
fi |
|
|
|
|
|
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 |
|
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; } |
|
|
|
|
|
|
|
|
|
|
|
|
ltmain="$ac_aux_dir/ltmain.sh" |
|
|
|
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 |
|
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 |
|
if test "${lt_cv_path_SED+set}" = set; then |
if test "${lt_cv_path_SED+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
|
|
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for lt_ac_prog in sed gsed; do |
for lt_ac_prog in sed gsed; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then |
if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then |
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" |
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" |
fi |
fi |
done |
done |
done |
done |
done |
done |
|
IFS=$as_save_IFS |
lt_ac_max=0 |
lt_ac_max=0 |
lt_ac_count=0 |
lt_ac_count=0 |
# Add /usr/xpg4/bin/sed as it is typically found on Solaris |
# Add /usr/xpg4/bin/sed as it is typically found on Solaris |
# along with /bin/sed that truncates output. |
# along with /bin/sed that truncates output. |
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do |
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do |
test ! -f $lt_ac_sed && break |
test ! -f $lt_ac_sed && continue |
cat /dev/null > conftest.in |
cat /dev/null > conftest.in |
lt_ac_count=0 |
lt_ac_count=0 |
$ECHO $ECHO_N "0123456789$ECHO_C" >conftest.in |
echo $ECHO_N "0123456789$ECHO_C" >conftest.in |
# Check for GNU sed and select it if it is found. |
# Check for GNU sed and select it if it is found. |
if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then |
if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then |
lt_cv_path_SED=$lt_ac_sed |
lt_cv_path_SED=$lt_ac_sed |
|
|
cat conftest.in conftest.in >conftest.tmp |
cat conftest.in conftest.in >conftest.tmp |
mv conftest.tmp conftest.in |
mv conftest.tmp conftest.in |
cp conftest.in conftest.nl |
cp conftest.in conftest.nl |
$ECHO >>conftest.nl |
echo >>conftest.nl |
$lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break |
$lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break |
cmp -s conftest.out conftest.nl || break |
cmp -s conftest.out conftest.nl || break |
# 10000 chars as input seems more than enough |
# 10000 chars as input seems more than enough |
|
|
|
|
SED=$lt_cv_path_SED |
SED=$lt_cv_path_SED |
|
|
echo "$as_me:$LINENO: result: $SED" >&5 |
{ echo "$as_me:$LINENO: result: $SED" >&5 |
echo "${ECHO_T}$SED" >&6 |
echo "${ECHO_T}$SED" >&6; } |
|
|
test -z "$SED" && SED=sed |
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
|
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } |
|
if test "${ac_cv_path_GREP+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
# Extract the first word of "grep ggrep" to use in msg output |
|
if test -z "$GREP"; then |
|
set dummy grep ggrep; ac_prog_name=$2 |
|
if test "${ac_cv_path_GREP+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_path_GREP_found=false |
|
# Loop through the user's path and test for each of PROGNAME-LIST |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
for ac_prog in grep ggrep; do |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
|
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
|
# Check for GNU ac_path_GREP and select it if it is found. |
|
# Check for GNU $ac_path_GREP |
|
case `"$ac_path_GREP" --version 2>&1` in |
|
*GNU*) |
|
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
|
*) |
|
ac_count=0 |
|
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
|
while : |
|
do |
|
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
mv "conftest.tmp" "conftest.in" |
|
cp "conftest.in" "conftest.nl" |
|
echo 'GREP' >> "conftest.nl" |
|
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
ac_count=`expr $ac_count + 1` |
|
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
|
# Best one so far, save it but keep looking for a better one |
|
ac_cv_path_GREP="$ac_path_GREP" |
|
ac_path_GREP_max=$ac_count |
|
fi |
|
# 10*(2^10) chars as input seems more than enough |
|
test $ac_count -gt 10 && break |
|
done |
|
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
esac |
|
|
|
|
|
$ac_path_GREP_found && break 3 |
|
done |
|
done |
|
|
|
done |
|
IFS=$as_save_IFS |
|
|
|
|
|
fi |
|
|
|
GREP="$ac_cv_path_GREP" |
|
if test -z "$GREP"; then |
|
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
|
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
|
|
else |
|
ac_cv_path_GREP=$GREP |
|
fi |
|
|
|
|
|
fi |
|
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
|
echo "${ECHO_T}$ac_cv_path_GREP" >&6; } |
|
GREP="$ac_cv_path_GREP" |
|
|
|
|
echo "$as_me:$LINENO: checking for egrep" >&5 |
{ echo "$as_me:$LINENO: checking for egrep" >&5 |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } |
if test "${ac_cv_prog_egrep+set}" = set; then |
if test "${ac_cv_path_EGREP+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
then ac_cv_prog_egrep='grep -E' |
then ac_cv_path_EGREP="$GREP -E" |
else ac_cv_prog_egrep='egrep' |
else |
fi |
# Extract the first word of "egrep" to use in msg output |
fi |
if test -z "$EGREP"; then |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
set dummy egrep; ac_prog_name=$2 |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
if test "${ac_cv_path_EGREP+set}" = set; then |
EGREP=$ac_cv_prog_egrep |
|
|
|
|
|
echo "$as_me:$LINENO: checking for fgrep" >&5 |
|
echo $ECHO_N "checking for fgrep... $ECHO_C" >&6 |
|
if test "${ac_cv_prog_fgrep+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1 |
ac_path_EGREP_found=false |
then ac_cv_prog_fgrep='grep -F' |
# Loop through the user's path and test for each of PROGNAME-LIST |
else ac_cv_prog_fgrep='fgrep' |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
for ac_prog in egrep; do |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
|
# Check for GNU ac_path_EGREP and select it if it is found. |
|
# Check for GNU $ac_path_EGREP |
|
case `"$ac_path_EGREP" --version 2>&1` in |
|
*GNU*) |
|
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
|
*) |
|
ac_count=0 |
|
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
|
while : |
|
do |
|
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
mv "conftest.tmp" "conftest.in" |
|
cp "conftest.in" "conftest.nl" |
|
echo 'EGREP' >> "conftest.nl" |
|
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
ac_count=`expr $ac_count + 1` |
|
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
|
# Best one so far, save it but keep looking for a better one |
|
ac_cv_path_EGREP="$ac_path_EGREP" |
|
ac_path_EGREP_max=$ac_count |
fi |
fi |
fi |
# 10*(2^10) chars as input seems more than enough |
echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5 |
test $ac_count -gt 10 && break |
echo "${ECHO_T}$ac_cv_prog_fgrep" >&6 |
done |
FGREP=$ac_cv_prog_fgrep |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
esac |
|
|
|
|
test -z "$GREP" && GREP=grep |
$ac_path_EGREP_found && break 3 |
|
done |
|
done |
|
|
|
done |
|
IFS=$as_save_IFS |
|
|
|
|
|
fi |
|
|
|
EGREP="$ac_cv_path_EGREP" |
|
if test -z "$EGREP"; then |
|
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
|
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
|
|
else |
|
ac_cv_path_EGREP=$EGREP |
|
fi |
|
|
|
|
|
fi |
|
fi |
|
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
|
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } |
|
EGREP="$ac_cv_path_EGREP" |
|
|
|
|
|
|
|
# Check whether --with-gnu-ld was given. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Check whether --with-gnu-ld or --without-gnu-ld was given. |
|
if test "${with_gnu_ld+set}" = set; then |
if test "${with_gnu_ld+set}" = set; then |
withval="$with_gnu_ld" |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
test "$withval" = no || with_gnu_ld=yes |
|
else |
else |
with_gnu_ld=no |
with_gnu_ld=no |
fi; |
fi |
|
|
ac_prog=ld |
ac_prog=ld |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
# Check if gcc -print-prog-name=ld gives a path. |
# Check if gcc -print-prog-name=ld gives a path. |
echo "$as_me:$LINENO: checking for ld used by $CC" >&5 |
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5 |
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 |
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } |
case $host in |
case $host in |
*-*-mingw*) |
*-*-mingw*) |
# gcc leaves a trailing carriage return which upsets mingw |
# gcc leaves a trailing carriage return which upsets mingw |
|
|
[\\/]* | ?:[\\/]*) |
[\\/]* | ?:[\\/]*) |
re_direlt='/[^/][^/]*/\.\./' |
re_direlt='/[^/][^/]*/\.\./' |
# Canonicalize the pathname of ld |
# Canonicalize the pathname of ld |
ac_prog=`$ECHO $ac_prog| $SED 's%\\\\%/%g'` |
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` |
while $ECHO $ac_prog | $GREP "$re_direlt" > /dev/null 2>&1; do |
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do |
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` |
done |
done |
test -z "$LD" && LD="$ac_prog" |
test -z "$LD" && LD="$ac_prog" |
;; |
;; |
|
|
;; |
;; |
esac |
esac |
elif test "$with_gnu_ld" = yes; then |
elif test "$with_gnu_ld" = yes; then |
echo "$as_me:$LINENO: checking for GNU ld" >&5 |
{ echo "$as_me:$LINENO: checking for GNU ld" >&5 |
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 |
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } |
else |
else |
echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 |
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } |
fi |
fi |
if test "${lt_cv_path_LD+set}" = set; then |
if test "${lt_cv_path_LD+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
lt_cv_path_LD="$ac_dir/$ac_prog" |
lt_cv_path_LD="$ac_dir/$ac_prog" |
# Check to see if the program is GNU ld. I'd rather use --version, |
# Check to see if the program is GNU ld. I'd rather use --version, |
# but apparently some GNU ld's only accept -v. |
# but apparently some variants of GNU ld only accept -v. |
# Break only if it was the GNU/non-GNU ld that we prefer. |
# Break only if it was the GNU/non-GNU ld that we prefer. |
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
*GNU* | *'with BFD'*) |
*GNU* | *'with BFD'*) |
|
|
|
|
LD="$lt_cv_path_LD" |
LD="$lt_cv_path_LD" |
if test -n "$LD"; then |
if test -n "$LD"; then |
echo "$as_me:$LINENO: result: $LD" >&5 |
{ echo "$as_me:$LINENO: result: $LD" >&5 |
echo "${ECHO_T}$LD" >&6 |
echo "${ECHO_T}$LD" >&6; } |
else |
else |
echo "$as_me:$LINENO: result: no" >&5 |
{ echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
fi |
fi |
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 |
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } |
if test "${lt_cv_prog_gnu_ld+set}" = set; then |
if test "${lt_cv_prog_gnu_ld+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
# I'd rather use --version here, but apparently some GNU ld's only accept -v. |
# I'd rather use --version here, but apparently some GNU lds only accept -v. |
case `$LD -v 2>&1 </dev/null` in |
case `$LD -v 2>&1 </dev/null` in |
*GNU* | *'with BFD'*) |
*GNU* | *'with BFD'*) |
lt_cv_prog_gnu_ld=yes |
lt_cv_prog_gnu_ld=yes |
|
|
;; |
;; |
esac |
esac |
fi |
fi |
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 |
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } |
with_gnu_ld=$lt_cv_prog_gnu_ld |
with_gnu_ld=$lt_cv_prog_gnu_ld |
|
|
|
|
|
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 |
|
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; } |
|
if test "${lt_cv_ld_reload_flag+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
lt_cv_ld_reload_flag='-r' |
|
fi |
|
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 |
|
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; } |
|
reload_flag=$lt_cv_ld_reload_flag |
|
case $reload_flag in |
|
"" | " "*) ;; |
|
*) reload_flag=" $reload_flag" ;; |
|
esac |
|
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
case $host_os in |
|
darwin*) |
|
if test "$GCC" = yes; then |
|
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
|
else |
|
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
fi |
|
;; |
|
esac |
|
|
|
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 |
|
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; } |
|
|
|
|
|
|
|
|
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 |
|
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 |
|
if test "${lt_cv_path_NM+set}" = set; then |
if test "${lt_cv_path_NM+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
|
|
# Let the user override the test. |
# Let the user override the test. |
lt_cv_path_NM="$NM" |
lt_cv_path_NM="$NM" |
else |
else |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
lt_nm_to_check="${ac_tool_prefix}nm" |
for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do |
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then |
IFS="$lt_save_ifs" |
lt_nm_to_check="$lt_nm_to_check nm" |
test -z "$ac_dir" && ac_dir=. |
fi |
tmp_nm="$ac_dir/${ac_tool_prefix}nm" |
for lt_tmp_nm in $lt_nm_to_check; do |
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
# Check to see if the nm accepts a BSD-compat flag. |
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
# Adding the `sed 1q' prevents false positives on HP-UX, which says: |
IFS="$lt_save_ifs" |
# nm: unknown option "B" ignored |
test -z "$ac_dir" && ac_dir=. |
# Tru64's nm complains that /dev/null is an invalid object file |
tmp_nm="$ac_dir/$lt_tmp_nm" |
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in |
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then |
*/dev/null* | *'Invalid file or object type'*) |
# Check to see if the nm accepts a BSD-compat flag. |
lt_cv_path_NM="$tmp_nm -B" |
# Adding the `sed 1q' prevents false positives on HP-UX, which says: |
break |
# nm: unknown option "B" ignored |
;; |
# Tru64's nm complains that /dev/null is an invalid object file |
*) |
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in |
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
*/dev/null* | *'Invalid file or object type'*) |
*/dev/null*) |
lt_cv_path_NM="$tmp_nm -B" |
lt_cv_path_NM="$tmp_nm -p" |
|
break |
break |
;; |
;; |
*) |
*) |
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
continue # so that we can try to find one that supports BSD flags |
*/dev/null*) |
|
lt_cv_path_NM="$tmp_nm -p" |
|
break |
|
;; |
|
*) |
|
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
|
continue # so that we can try to find one that supports BSD flags |
|
;; |
|
esac |
;; |
;; |
esac |
esac |
esac |
fi |
fi |
done |
|
IFS="$lt_save_ifs" |
done |
done |
IFS="$lt_save_ifs" |
|
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm |
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm |
fi |
fi |
fi |
fi |
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 |
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 |
echo "${ECHO_T}$lt_cv_path_NM" >&6 |
echo "${ECHO_T}$lt_cv_path_NM" >&6; } |
NM="$lt_cv_path_NM" |
NM="$lt_cv_path_NM" |
test -z "$NM" && NM=nm |
|
|
|
|
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
|
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } |
|
|
|
|
|
|
echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
|
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 |
|
LN_S=$as_ln_s |
LN_S=$as_ln_s |
if test "$LN_S" = "ln -s"; then |
if test "$LN_S" = "ln -s"; then |
echo "$as_me:$LINENO: 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:$LINENO: result: no, using $LN_S" >&5 |
{ echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
echo "${ECHO_T}no, using $LN_S" >&6 |
echo "${ECHO_T}no, using $LN_S" >&6; } |
fi |
fi |
|
|
# find the maximum length of command line arguments |
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 |
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 |
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; } |
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6 |
|
if test "${lt_cv_sys_max_cmd_len+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
i=0 |
|
teststring="ABCD" |
|
|
|
case $build_os in |
|
msdosdjgpp*) |
|
# On DJGPP, this test can blow up pretty badly due to problems in libc |
|
# (any single argument exceeding 2000 bytes causes a buffer overrun |
|
# during glob expansion). Even if it were fixed, the result of this |
|
# check would be larger than it should be. |
|
lt_cv_sys_max_cmd_len=12288; # 12K is about right |
|
;; |
|
|
|
gnu*) |
|
# Under GNU Hurd, this test is not required because there is |
|
# no limit to the length of command line arguments. |
|
# Libtool will interpret -1 as no limit whatsoever |
|
lt_cv_sys_max_cmd_len=-1; |
|
;; |
|
|
|
cygwin* | mingw*) |
|
# On Win9x/ME, this test blows up -- it succeeds, but takes |
|
# about 5 minutes as the teststring grows exponentially. |
|
# Worse, since 9x/ME are not pre-emptively multitasking, |
|
# you end up with a "frozen" computer, even though with patience |
|
# the test eventually succeeds (with a max line length of 256k). |
|
# Instead, let's just punt: use the minimum linelength reported by |
|
# all of the supported platforms: 8192 (on NT/2K/XP). |
|
lt_cv_sys_max_cmd_len=8192; |
|
;; |
|
|
|
amigaos*) |
|
# On AmigaOS with pdksh, this test takes hours, literally. |
|
# So we just punt and use a minimum line length of 8192. |
|
lt_cv_sys_max_cmd_len=8192; |
|
;; |
|
|
|
netbsd* | freebsd* | openbsd* | darwin* ) |
|
# This has been around since 386BSD, at least. Likely further. |
|
if test -x /sbin/sysctl; then |
|
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
|
elif test -x /usr/sbin/sysctl; then |
|
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
|
else |
|
lt_cv_sys_max_cmd_len=65536 # usable default for *BSD |
|
fi |
|
# And add a safety zone |
|
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
|
;; |
|
*) |
|
# Make teststring a little bigger before we do anything with it. |
|
# a 1K string should be a reasonable start. |
|
for i in 1 2 3 4 5 6 7 8 ; do |
|
teststring=$teststring$teststring |
|
done |
|
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
|
# If test is not a shell built-in, we'll probably end up computing a |
|
# maximum length that is only half of the actual maximum length, but |
|
# we can't tell. |
|
while (test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ |
|
= "XX$teststring$teststring") >/dev/null 2>&1 && |
|
test $i != 17 # 1/2 MB should be enough |
|
do |
|
i=`expr $i + 1` |
|
teststring=$teststring$teststring |
|
done |
|
# Only check the string length outside the loop. |
|
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` |
|
teststring= |
|
# Add a significant safety factor because C++ compilers can tack on massive |
|
# amounts of additional arguments before passing them to the linker. |
|
# It appears as though 1/2 is a usable value. |
|
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` |
|
;; |
|
esac |
|
|
|
fi |
|
|
|
if test -n $lt_cv_sys_max_cmd_len ; then |
|
echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 |
|
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6 |
|
else |
|
echo "$as_me:$LINENO: result: none" >&5 |
|
echo "${ECHO_T}none" >&6 |
|
fi |
|
max_cmd_len=$lt_cv_sys_max_cmd_len |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 |
|
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 |
|
if test "${lt_cv_ld_reload_flag+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
lt_cv_ld_reload_flag='-r' |
|
fi |
|
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 |
|
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 |
|
reload_flag=$lt_cv_ld_reload_flag |
|
case $reload_flag in |
|
"" | " "*) ;; |
|
*) reload_flag=" $reload_flag" ;; |
|
esac |
|
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
case $host_os in |
|
darwin*) |
|
if test "$GCC" = yes; then |
|
reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs' |
|
else |
|
reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
fi |
|
;; |
|
esac |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 |
|
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6 |
|
if test "${lt_cv_deplibs_check_method+set}" = set; then |
if test "${lt_cv_deplibs_check_method+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
|
|
lt_cv_file_magic_cmd='func_win32_libid' |
lt_cv_file_magic_cmd='func_win32_libid' |
;; |
;; |
|
|
# Base MSYS/MinGW do not provide the 'file' command needed by |
|
# func_win32_libid shell function, so use a weaker test based on 'objdump'. |
|
mingw* | pw32*) |
mingw* | pw32*) |
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' |
# Base MSYS/MinGW do not provide the 'file' command needed by |
lt_cv_file_magic_cmd='$OBJDUMP -f' |
# func_win32_libid shell function, so use a weaker test based on 'objdump', |
|
# unless we find 'file', for example because we are cross-compiling. |
|
if ( file / ) >/dev/null 2>&1; then |
|
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
|
lt_cv_file_magic_cmd='func_win32_libid' |
|
else |
|
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' |
|
lt_cv_file_magic_cmd='$OBJDUMP -f' |
|
fi |
;; |
;; |
|
|
darwin* | rhapsody*) |
darwin* | rhapsody*) |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
;; |
;; |
|
|
freebsd* | kfreebsd*-gnu) |
freebsd* | dragonfly*) |
if $ECHO __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
case $host_cpu in |
case $host_cpu in |
i*86 ) |
i*86 ) |
# Not sure whether the presence of OpenBSD here was a mistake. |
# Not sure whether the presence of OpenBSD here was a mistake. |
# Let's accept both of them until this is cleared up. |
# Let's accept both of them until this is cleared up. |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' |
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' |
lt_cv_file_magic_cmd=/usr/bin/file |
lt_cv_file_magic_cmd=/usr/bin/file |
lt_cv_file_magic_test_file=`$ECHO /usr/lib/libc.so.*` |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
;; |
;; |
esac |
esac |
else |
else |
|
|
|
|
hpux10.20* | hpux11*) |
hpux10.20* | hpux11*) |
lt_cv_file_magic_cmd=/usr/bin/file |
lt_cv_file_magic_cmd=/usr/bin/file |
case "$host_cpu" in |
case $host_cpu in |
ia64*) |
ia64*) |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' |
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' |
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
|
|
esac |
esac |
;; |
;; |
|
|
|
interix[3-9]*) |
|
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here |
|
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' |
|
;; |
|
|
irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
case $LD in |
case $LD in |
*-32|*"-32 ") libmagic=32-bit;; |
*-32|*"-32 ") libmagic=32-bit;; |
|
|
;; |
;; |
|
|
# This must be Linux ELF. |
# This must be Linux ELF. |
linux*) |
linux* | k*bsd*-gnu) |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
;; |
;; |
|
|
netbsd* | knetbsd*-gnu) |
netbsd*) |
if $ECHO __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
else |
else |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
|
|
lt_cv_file_magic_test_file=/usr/lib/libnls.so |
lt_cv_file_magic_test_file=/usr/lib/libnls.so |
;; |
;; |
|
|
*nto* | *qnx*) |
nto-qnx*) |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=unknown |
;; |
;; |
|
|
openbsd*) |
openbsd*) |
if test -z "`$ECHO __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
else |
else |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
|
|
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
;; |
;; |
|
|
sco3.2v5*) |
rdos*) |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
;; |
;; |
|
|
|
|
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
;; |
;; |
|
|
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
sysv4 | sysv4.3*) |
case $host_vendor in |
case $host_vendor in |
motorola) |
motorola) |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' |
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' |
lt_cv_file_magic_test_file=`$ECHO /usr/lib/libc.so*` |
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` |
;; |
;; |
ncr) |
ncr) |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
|
|
siemens) |
siemens) |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
;; |
;; |
|
pc) |
|
lt_cv_deplibs_check_method=pass_all |
|
;; |
esac |
esac |
;; |
;; |
|
|
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*) |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
;; |
;; |
|
|
tpf*) |
|
lt_cv_deplibs_check_method=pass_all |
|
;; |
|
esac |
esac |
|
|
fi |
fi |
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 |
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 |
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 |
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; } |
file_magic_cmd=$lt_cv_file_magic_cmd |
file_magic_cmd=$lt_cv_file_magic_cmd |
deplibs_check_method=$lt_cv_deplibs_check_method |
deplibs_check_method=$lt_cv_deplibs_check_method |
test -z "$deplibs_check_method" && deplibs_check_method=unknown |
test -z "$deplibs_check_method" && deplibs_check_method=unknown |
|
|
|
|
|
|
|
|
|
# If no C compiler was specified, use CC. |
|
LTCC=${LTCC-"$CC"} |
|
|
|
# If no C compiler flags were specified, use CFLAGS. |
|
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
|
|
# Allow CC to be a program name with arguments. |
|
compiler=$CC |
|
|
|
# Check whether --enable-libtool-lock was given. |
|
if test "${enable_libtool_lock+set}" = set; then |
|
enableval=$enable_libtool_lock; |
|
fi |
|
|
|
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
|
|
|
# Some flags need to be propagated to the compiler or linker for good |
|
# libtool support. |
|
case $host in |
if test -n "$ac_tool_prefix"; then |
ia64-*-hpux*) |
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
# Find out which ABI we are using. |
set dummy ${ac_tool_prefix}ar; ac_word=$2 |
echo 'int i;' > conftest.$ac_ext |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
(eval $ac_compile) 2>&5 |
if test "${ac_cv_prog_AR+set}" = set; then |
ac_status=$? |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
else |
(exit $ac_status); }; then |
if test -n "$AR"; then |
case `/usr/bin/file conftest.$ac_objext` in |
ac_cv_prog_AR="$AR" # Let the user override the test. |
*ELF-32*) |
else |
HPUX_IA64_MODE="32" |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
;; |
for as_dir in $PATH |
*ELF-64*) |
do |
HPUX_IA64_MODE="64" |
IFS=$as_save_IFS |
;; |
test -z "$as_dir" && as_dir=. |
esac |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
ac_cv_prog_AR="${ac_tool_prefix}ar" |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
fi |
done |
rm -rf conftest* |
done |
;; |
|
*-*-irix6*) |
fi |
# Find out which ABI we are using. |
fi |
echo '#line 6086 "configure"' > conftest.$ac_ext |
AR=$ac_cv_prog_AR |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if test -n "$AR"; then |
(eval $ac_compile) 2>&5 |
echo "$as_me:$LINENO: result: $AR" >&5 |
ac_status=$? |
echo "${ECHO_T}$AR" >&6 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
else |
(exit $ac_status); }; then |
echo "$as_me:$LINENO: result: no" >&5 |
if test "$lt_cv_prog_gnu_ld" = yes; then |
echo "${ECHO_T}no" >&6 |
case `/usr/bin/file conftest.$ac_objext` in |
fi |
*32-bit*) |
|
LD="${LD-ld} -melf32bsmip" |
fi |
;; |
if test -z "$ac_cv_prog_AR"; then |
*N32*) |
ac_ct_AR=$AR |
LD="${LD-ld} -melf32bmipn32" |
# Extract the first word of "ar", so it can be a program name with args. |
;; |
set dummy ar; ac_word=$2 |
*64-bit*) |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
LD="${LD-ld} -melf64bmip" |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
;; |
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then |
esac |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
case `/usr/bin/file conftest.$ac_objext` in |
if test -n "$ac_ct_AR"; then |
*32-bit*) |
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
LD="${LD-ld} -32" |
else |
;; |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
*N32*) |
for as_dir in $PATH |
LD="${LD-ld} -n32" |
do |
;; |
IFS=$as_save_IFS |
*64-bit*) |
test -z "$as_dir" && as_dir=. |
LD="${LD-ld} -64" |
for ac_exec_ext in '' $ac_executable_extensions; do |
;; |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
esac |
ac_cv_prog_ac_ct_AR="ar" |
fi |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
fi |
done |
rm -rf conftest* |
done |
;; |
|
|
test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false" |
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ |
fi |
s390*-*linux*|sparc*-*linux*) |
fi |
# Find out which ABI we are using. |
ac_ct_AR=$ac_cv_prog_ac_ct_AR |
echo 'int i;' > conftest.$ac_ext |
if test -n "$ac_ct_AR"; then |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 |
(eval $ac_compile) 2>&5 |
echo "${ECHO_T}$ac_ct_AR" >&6 |
ac_status=$? |
else |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: result: no" >&5 |
(exit $ac_status); }; then |
echo "${ECHO_T}no" >&6 |
case `/usr/bin/file conftest.o` in |
fi |
*32-bit*) |
|
case $host in |
AR=$ac_ct_AR |
x86_64-*kfreebsd*-gnu) |
else |
LD="${LD-ld} -m elf_i386_fbsd" |
AR="$ac_cv_prog_AR" |
;; |
fi |
x86_64-*linux*) |
|
LD="${LD-ld} -m elf_i386" |
test -z "$AR" && AR=ar |
;; |
test -z "$AR_FLAGS" && AR_FLAGS=cru |
ppc64-*linux*|powerpc64-*linux*) |
|
LD="${LD-ld} -m elf32ppclinux" |
|
;; |
|
s390x-*linux*) |
|
LD="${LD-ld} -m elf_s390" |
|
;; |
|
sparc64-*linux*) |
|
LD="${LD-ld} -m elf32_sparc" |
|
;; |
|
esac |
|
;; |
|
*64-bit*) |
if test -n "$ac_tool_prefix"; then |
case $host in |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
x86_64-*kfreebsd*-gnu) |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
LD="${LD-ld} -m elf_x86_64_fbsd" |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
;; |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
x86_64-*linux*) |
if test "${ac_cv_prog_STRIP+set}" = set; then |
LD="${LD-ld} -m elf_x86_64" |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
;; |
else |
ppc*-*linux*|powerpc*-*linux*) |
if test -n "$STRIP"; then |
LD="${LD-ld} -m elf64ppc" |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
;; |
else |
s390*-*linux*) |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
LD="${LD-ld} -m elf64_s390" |
for as_dir in $PATH |
;; |
do |
sparc*-*linux*) |
IFS=$as_save_IFS |
LD="${LD-ld} -m elf64_sparc" |
test -z "$as_dir" && as_dir=. |
;; |
for ac_exec_ext in '' $ac_executable_extensions; do |
esac |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
;; |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
esac |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
fi |
done |
rm -rf conftest* |
done |
;; |
|
|
fi |
*-*-sco3.2v5*) |
fi |
# On SCO OpenServer 5, we need -belf to get full-featured binaries. |
STRIP=$ac_cv_prog_STRIP |
SAVE_CFLAGS="$CFLAGS" |
if test -n "$STRIP"; then |
CFLAGS="$CFLAGS -belf" |
echo "$as_me:$LINENO: result: $STRIP" >&5 |
{ echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 |
echo "${ECHO_T}$STRIP" >&6 |
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; } |
else |
if test "${lt_cv_cc_needs_belf+set}" = set; then |
echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6 |
|
fi |
|
|
|
fi |
|
if test -z "$ac_cv_prog_STRIP"; then |
|
ac_ct_STRIP=$STRIP |
|
# Extract the first word of "strip", so it can be a program name with args. |
|
set dummy strip; 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_STRIP+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
if test -n "$ac_ct_STRIP"; then |
ac_ext=c |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
ac_cpp='$CPP $CPPFLAGS' |
else |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
for as_dir in $PATH |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
do |
|
IFS=$as_save_IFS |
|
test -z "$as_dir" && as_dir=. |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
ac_cv_prog_ac_ct_STRIP="strip" |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
|
|
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
cat >conftest.$ac_ext <<_ACEOF |
fi |
/* confdefs.h. */ |
fi |
_ACEOF |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
cat confdefs.h >>conftest.$ac_ext |
if test -n "$ac_ct_STRIP"; then |
cat >>conftest.$ac_ext <<_ACEOF |
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
/* end confdefs.h. */ |
echo "${ECHO_T}$ac_ct_STRIP" >&6 |
|
else |
|
echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6 |
|
fi |
|
|
|
STRIP=$ac_ct_STRIP |
int |
else |
main () |
STRIP="$ac_cv_prog_STRIP" |
{ |
fi |
|
|
|
test -z "$STRIP" && STRIP=: |
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (ac_try="$ac_link" |
|
case "(($ac_try" in |
if test -n "$ac_tool_prefix"; then |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
*) ac_try_echo=$ac_try;; |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
esac |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
(eval "$ac_link") 2>conftest.er1 |
if test "${ac_cv_prog_RANLIB+set}" = set; then |
ac_status=$? |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
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_cc_needs_belf=yes |
else |
else |
if test -n "$RANLIB"; then |
echo "$as_me: failed program was:" >&5 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
sed 's/^/| /' conftest.$ac_ext >&5 |
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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
|
|
|
lt_cv_cc_needs_belf=no |
fi |
fi |
fi |
|
RANLIB=$ac_cv_prog_RANLIB |
|
if test -n "$RANLIB"; then |
|
echo "$as_me:$LINENO: result: $RANLIB" >&5 |
|
echo "${ECHO_T}$RANLIB" >&6 |
|
else |
|
echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6 |
|
fi |
|
|
|
fi |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
if test -z "$ac_cv_prog_RANLIB"; then |
conftest$ac_exeext conftest.$ac_ext |
ac_ct_RANLIB=$RANLIB |
ac_ext=c |
# Extract the first word of "ranlib", so it can be a program name with args. |
ac_cpp='$CPP $CPPFLAGS' |
set dummy ranlib; ac_word=$2 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test -n "$ac_ct_RANLIB"; then |
|
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
ac_cv_prog_ac_ct_RANLIB="ranlib" |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
|
|
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
|
fi |
fi |
fi |
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; } |
if test -n "$ac_ct_RANLIB"; then |
if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
CFLAGS="$SAVE_CFLAGS" |
else |
|
echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6 |
|
fi |
|
|
|
RANLIB=$ac_ct_RANLIB |
|
else |
|
RANLIB="$ac_cv_prog_RANLIB" |
|
fi |
|
|
|
test -z "$RANLIB" && RANLIB=: |
|
|
|
|
|
|
|
|
|
|
|
|
|
# Determine commands to create old-style static archives. |
|
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' |
|
old_postinstall_cmds='chmod 644 $oldlib' |
|
old_postuninstall_cmds= |
|
|
|
if test -n "$RANLIB"; then |
|
case $host_os in |
|
openbsd*) |
|
old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" |
|
;; |
|
*) |
|
old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" |
|
;; |
|
esac |
|
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Check for command to grab the raw symbol name followed by C symbol from nm. |
|
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 |
|
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6 |
|
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
|
|
# These are sane defaults that work on at least a few old systems. |
|
# [They come from Ultrix. What could be older than Ultrix?!! ;)] |
|
|
|
# Character class describing NM global symbol codes. |
|
symcode='[BCDEGRST]' |
|
|
|
# Regexp to match symbols that can be accessed directly from C. |
|
sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
|
|
|
# Transform the above into a raw symbol and a C symbol. |
|
symxfrm='\1 \2\3 \3' |
|
|
|
# Define system-specific variables. |
|
case $host_os in |
|
aix*) |
|
symcode='[BCDT]' |
|
;; |
|
cygwin* | mingw* | pw32*) |
|
symcode='[ABCDGISTW]' |
|
;; |
|
hpux*) |
|
if test "$host_cpu" = ia64; then |
|
symcode='[ABCDEGRST]' |
|
fi |
fi |
;; |
;; |
irix* | nonstopux*) |
sparc*-*solaris*) |
symcode='[BCDEGRST]' |
# Find out which ABI we are using. |
;; |
echo 'int i;' > conftest.$ac_ext |
osf*) |
|
symcode='[BCDEGQRST]' |
|
;; |
|
solaris* | sysv5*) |
|
symcode='[BDRT]' |
|
;; |
|
sysv4) |
|
symcode='[DFNSTU]' |
|
;; |
|
esac |
|
|
|
# If we're using GNU nm, then use its standard symbol codes. |
|
case `$NM -V 2>&1` in |
|
*GNU* | *'with BFD'*) |
|
symcode='[ABCDGIRSTW]' ;; |
|
esac |
|
|
|
# Transform an extracted symbol line into a proper C declaration. |
|
# Some systems (esp. on ia64) link data and code symbols differently, |
|
# so use this general approach. |
|
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
|
|
|
# Transform an extracted symbol line into symbol name and symbol address |
|
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
|
|
|
# Handle CRLF in mingw tool chain |
|
opt_cr= |
|
case $build_os in |
|
mingw*) |
|
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp |
|
;; |
|
esac |
|
|
|
# Try without a prefix underscore, then with it. |
|
for ac_symprfx in "" "_"; do |
|
|
|
# Write the raw and C identifiers. |
|
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" |
|
|
|
# Check to see that the pipe works correctly. |
|
pipe_works=no |
|
|
|
rm -f conftest* |
|
cat > conftest.$ac_ext <<_LT_EOF |
|
#ifdef __cplusplus |
|
extern "C" { |
|
#endif |
|
char nm_test_var; |
|
void nm_test_func(){} |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
int main(){nm_test_var='a';nm_test_func();return(0);} |
|
_LT_EOF |
|
|
|
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=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; then |
(exit $ac_status); }; then |
# Now try to grab the symbols. |
case `/usr/bin/file conftest.o` in |
nlist=conftest.nm |
*64-bit*) |
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 |
case $lt_cv_prog_gnu_ld in |
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 |
yes*) LD="${LD-ld} -m elf64_sparc" ;; |
ac_status=$? |
*) LD="${LD-ld} -64" ;; |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
esac |
(exit $ac_status); } && test -s "$nlist"; then |
;; |
# Try sorting and uniquifying the output. |
esac |
if sort "$nlist" | uniq > "$nlist"T; then |
|
mv -f "$nlist"T "$nlist" |
|
else |
|
rm -f "$nlist"T |
|
fi |
|
|
|
# Make sure that we snagged all the symbols we need. |
|
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
|
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
|
cat <<_LT_EOF > conftest.$ac_ext |
|
#ifdef __cplusplus |
|
extern "C" { |
|
#endif |
|
|
|
_LT_EOF |
|
# Now generate the symbol file. |
|
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' |
|
|
|
cat <<_LT_EOF >> conftest.$ac_ext |
|
|
|
/* The mapping between symbol names and symbols. */ |
|
const struct { |
|
const char *name; |
|
void *address; |
|
} |
|
lt__PROGRAM__LTX_preloaded_symbols[] = |
|
{ |
|
{ "@PROGRAM@", (void *) 0 }, |
|
_LT_EOF |
|
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext |
|
cat <<\_LT_EOF >> conftest.$ac_ext |
|
{0, (void *) 0} |
|
}; |
|
|
|
/* This works around a problem in FreeBSD linker */ |
|
#ifdef FREEBSD_WORKAROUND |
|
static const void *lt_preloaded_setup() { |
|
return lt__PROGRAM__LTX_preloaded_symbols; |
|
} |
|
#endif |
|
|
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
_LT_EOF |
|
# Now try linking the two files. |
|
mv conftest.$ac_objext conftstm.$ac_objext |
|
lt_save_LIBS="$LIBS" |
|
lt_save_CFLAGS="$CFLAGS" |
|
LIBS="conftstm.$ac_objext" |
|
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
|
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); } && test -s conftest${ac_exeext}; then |
|
pipe_works=yes |
|
fi |
|
LIBS="$lt_save_LIBS" |
|
CFLAGS="$lt_save_CFLAGS" |
|
else |
|
echo "cannot find nm_test_func in $nlist" >&5 |
|
fi |
|
else |
|
echo "cannot find nm_test_var in $nlist" >&5 |
|
fi |
|
else |
|
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 |
|
fi |
|
else |
|
echo "$progname: failed program was:" >&5 |
|
cat conftest.$ac_ext >&5 |
|
fi |
fi |
rm -f conftest* conftst* |
rm -rf conftest* |
|
;; |
|
|
# Do not use the global_symbol_pipe unless it works. |
|
if test "$pipe_works" = yes; then |
|
break |
|
else |
|
lt_cv_sys_global_symbol_pipe= |
|
fi |
|
done |
|
|
|
fi |
esac |
|
|
if test -z "$lt_cv_sys_global_symbol_pipe"; then |
need_locks="$enable_libtool_lock" |
lt_cv_sys_global_symbol_to_cdecl= |
|
fi |
|
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
|
echo "$as_me:$LINENO: result: failed" >&5 |
|
echo "${ECHO_T}failed" >&6 |
|
else |
|
echo "$as_me:$LINENO: result: ok" >&5 |
|
echo "${ECHO_T}ok" >&6 |
|
fi |
|
|
|
|
|
|
|
|
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# If no C compiler was specified, use CC. |
|
LTCC=${LTCC-"$CC"} |
|
|
|
# If no C compiler flags were specified, use CFLAGS. |
|
LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
|
|
|
# Allow CC to be a program name with arguments. |
|
compiler=$CC |
|
|
|
|
|
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|
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 |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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_header_stdc=yes |
ac_cv_header_stdc=yes |
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 |
|
|
ac_cv_header_stdc=no |
ac_cv_header_stdc=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
|
|
rm -f core conftest.err 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 |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
#include <ctype.h> |
#include <ctype.h> |
|
#include <stdlib.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)) |
|
|
for (i = 0; i < 256; i++) |
for (i = 0; i < 256; i++) |
if (XOR (islower (i), ISLOWER (i)) |
if (XOR (islower (i), ISLOWER (i)) |
|| toupper (i) != TOUPPER (i)) |
|| toupper (i) != TOUPPER (i)) |
exit(2); |
return 2; |
exit (0); |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest$ac_exeext |
rm -f conftest$ac_exeext |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>&5 |
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>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $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:$LINENO: \"$ac_try\"") >&5 |
{ (case "(($ac_try" in |
(eval $ac_try) 2>&5 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
(eval "$ac_try") 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
|
|
( exit $ac_status ) |
( exit $ac_status ) |
ac_cv_header_stdc=no |
ac_cv_header_stdc=no |
fi |
fi |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
|
|
|
|
fi |
fi |
fi |
fi |
echo "$as_me:$LINENO: 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 <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
|
|
inttypes.h stdint.h unistd.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:$LINENO: 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 { as_var=$as_ac_Header; eval "test \"\${$as_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 |
|
|
#include <$ac_header> |
#include <$ac_header> |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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" |
eval "$as_ac_Header=yes" |
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_Header=no" |
eval "$as_ac_Header=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_Header'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
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 |
|
|
for ac_header in dlfcn.h |
for ac_header in dlfcn.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:$LINENO: checking for $ac_header" >&5 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
fi |
|
ac_res=`eval echo '${'$as_ac_Header'}'` |
|
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
# 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 |
/* 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. */ |
$ac_includes_default |
$ac_includes_default |
|
|
#include <$ac_header> |
#include <$ac_header> |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 2>&5 |
ac_header_compiler=yes |
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 |
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_Header=no" |
ac_header_compiler=no |
fi |
fi |
rm -f conftest.err 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 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
echo "${ECHO_T}$ac_header_compiler" >&6; } |
|
|
done |
# Is the header present? |
|
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
if test "x$enable_dlopen" != xyes; then |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
enable_dlopen=unknown |
|
enable_dlopen_self=unknown |
|
enable_dlopen_self_static=unknown |
|
else |
|
lt_cv_dlopen=no |
|
lt_cv_dlopen_libs= |
|
|
|
case $host_os in |
|
beos*) |
|
lt_cv_dlopen="load_add_on" |
|
lt_cv_dlopen_libs= |
|
lt_cv_dlopen_self=yes |
|
;; |
|
|
|
mingw* | pw32*) |
|
lt_cv_dlopen="LoadLibrary" |
|
lt_cv_dlopen_libs= |
|
;; |
|
|
|
cygwin*) |
|
lt_cv_dlopen="dlopen" |
|
lt_cv_dlopen_libs= |
|
;; |
|
|
|
darwin*) |
|
# if libdl is installed we need to link against it |
|
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
|
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
|
if test "${ac_cv_lib_dl_dlopen+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 |
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. */ |
|
#include <$ac_header> |
/* 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 dlopen (); |
|
int |
|
main () |
|
{ |
|
dlopen (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
case "(($ac_try" in |
(eval $ac_link) 2>conftest.er1 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } >/dev/null && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
}; then |
(eval $ac_try) 2>&5 |
ac_header_preproc=yes |
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_dl_dlopen=yes |
|
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 |
|
|
ac_cv_lib_dl_dlopen=no |
ac_header_preproc=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
|
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
|
if test $ac_cv_lib_dl_dlopen = yes; then |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
|
else |
|
|
|
lt_cv_dlopen="dyld" |
rm -f conftest.err conftest.$ac_ext |
lt_cv_dlopen_libs= |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
lt_cv_dlopen_self=yes |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
|
|
fi |
# So? What about this header? |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag 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 compiler's result" >&5 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
ac_header_preproc=yes |
|
;; |
|
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: see the Autoconf documentation" >&5 |
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&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;} |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
;; |
;; |
|
esac |
*) |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
echo "$as_me:$LINENO: checking for shl_load" >&5 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
if test "${ac_cv_func_shl_load+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
cat >conftest.$ac_ext <<_ACEOF |
eval "$as_ac_Header=\$ac_header_preproc" |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
#define shl_load innocuous_shl_load |
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
which can conflict with char shl_load (); 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 shl_load |
|
|
|
/* 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 shl_load (); |
|
/* 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_shl_load) || defined (__stub___shl_load) |
|
choke me |
|
#else |
|
char (*f) () = shl_load; |
|
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != shl_load; |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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_func_shl_load=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_func_shl_load=no |
|
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
ac_res=`eval echo '${'$as_ac_Header'}'` |
conftest$ac_exeext conftest.$ac_ext |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
fi |
echo "${ECHO_T}$ac_res" >&6; } |
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
|
echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
|
if test $ac_cv_func_shl_load = yes; then |
|
lt_cv_dlopen="shl_load" |
|
else |
|
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
|
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 |
|
if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-ldld $LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* 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 shl_load (); |
|
int |
|
main () |
|
{ |
|
shl_load (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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_dld_shl_load=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_dld_shl_load=no |
|
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
conftest$ac_exeext conftest.$ac_ext |
cat >>confdefs.h <<_ACEOF |
LIBS=$ac_check_lib_save_LIBS |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
|
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 |
|
if test $ac_cv_lib_dld_shl_load = yes; then |
|
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" |
|
else |
|
echo "$as_me:$LINENO: checking for dlopen" >&5 |
|
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 |
|
if test "${ac_cv_func_dlopen+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
_ACEOF |
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
#define dlopen innocuous_dlopen |
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
which can conflict with char dlopen (); 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 dlopen |
|
|
|
/* 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 dlopen (); |
|
/* 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_dlopen) || defined (__stub___dlopen) |
|
choke me |
|
#else |
|
char (*f) () = dlopen; |
|
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != dlopen; |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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_func_dlopen=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_func_dlopen=no |
|
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
|
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
|
if test $ac_cv_func_dlopen = yes; then |
|
lt_cv_dlopen="dlopen" |
|
else |
|
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
|
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
|
if test "${ac_cv_lib_dl_dlopen+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. */ |
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
done |
#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 dlopen (); |
|
int |
|
main () |
|
{ |
|
dlopen (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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_dl_dlopen=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_dl_dlopen=no |
|
fi |
|
rm -f conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
|
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
|
if test $ac_cv_lib_dl_dlopen = yes; then |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
|
else |
|
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 |
|
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 |
|
if test "${ac_cv_lib_svld_dlopen+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lsvld $LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* 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. */ |
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! |
#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 dlopen (); |
|
int |
|
main () |
|
{ |
|
dlopen (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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_svld_dlopen=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_svld_dlopen=no |
# find the maximum length of command line arguments |
fi |
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 |
rm -f conftest.err conftest.$ac_objext \ |
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } |
conftest$ac_exeext conftest.$ac_ext |
if test "${lt_cv_sys_max_cmd_len+set}" = set; then |
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
|
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 |
|
if test $ac_cv_lib_svld_dlopen = yes; then |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
|
else |
|
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 |
|
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 |
|
if test "${ac_cv_lib_dld_dld_link+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 |
i=0 |
LIBS="-ldld $LIBS" |
teststring="ABCD" |
cat >conftest.$ac_ext <<_ACEOF |
|
/* 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. */ |
case $build_os in |
#ifdef __cplusplus |
msdosdjgpp*) |
extern "C" |
# On DJGPP, this test can blow up pretty badly due to problems in libc |
#endif |
# (any single argument exceeding 2000 bytes causes a buffer overrun |
/* We use char because int might match the return type of a gcc2 |
# during glob expansion). Even if it were fixed, the result of this |
builtin and then its argument prototype would still apply. */ |
# check would be larger than it should be. |
char dld_link (); |
lt_cv_sys_max_cmd_len=12288; # 12K is about right |
int |
;; |
main () |
|
{ |
|
dld_link (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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_dld_dld_link=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_dld_dld_link=no |
gnu*) |
fi |
# Under GNU Hurd, this test is not required because there is |
rm -f conftest.err conftest.$ac_objext \ |
# no limit to the length of command line arguments. |
conftest$ac_exeext conftest.$ac_ext |
# Libtool will interpret -1 as no limit whatsoever |
LIBS=$ac_check_lib_save_LIBS |
lt_cv_sys_max_cmd_len=-1; |
fi |
;; |
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
|
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 |
|
if test $ac_cv_lib_dld_dld_link = yes; then |
|
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" |
|
fi |
|
|
|
|
cygwin* | mingw*) |
|
# On Win9x/ME, this test blows up -- it succeeds, but takes |
|
# about 5 minutes as the teststring grows exponentially. |
|
# Worse, since 9x/ME are not pre-emptively multitasking, |
|
# you end up with a "frozen" computer, even though with patience |
|
# the test eventually succeeds (with a max line length of 256k). |
|
# Instead, let's just punt: use the minimum linelength reported by |
|
# all of the supported platforms: 8192 (on NT/2K/XP). |
|
lt_cv_sys_max_cmd_len=8192; |
|
;; |
|
|
fi |
amigaos*) |
|
# On AmigaOS with pdksh, this test takes hours, literally. |
|
# So we just punt and use a minimum line length of 8192. |
|
lt_cv_sys_max_cmd_len=8192; |
|
;; |
|
|
|
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) |
|
# This has been around since 386BSD, at least. Likely further. |
|
if test -x /sbin/sysctl; then |
|
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
|
elif test -x /usr/sbin/sysctl; then |
|
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
|
else |
|
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs |
|
fi |
|
# And add a safety zone |
|
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
|
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
|
;; |
|
|
fi |
interix*) |
|
# We know the value 262144 and hardcode it with a safety zone (like BSD) |
|
lt_cv_sys_max_cmd_len=196608 |
|
;; |
|
|
|
osf*) |
|
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
|
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
|
# nice to cause kernel panics so lets avoid the loop below. |
|
# First set a reasonable default. |
|
lt_cv_sys_max_cmd_len=16384 |
|
# |
|
if test -x /sbin/sysconfig; then |
|
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in |
|
*1*) lt_cv_sys_max_cmd_len=-1 ;; |
|
esac |
|
fi |
|
;; |
|
sco3.2v5*) |
|
lt_cv_sys_max_cmd_len=102400 |
|
;; |
|
sysv5* | sco5v6* | sysv4.2uw2*) |
|
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
|
if test -n "$kargmax"; then |
|
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` |
|
else |
|
lt_cv_sys_max_cmd_len=32768 |
|
fi |
|
;; |
|
*) |
|
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` |
|
if test -n "$lt_cv_sys_max_cmd_len"; then |
|
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
|
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
|
else |
|
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
|
while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ |
|
= "XX$teststring") >/dev/null 2>&1 && |
|
new_result=`expr "X$teststring" : ".*" 2>&1` && |
|
lt_cv_sys_max_cmd_len=$new_result && |
|
test $i != 17 # 1/2 MB should be enough |
|
do |
|
i=`expr $i + 1` |
|
teststring=$teststring$teststring |
|
done |
|
teststring= |
|
# Add a significant safety factor because C++ compilers can tack on massive |
|
# amounts of additional arguments before passing them to the linker. |
|
# It appears as though 1/2 is a usable value. |
|
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` |
|
fi |
|
;; |
|
esac |
|
|
fi |
fi |
|
|
|
if test -n $lt_cv_sys_max_cmd_len ; then |
|
{ echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 |
|
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; } |
|
else |
|
{ echo "$as_me:$LINENO: result: none" >&5 |
|
echo "${ECHO_T}none" >&6; } |
fi |
fi |
|
|
|
|
fi |
|
|
|
;; |
|
esac |
|
|
|
if test "x$lt_cv_dlopen" != xno; then |
|
enable_dlopen=yes |
|
else |
|
enable_dlopen=no |
|
fi |
|
|
|
case $lt_cv_dlopen in |
# Check for command to grab the raw symbol name followed by C symbol from nm. |
dlopen) |
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 |
save_CPPFLAGS="$CPPFLAGS" |
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; } |
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then |
|
|
save_LDFLAGS="$LDFLAGS" |
|
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
|
|
|
save_LIBS="$LIBS" |
|
LIBS="$lt_cv_dlopen_libs $LIBS" |
|
|
|
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 |
|
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 |
|
if test "${lt_cv_dlopen_self+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
if test "$cross_compiling" = yes; then : |
|
lt_cv_dlopen_self=cross |
|
else |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
lt_status=$lt_dlunknown |
|
cat > conftest.$ac_ext <<_LT_EOF |
|
#line 7090 "configure" |
|
#include "confdefs.h" |
|
|
|
#if HAVE_DLFCN_H |
# These are sane defaults that work on at least a few old systems. |
#include <dlfcn.h> |
# [They come from Ultrix. What could be older than Ultrix?!! ;)] |
#endif |
|
|
|
#include <stdio.h> |
# Character class describing NM global symbol codes. |
|
symcode='[BCDEGRST]' |
|
|
#ifdef RTLD_GLOBAL |
# Regexp to match symbols that can be accessed directly from C. |
# define LT_DLGLOBAL RTLD_GLOBAL |
sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
#else |
|
# ifdef DL_GLOBAL |
|
# define LT_DLGLOBAL DL_GLOBAL |
|
# else |
|
# define LT_DLGLOBAL 0 |
|
# endif |
|
#endif |
|
|
|
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
# Transform an extracted symbol line into a proper C declaration |
find out it does not work in some platform. */ |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" |
#ifndef LT_DLLAZY_OR_NOW |
|
# ifdef RTLD_LAZY |
|
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
# else |
|
# ifdef DL_LAZY |
|
# define LT_DLLAZY_OR_NOW DL_LAZY |
|
# else |
|
# ifdef RTLD_NOW |
|
# define LT_DLLAZY_OR_NOW RTLD_NOW |
|
# else |
|
# ifdef DL_NOW |
|
# define LT_DLLAZY_OR_NOW DL_NOW |
|
# else |
|
# define LT_DLLAZY_OR_NOW 0 |
|
# endif |
|
# endif |
|
# endif |
|
# endif |
|
#endif |
|
|
|
#ifdef __cplusplus |
# Transform an extracted symbol line into symbol name and symbol address |
extern "C" void exit (int); |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" |
#endif |
|
|
|
void fnord() { int i=42;} |
# Define system-specific variables. |
int main () |
case $host_os in |
{ |
aix*) |
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
symcode='[BCDT]' |
int status = $lt_dlunknown; |
;; |
|
cygwin* | mingw* | pw32*) |
if (self) |
symcode='[ABCDGISTW]' |
{ |
;; |
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
hpux*) # Its linker distinguishes data from code symbols |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
if test "$host_cpu" = ia64; then |
/* dlclose (self); */ |
symcode='[ABCDEGRST]' |
} |
|
|
|
exit (status); |
|
} |
|
_LT_EOF |
|
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); } && test -s conftest${ac_exeext} 2>/dev/null; then |
|
(./conftest; exit; ) 2>/dev/null |
|
lt_status=$? |
|
case x$lt_status in |
|
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
|
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
|
x$lt_unknown|x*) lt_cv_dlopen_self=no ;; |
|
esac |
|
else : |
|
# compilation failed |
|
lt_cv_dlopen_self=no |
|
fi |
fi |
fi |
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
rm -fr conftest* |
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" |
|
;; |
|
linux* | k*bsd*-gnu) |
|
if test "$host_cpu" = ia64; then |
|
symcode='[ABCDGIRSTW]' |
|
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
|
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" |
|
fi |
|
;; |
|
irix* | nonstopux*) |
|
symcode='[BCDEGRST]' |
|
;; |
|
osf*) |
|
symcode='[BCDEGQRST]' |
|
;; |
|
solaris*) |
|
symcode='[BDRT]' |
|
;; |
|
sco3.2v5*) |
|
symcode='[DT]' |
|
;; |
|
sysv4.2uw2*) |
|
symcode='[DT]' |
|
;; |
|
sysv5* | sco5v6* | unixware* | OpenUNIX*) |
|
symcode='[ABDT]' |
|
;; |
|
sysv4) |
|
symcode='[DFNSTU]' |
|
;; |
|
esac |
|
|
|
# Handle CRLF in mingw tool chain |
|
opt_cr= |
|
case $build_os in |
|
mingw*) |
|
opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp |
|
;; |
|
esac |
|
|
fi |
# If we're using GNU nm, then use its standard symbol codes. |
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 |
case `$NM -V 2>&1` in |
echo "${ECHO_T}$lt_cv_dlopen_self" >&6 |
*GNU* | *'with BFD'*) |
|
symcode='[ABCDGIRSTW]' ;; |
|
esac |
|
|
if test "x$lt_cv_dlopen_self" = xyes; then |
# Try without a prefix undercore, then with it. |
LDFLAGS="$LDFLAGS $link_static_flag" |
for ac_symprfx in "" "_"; do |
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 |
|
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 |
|
if test "${lt_cv_dlopen_self_static+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test "$cross_compiling" = yes; then : |
|
lt_cv_dlopen_self_static=cross |
|
else |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
lt_status=$lt_dlunknown |
|
cat > conftest.$ac_ext <<_LT_EOF |
|
#line 7188 "configure" |
|
#include "confdefs.h" |
|
|
|
#if HAVE_DLFCN_H |
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
#include <dlfcn.h> |
symxfrm="\\1 $ac_symprfx\\2 \\2" |
#endif |
|
|
|
#include <stdio.h> |
# Write the raw and C identifiers. |
|
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
|
|
#ifdef RTLD_GLOBAL |
# Check to see that the pipe works correctly. |
# define LT_DLGLOBAL RTLD_GLOBAL |
pipe_works=no |
#else |
|
# ifdef DL_GLOBAL |
|
# define LT_DLGLOBAL DL_GLOBAL |
|
# else |
|
# define LT_DLGLOBAL 0 |
|
# endif |
|
#endif |
|
|
|
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
rm -f conftest* |
find out it does not work in some platform. */ |
cat > conftest.$ac_ext <<EOF |
#ifndef LT_DLLAZY_OR_NOW |
#ifdef __cplusplus |
# ifdef RTLD_LAZY |
extern "C" { |
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
# else |
|
# ifdef DL_LAZY |
|
# define LT_DLLAZY_OR_NOW DL_LAZY |
|
# else |
|
# ifdef RTLD_NOW |
|
# define LT_DLLAZY_OR_NOW RTLD_NOW |
|
# else |
|
# ifdef DL_NOW |
|
# define LT_DLLAZY_OR_NOW DL_NOW |
|
# else |
|
# define LT_DLLAZY_OR_NOW 0 |
|
# endif |
|
# endif |
|
# endif |
|
# endif |
|
#endif |
#endif |
|
char nm_test_var; |
|
void nm_test_func(){} |
#ifdef __cplusplus |
#ifdef __cplusplus |
extern "C" void exit (int); |
} |
#endif |
#endif |
|
int main(){nm_test_var='a';nm_test_func();return(0);} |
|
EOF |
|
|
void fnord() { int i=42;} |
|
int main () |
|
{ |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
int status = $lt_dlunknown; |
|
|
|
if (self) |
|
{ |
|
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
/* dlclose (self); */ |
|
} |
|
|
|
exit (status); |
|
} |
|
_LT_EOF |
|
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); } && test -s conftest${ac_exeext} 2>/dev/null; then |
|
(./conftest; exit; ) 2>/dev/null |
|
lt_status=$? |
|
case x$lt_status in |
|
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
|
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
|
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; |
|
esac |
|
else : |
|
# compilation failed |
|
lt_cv_dlopen_self_static=no |
|
fi |
|
fi |
|
rm -fr conftest* |
|
|
|
|
|
fi |
|
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 |
|
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 |
|
fi |
|
|
|
CPPFLAGS="$save_CPPFLAGS" |
|
LDFLAGS="$save_LDFLAGS" |
|
LIBS="$save_LIBS" |
|
;; |
|
esac |
|
|
|
case $lt_cv_dlopen_self in |
|
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
|
*) enable_dlopen_self=unknown ;; |
|
esac |
|
|
|
case $lt_cv_dlopen_self_static in |
|
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
|
*) enable_dlopen_self_static=unknown ;; |
|
esac |
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Check whether --enable-libtool-lock or --disable-libtool-lock was given. |
|
if test "${enable_libtool_lock+set}" = set; then |
|
enableval="$enable_libtool_lock" |
|
|
|
fi; |
|
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
|
|
|
# Some flags need to be propagated to the compiler or linker for good |
|
# libtool support. |
|
case $host in |
|
ia64-*-hpux*) |
|
# Find out which ABI we are using. |
|
$ECHO 'int i;' > 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=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; then |
(exit $ac_status); }; then |
case `/usr/bin/file conftest.$ac_objext` in |
# Now try to grab the symbols. |
*ELF-32*) |
nlist=conftest.nm |
HPUX_IA64_MODE="32" |
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 |
;; |
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 |
*ELF-64*) |
|
HPUX_IA64_MODE="64" |
|
;; |
|
esac |
|
fi |
|
rm -rf conftest* |
|
;; |
|
*-*-irix6*) |
|
# Find out which ABI we are using. |
|
$ECHO '#line 7337 "configure"' > conftest.$ac_ext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
(eval $ac_compile) 2>&5 |
|
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; then |
(exit $ac_status); } && test -s "$nlist"; then |
if test "$lt_cv_prog_gnu_ld" = yes; then |
# Try sorting and uniquifying the output. |
case `/usr/bin/file conftest.$ac_objext` in |
if sort "$nlist" | uniq > "$nlist"T; then |
*32-bit*) |
mv -f "$nlist"T "$nlist" |
LD="${LD-ld} -melf32bsmip" |
else |
;; |
rm -f "$nlist"T |
*N32*) |
fi |
LD="${LD-ld} -melf32bmipn32" |
|
;; |
|
*64-bit*) |
|
LD="${LD-ld} -melf64bmip" |
|
;; |
|
esac |
|
else |
|
case `/usr/bin/file conftest.$ac_objext` in |
|
*32-bit*) |
|
LD="${LD-ld} -32" |
|
;; |
|
*N32*) |
|
LD="${LD-ld} -n32" |
|
;; |
|
*64-bit*) |
|
LD="${LD-ld} -64" |
|
;; |
|
esac |
|
fi |
|
fi |
|
rm -rf conftest* |
|
;; |
|
|
|
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
# Make sure that we snagged all the symbols we need. |
# Find out which ABI we are using. |
if grep ' nm_test_var$' "$nlist" >/dev/null; then |
$ECHO 'int i;' > conftest.$ac_ext |
if grep ' nm_test_func$' "$nlist" >/dev/null; then |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
cat <<EOF > conftest.$ac_ext |
(eval $ac_compile) 2>&5 |
#ifdef __cplusplus |
ac_status=$? |
extern "C" { |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
#endif |
(exit $ac_status); }; then |
|
case "`/usr/bin/file conftest.o`" in |
|
*32-bit*) |
|
case $host in |
|
x86_64-*linux*) |
|
LD="${LD-ld} -m elf_i386" |
|
;; |
|
ppc64-*linux*|powerpc64-*linux*) |
|
LD="${LD-ld} -m elf32ppclinux" |
|
;; |
|
s390x-*linux*) |
|
LD="${LD-ld} -m elf_s390" |
|
;; |
|
sparc64-*linux*) |
|
LD="${LD-ld} -m elf32_sparc" |
|
;; |
|
esac |
|
;; |
|
*64-bit*) |
|
case $host in |
|
x86_64-*linux*) |
|
LD="${LD-ld} -m elf_x86_64" |
|
;; |
|
ppc*-*linux*|powerpc*-*linux*) |
|
LD="${LD-ld} -m elf64ppc" |
|
;; |
|
s390*-*linux*|s390*-*tpf*) |
|
LD="${LD-ld} -m elf64_s390" |
|
;; |
|
sparc*-*linux*) |
|
LD="${LD-ld} -m elf64_sparc" |
|
;; |
|
esac |
|
;; |
|
esac |
|
fi |
|
rm -rf conftest* |
|
;; |
|
|
|
*-*-sco3.2v5*) |
EOF |
# On SCO OpenServer 5, we need -belf to get full-featured binaries. |
# Now generate the symbol file. |
SAVE_CFLAGS="$CFLAGS" |
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' |
CFLAGS="$CFLAGS -belf" |
|
echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 |
|
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 |
|
if test "${lt_cv_cc_needs_belf+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
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_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
cat >conftest.$ac_ext <<_ACEOF |
cat <<EOF >> conftest.$ac_ext |
/* confdefs.h. */ |
#if defined (__STDC__) && __STDC__ |
_ACEOF |
# define lt_ptr_t void * |
cat confdefs.h >>conftest.$ac_ext |
#else |
cat >>conftest.$ac_ext <<_ACEOF |
# define lt_ptr_t char * |
/* end confdefs.h. */ |
# define const |
|
#endif |
|
|
int |
/* The mapping between symbol names and symbols. */ |
main () |
const struct { |
|
const char *name; |
|
lt_ptr_t address; |
|
} |
|
lt_preloaded_symbols[] = |
{ |
{ |
|
EOF |
|
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext |
|
cat <<\EOF >> conftest.$ac_ext |
|
{0, (lt_ptr_t) 0} |
|
}; |
|
|
; |
#ifdef __cplusplus |
return 0; |
|
} |
} |
_ACEOF |
#endif |
rm -f conftest.$ac_objext conftest$ac_exeext |
EOF |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
# Now try linking the two files. |
(eval $ac_link) 2>conftest.er1 |
mv conftest.$ac_objext conftstm.$ac_objext |
|
lt_save_LIBS="$LIBS" |
|
lt_save_CFLAGS="$CFLAGS" |
|
LIBS="conftstm.$ac_objext" |
|
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
(eval $ac_link) 2>&5 |
ac_status=$? |
ac_status=$? |
grep -v '^ *+' conftest.er1 >conftest.err |
|
rm -f conftest.er1 |
|
cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && test -s conftest${ac_exeext}; then |
{ ac_try='test -z "$ac_c_werror_flag" |
pipe_works=yes |
|| test ! -s conftest.err' |
fi |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
LIBS="$lt_save_LIBS" |
(eval $ac_try) 2>&5 |
CFLAGS="$lt_save_CFLAGS" |
ac_status=$? |
else |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "cannot find nm_test_func in $nlist" >&5 |
(exit $ac_status); }; } && |
fi |
{ ac_try='test -s conftest$ac_exeext' |
else |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
echo "cannot find nm_test_var in $nlist" >&5 |
(eval $ac_try) 2>&5 |
fi |
ac_status=$? |
else |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 |
(exit $ac_status); }; }; then |
fi |
lt_cv_cc_needs_belf=yes |
else |
else |
echo "$progname: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
cat conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
fi |
|
rm -f conftest* conftst* |
|
|
lt_cv_cc_needs_belf=no |
# Do not use the global_symbol_pipe unless it works. |
fi |
if test "$pipe_works" = yes; then |
rm -f conftest.err conftest.$ac_objext \ |
break |
conftest$ac_exeext conftest.$ac_ext |
else |
ac_ext=c |
lt_cv_sys_global_symbol_pipe= |
ac_cpp='$CPP $CPPFLAGS' |
fi |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
done |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
fi |
fi |
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 |
|
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 |
|
if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
|
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
|
CFLAGS="$SAVE_CFLAGS" |
|
fi |
|
;; |
|
esac |
|
|
|
need_locks="$enable_libtool_lock" |
if test -z "$lt_cv_sys_global_symbol_pipe"; then |
|
lt_cv_sys_global_symbol_to_cdecl= |
|
fi |
# This can be used to rebuild libtool when needed |
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
LIBTOOL_DEPS="$ltmain" |
{ echo "$as_me:$LINENO: result: failed" >&5 |
|
echo "${ECHO_T}failed" >&6; } |
# Always use our own libtool. |
|
LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
|
|
|
# Set options |
|
|
|
# Check whether --enable-static or --disable-static was given. |
|
if test "${enable_static+set}" = set; then |
|
enableval="$enable_static" |
|
p=${PACKAGE-default} |
|
case $enableval in |
|
yes) enable_static=yes ;; |
|
no) enable_static=no ;; |
|
*) |
|
enable_static=no |
|
# Look at the argument we got. We use all the common list separators. |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
for pkg in $enableval; do |
|
IFS="$lt_save_ifs" |
|
if test "X$pkg" = "X$p"; then |
|
enable_static=yes |
|
fi |
|
done |
|
IFS="$lt_save_ifs" |
|
;; |
|
esac |
|
else |
else |
enable_static=no |
{ echo "$as_me:$LINENO: result: ok" >&5 |
fi; |
echo "${ECHO_T}ok" >&6; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
enable_dlopen=no |
|
|
|
enable_win32_dll=no |
|
|
|
# Check whether --enable-shared or --disable-shared was given. |
|
if test "${enable_shared+set}" = set; then |
|
enableval="$enable_shared" |
|
p=${PACKAGE-default} |
|
case $enableval in |
|
yes) enable_shared=yes ;; |
|
no) enable_shared=no ;; |
|
*) |
|
enable_shared=no |
|
# Look at the argument we got. We use all the common list separators. |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
for pkg in $enableval; do |
|
IFS="$lt_save_ifs" |
|
if test "X$pkg" = "X$p"; then |
|
enable_shared=yes |
|
fi |
|
done |
|
IFS="$lt_save_ifs" |
|
;; |
|
esac |
|
else |
|
enable_shared=yes |
|
fi; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Check whether --with-pic or --without-pic was given. |
|
if test "${with_pic+set}" = set; then |
|
withval="$with_pic" |
|
pic_mode="$withval" |
|
else |
|
pic_mode=default |
|
fi; |
|
|
|
test -z "$pic_mode" && pic_mode=default |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Check whether --enable-fast-install or --disable-fast-install was given. |
|
if test "${enable_fast_install+set}" = set; then |
|
enableval="$enable_fast_install" |
|
p=${PACKAGE-default} |
|
case $enableval in |
|
yes) enable_fast_install=yes ;; |
|
no) enable_fast_install=no ;; |
|
*) |
|
enable_fast_install=no |
|
# Look at the argument we got. We use all the common list separators. |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
for pkg in $enableval; do |
|
IFS="$lt_save_ifs" |
|
if test "X$pkg" = "X$p"; then |
|
enable_fast_install=yes |
|
fi |
|
done |
|
IFS="$lt_save_ifs" |
|
;; |
|
esac |
|
else |
|
enable_fast_install=yes |
|
fi; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
test -z "$LN_S" && LN_S="ln -s" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test -n "${ZSH_VERSION+set}" ; then |
|
setopt NO_GLOB_SUBST |
|
fi |
fi |
|
|
echo "$as_me:$LINENO: checking for objdir" >&5 |
{ echo "$as_me:$LINENO: checking for objdir" >&5 |
echo $ECHO_N "checking for objdir... $ECHO_C" >&6 |
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; } |
if test "${lt_cv_objdir+set}" = set; then |
if test "${lt_cv_objdir+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
|
|
fi |
fi |
rmdir .libs 2>/dev/null |
rmdir .libs 2>/dev/null |
fi |
fi |
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 |
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 |
echo "${ECHO_T}$lt_cv_objdir" >&6 |
echo "${ECHO_T}$lt_cv_objdir" >&6; } |
objdir=$lt_cv_objdir |
objdir=$lt_cv_objdir |
|
|
|
|
|
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define LT_OBJDIR "$lt_cv_objdir/" |
|
_ACEOF |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
case $host_os in |
case $host_os in |
aix3*) |
aix3*) |
# AIX sometimes has problems with the GCC collect2 program. For some |
# AIX sometimes has problems with the GCC collect2 program. For some |
|
|
|
|
# Sed substitution that helps us do robust quoting. It backslashifies |
# Sed substitution that helps us do robust quoting. It backslashifies |
# metacharacters that are still active within double-quoted strings. |
# metacharacters that are still active within double-quoted strings. |
Xsed='sed -e s/^X//' |
Xsed='sed -e 1s/^X//' |
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' |
|
|
# Same as above, but do not quote variable references. |
# Same as above, but do not quote variable references. |
double_quote_subst='s/\(["`\\]\)/\\\1/g' |
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' |
|
|
# Sed substitution to delay expansion of an escaped shell variable in a |
# Sed substitution to delay expansion of an escaped shell variable in a |
# double_quote_subst'ed string. |
# double_quote_subst'ed string. |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
|
|
# Sed substitution to delay expansion of an escaped single quote. |
|
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
|
|
|
# Sed substitution to avoid accidental globbing in evaled expressions |
# Sed substitution to avoid accidental globbing in evaled expressions |
no_glob_subst='s/\*/\\\*/g' |
no_glob_subst='s/\*/\\\*/g' |
|
|
# Constants: |
# Constants: |
RM="rm -f" |
rm="rm -f" |
|
|
# Global variables: |
# Global variables: |
default_ofile=libtool |
default_ofile=libtool |
ofile="$default_ofile" |
|
can_build_shared=yes |
can_build_shared=yes |
|
|
# All known linkers require a `.a' archive for static linking (except M$VC, |
# All known linkers require a `.a' archive for static linking (except MSVC, |
# which needs '.lib'). |
# which needs '.lib'). |
libext=a |
libext=a |
|
ltmain="$ac_aux_dir/ltmain.sh" |
|
ofile="$default_ofile" |
with_gnu_ld="$lt_cv_prog_gnu_ld" |
with_gnu_ld="$lt_cv_prog_gnu_ld" |
|
|
|
if test -n "$ac_tool_prefix"; then |
|
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
|
set dummy ${ac_tool_prefix}ar; 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_AR+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test -n "$AR"; then |
|
ac_cv_prog_AR="$AR" # 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_AR="${ac_tool_prefix}ar" |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
fi |
|
fi |
|
AR=$ac_cv_prog_AR |
|
if test -n "$AR"; then |
|
{ echo "$as_me:$LINENO: result: $AR" >&5 |
|
echo "${ECHO_T}$AR" >&6; } |
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
|
|
fi |
|
if test -z "$ac_cv_prog_AR"; then |
|
ac_ct_AR=$AR |
|
# Extract the first word of "ar", so it can be a program name with args. |
|
set dummy ar; 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_AR+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test -n "$ac_ct_AR"; then |
|
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_AR="ar" |
|
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_AR=$ac_cv_prog_ac_ct_AR |
|
if test -n "$ac_ct_AR"; then |
|
{ echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 |
|
echo "${ECHO_T}$ac_ct_AR" >&6; } |
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
if test "x$ac_ct_AR" = x; then |
|
AR="false" |
|
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 |
|
AR=$ac_ct_AR |
|
fi |
|
else |
|
AR="$ac_cv_prog_AR" |
|
fi |
|
|
|
if test -n "$ac_tool_prefix"; then |
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
|
set dummy ${ac_tool_prefix}ranlib; 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_RANLIB+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test -n "$RANLIB"; then |
|
ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ac_tool_prefix}ranlib" |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
fi |
|
fi |
|
RANLIB=$ac_cv_prog_RANLIB |
|
if test -n "$RANLIB"; then |
|
{ echo "$as_me:$LINENO: result: $RANLIB" >&5 |
|
echo "${ECHO_T}$RANLIB" >&6; } |
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
|
|
fi |
|
if test -z "$ac_cv_prog_RANLIB"; then |
|
ac_ct_RANLIB=$RANLIB |
|
# Extract the first word of "ranlib", so it can be a program name with args. |
|
set dummy ranlib; 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_RANLIB+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test -n "$ac_ct_RANLIB"; then |
|
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_RANLIB="ranlib" |
|
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_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
|
if test -n "$ac_ct_RANLIB"; then |
|
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
|
echo "${ECHO_T}$ac_ct_RANLIB" >&6; } |
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
if test "x$ac_ct_RANLIB" = x; then |
|
RANLIB=":" |
|
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 |
|
RANLIB=$ac_ct_RANLIB |
|
fi |
|
else |
|
RANLIB="$ac_cv_prog_RANLIB" |
|
fi |
|
|
|
if test -n "$ac_tool_prefix"; then |
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
set dummy ${ac_tool_prefix}strip; 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_STRIP+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test -n "$STRIP"; then |
|
ac_cv_prog_STRIP="$STRIP" # 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_STRIP="${ac_tool_prefix}strip" |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
fi |
|
fi |
|
STRIP=$ac_cv_prog_STRIP |
|
if test -n "$STRIP"; then |
|
{ echo "$as_me:$LINENO: result: $STRIP" >&5 |
|
echo "${ECHO_T}$STRIP" >&6; } |
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
|
|
fi |
|
if test -z "$ac_cv_prog_STRIP"; then |
|
ac_ct_STRIP=$STRIP |
|
# Extract the first word of "strip", so it can be a program name with args. |
|
set dummy strip; 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_STRIP+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test -n "$ac_ct_STRIP"; then |
|
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # 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_STRIP="strip" |
|
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_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
if test -n "$ac_ct_STRIP"; then |
|
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
|
echo "${ECHO_T}$ac_ct_STRIP" >&6; } |
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
|
|
if test "x$ac_ct_STRIP" = x; then |
|
STRIP=":" |
|
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 |
|
STRIP=$ac_ct_STRIP |
|
fi |
|
else |
|
STRIP="$ac_cv_prog_STRIP" |
|
fi |
|
|
|
|
old_CC="$CC" |
old_CC="$CC" |
old_CFLAGS="$CFLAGS" |
old_CFLAGS="$CFLAGS" |
|
|
# Set sane defaults for various variables |
# Set sane defaults for various variables |
|
test -z "$AR" && AR=ar |
|
test -z "$AR_FLAGS" && AR_FLAGS=cru |
|
test -z "$AS" && AS=as |
test -z "$CC" && CC=cc |
test -z "$CC" && CC=cc |
test -z "$LTCC" && LTCC=$CC |
test -z "$LTCC" && LTCC=$CC |
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
|
test -z "$DLLTOOL" && DLLTOOL=dlltool |
test -z "$LD" && LD=ld |
test -z "$LD" && LD=ld |
|
test -z "$LN_S" && LN_S="ln -s" |
|
test -z "$MAGIC_CMD" && MAGIC_CMD=file |
|
test -z "$NM" && NM=nm |
|
test -z "$SED" && SED=sed |
|
test -z "$OBJDUMP" && OBJDUMP=objdump |
|
test -z "$RANLIB" && RANLIB=: |
|
test -z "$STRIP" && STRIP=: |
test -z "$ac_objext" && ac_objext=o |
test -z "$ac_objext" && ac_objext=o |
|
|
cc_basename=`$ECHO X"$compiler" | $Xsed -e 's%^.*/%%'` |
# Determine commands to create old-style static archives. |
|
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
|
old_postinstall_cmds='chmod 644 $oldlib' |
|
old_postuninstall_cmds= |
|
|
|
if test -n "$RANLIB"; then |
|
case $host_os in |
|
openbsd*) |
|
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" |
|
;; |
|
*) |
|
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" |
|
;; |
|
esac |
|
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
|
fi |
|
|
|
for cc_temp in $compiler""; do |
|
case $cc_temp in |
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
\-*) ;; |
|
*) break;; |
|
esac |
|
done |
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
|
|
|
# Only perform the check for file, if the check method requires it |
# Only perform the check for file, if the check method requires it |
test -z "$MAGIC_CMD" && MAGIC_CMD=file |
|
case $deplibs_check_method in |
case $deplibs_check_method in |
file_magic*) |
file_magic*) |
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 |
{ echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 |
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 |
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; } |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
|
|
$EGREP "$file_magic_regex" > /dev/null; then |
$EGREP "$file_magic_regex" > /dev/null; then |
: |
: |
else |
else |
cat <<_LT_EOF 1>&2 |
cat <<EOF 1>&2 |
|
|
*** Warning: the command libtool uses to detect shared libraries, |
*** Warning: the command libtool uses to detect shared libraries, |
*** $file_magic_cmd, produces output that libtool cannot recognize. |
*** $file_magic_cmd, produces output that libtool cannot recognize. |
|
|
*** may want to report the problem to your system manager and/or to |
*** may want to report the problem to your system manager and/or to |
*** bug-libtool@gnu.org |
*** bug-libtool@gnu.org |
|
|
_LT_EOF |
EOF |
fi ;; |
fi ;; |
esac |
esac |
fi |
fi |
|
|
|
|
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
if test -n "$MAGIC_CMD"; then |
if test -n "$MAGIC_CMD"; then |
echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
echo "${ECHO_T}$MAGIC_CMD" >&6 |
echo "${ECHO_T}$MAGIC_CMD" >&6; } |
else |
else |
echo "$as_me:$LINENO: 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 "$lt_cv_path_MAGIC_CMD"; then |
if test -z "$lt_cv_path_MAGIC_CMD"; then |
if test -n "$ac_tool_prefix"; then |
if test -n "$ac_tool_prefix"; then |
echo "$as_me:$LINENO: checking for file" >&5 |
{ echo "$as_me:$LINENO: checking for file" >&5 |
echo $ECHO_N "checking for file... $ECHO_C" >&6 |
echo $ECHO_N "checking for file... $ECHO_C" >&6; } |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
|
|
$EGREP "$file_magic_regex" > /dev/null; then |
$EGREP "$file_magic_regex" > /dev/null; then |
: |
: |
else |
else |
cat <<_LT_EOF 1>&2 |
cat <<EOF 1>&2 |
|
|
*** Warning: the command libtool uses to detect shared libraries, |
*** Warning: the command libtool uses to detect shared libraries, |
*** $file_magic_cmd, produces output that libtool cannot recognize. |
*** $file_magic_cmd, produces output that libtool cannot recognize. |
|
|
*** may want to report the problem to your system manager and/or to |
*** may want to report the problem to your system manager and/or to |
*** bug-libtool@gnu.org |
*** bug-libtool@gnu.org |
|
|
_LT_EOF |
EOF |
fi ;; |
fi ;; |
esac |
esac |
fi |
fi |
|
|
|
|
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
if test -n "$MAGIC_CMD"; then |
if test -n "$MAGIC_CMD"; then |
echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
echo "${ECHO_T}$MAGIC_CMD" >&6 |
echo "${ECHO_T}$MAGIC_CMD" >&6; } |
else |
else |
echo "$as_me:$LINENO: result: no" >&5 |
{ echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
fi |
fi |
|
|
|
|
else |
else |
MAGIC_CMD=: |
MAGIC_CMD=: |
fi |
fi |
|
|
;; |
;; |
esac |
esac |
|
|
# Check whether --enable-libtool-lock or --disable-libtool-lock was given. |
enable_dlopen=no |
|
enable_win32_dll=no |
|
|
|
# Check whether --enable-libtool-lock was given. |
if test "${enable_libtool_lock+set}" = set; then |
if test "${enable_libtool_lock+set}" = set; then |
enableval="$enable_libtool_lock" |
enableval=$enable_libtool_lock; |
|
fi |
|
|
fi; |
|
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
|
|
# Use C for the default configuration in the libtool script |
|
|
|
|
# Check whether --with-pic was given. |
|
if test "${with_pic+set}" = set; then |
|
withval=$with_pic; pic_mode="$withval" |
|
else |
|
pic_mode=default |
|
fi |
|
|
|
test -z "$pic_mode" && pic_mode=default |
|
|
|
# Use C for the default configuration in the libtool script |
|
tagname= |
lt_save_CC="$CC" |
lt_save_CC="$CC" |
ac_ext=c |
ac_ext=c |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
|
|
objext=$objext |
objext=$objext |
|
|
# Code to be used in simple compile tests |
# Code to be used in simple compile tests |
lt_simple_compile_test_code="int some_variable = 0;\n" |
lt_simple_compile_test_code="int some_variable = 0;" |
|
|
# Code to be used in simple link tests |
# Code to be used in simple link tests |
lt_simple_link_test_code='int main(){return(0);}\n' |
lt_simple_link_test_code='int main(){return(0);}' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# If no C compiler was specified, use CC. |
# If no C compiler was specified, use CC. |
LTCC=${LTCC-"$CC"} |
LTCC=${LTCC-"$CC"} |
|
|
|
|
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
compiler=$CC |
compiler=$CC |
|
|
# Save the default compiler, since it gets overwritten when the other |
|
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. |
|
compiler_DEFAULT=$CC |
|
|
|
# |
# save warnings/boilerplate of simple test code |
# Check for any special shared library compilation flags. |
ac_outfile=conftest.$ac_objext |
# |
echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
lt_prog_cc_shlib= |
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
if test "$GCC" = no; then |
_lt_compiler_boilerplate=`cat conftest.err` |
case $host_os in |
$rm conftest* |
sco3.2v5*) |
|
lt_prog_cc_shlib='-belf' |
|
;; |
|
esac |
|
fi |
|
if test -n "$lt_prog_cc_shlib"; then |
|
{ echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5 |
|
echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;} |
|
if $ECHO "$old_CC $old_CFLAGS " | $GREP "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then : |
|
else |
|
{ echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 |
|
echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} |
|
lt_cv_prog_cc_can_build_shared=no |
|
fi |
|
fi |
|
|
|
|
ac_outfile=conftest.$ac_objext |
|
echo "$lt_simple_link_test_code" >conftest.$ac_ext |
|
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
|
_lt_linker_boilerplate=`cat conftest.err` |
|
$rm conftest* |
|
|
|
|
## CAVEAT EMPTOR: |
## CAVEAT EMPTOR: |
## There is no encapsulation within the following macros, do not change |
## There is no encapsulation within the following macros, do not change |
## the running order or otherwise move them around unless you know exactly |
## the running order or otherwise move them around unless you know exactly |
## what you are doing... |
## what you are doing... |
if test -n "$compiler"; then |
|
|
|
lt_prog_compiler_no_builtin_flag= |
lt_prog_compiler_no_builtin_flag= |
|
|
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' |
lt_prog_compiler_no_builtin_flag=' -fno-builtin' |
|
|
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
|
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 |
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
|
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
lt_cv_prog_compiler_rtti_exceptions=no |
lt_cv_prog_compiler_rtti_exceptions=no |
ac_outfile=conftest.$ac_objext |
ac_outfile=conftest.$ac_objext |
printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
lt_compiler_flag="-fno-rtti -fno-exceptions" |
lt_compiler_flag="-fno-rtti -fno-exceptions" |
# Insert the option either (1) after the last *FLAGS variable, or |
# Insert the option either (1) after the last *FLAGS variable, or |
# (2) before a word containing "conftest.", or (3) at the end. |
# (2) before a word containing "conftest.", or (3) at the end. |
# Note that $ac_compile itself does not contain backslashes and begins |
# Note that $ac_compile itself does not contain backslashes and begins |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
# The option is referenced via a variable to avoid confusing sed. |
# The option is referenced via a variable to avoid confusing sed. |
lt_compile=`$ECHO "$ac_compile" | $SED \ |
lt_compile=`echo "$ac_compile" | $SED \ |
-e 's:.*FLAGS}? :&$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:7988: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:7630: $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:7992: \$? = $ac_status" >&5 |
echo "$as_me:7634: \$? = $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 |
# So say no if there are warnings other than the usual output. |
if test ! -s conftest.err; then |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
lt_cv_prog_compiler_rtti_exceptions=yes |
lt_cv_prog_compiler_rtti_exceptions=yes |
fi |
fi |
fi |
fi |
$RM conftest* |
$rm conftest* |
|
|
fi |
fi |
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 |
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
|
|
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
|
|
|
|
fi |
fi |
|
|
|
lt_prog_compiler_wl= |
|
|
|
|
|
|
|
|
lt_prog_compiler_wl= |
|
lt_prog_compiler_pic= |
lt_prog_compiler_pic= |
lt_prog_compiler_static= |
lt_prog_compiler_static= |
|
|
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 |
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } |
|
|
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_wl='-Wl,' |
|
|
;; |
;; |
|
|
amigaos*) |
amigaos*) |
if test "$host_cpu" = m68k; then |
# FIXME: we need at least 68020 code to build shared libraries, but |
# FIXME: we need at least 68020 code to build shared libraries, but |
# adding the `-m68020' flag to GCC prevents building anything better, |
# adding the `-m68020' flag to GCC prevents building anything better, |
# like `-m68040'. |
# like `-m68040'. |
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' |
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' |
|
fi |
|
;; |
;; |
|
|
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
# PIC is the default for these OSes. |
# PIC is the default for these OSes. |
;; |
;; |
|
|
mingw* | pw32* | os2*) |
mingw* | cygwin* | pw32* | os2*) |
# This hack is so that the source file can tell whether it is being |
# This hack is so that the source file can tell whether it is being |
# built for inclusion in a dll (and should export symbols for example). |
# built for inclusion in a dll (and should export symbols for example). |
|
# Although the cygwin gcc ignores -fPIC, still need this for old-style |
|
# (--disable-auto-import) libraries |
lt_prog_compiler_pic='-DDLL_EXPORT' |
lt_prog_compiler_pic='-DDLL_EXPORT' |
;; |
;; |
|
|
|
|
lt_prog_compiler_pic='-fno-common' |
lt_prog_compiler_pic='-fno-common' |
;; |
;; |
|
|
hpux*) |
interix[3-9]*) |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
# not for PA HP-UX. |
# Instead, we relocate shared libraries at runtime. |
case "$host_cpu" in |
|
hppa*64*|ia64*) |
|
# +Z the default |
|
;; |
|
*) |
|
lt_prog_compiler_pic='-fPIC' |
|
;; |
|
esac |
|
;; |
;; |
|
|
msdosdjgpp*) |
msdosdjgpp*) |
|
|
enable_shared=no |
enable_shared=no |
;; |
;; |
|
|
*nto* | *qnx*) |
|
# QNX uses GNU C++, but need to define -shared option too, otherwise |
|
# it will coredump. |
|
lt_prog_compiler_pic='-fPIC -shared' |
|
;; |
|
|
|
sysv4*MP*) |
sysv4*MP*) |
if test -d /usr/nec; then |
if test -d /usr/nec; then |
lt_prog_compiler_pic=-Kconform_pic |
lt_prog_compiler_pic=-Kconform_pic |
fi |
fi |
;; |
;; |
|
|
|
hpux*) |
|
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
|
# not for PA HP-UX. |
|
case $host_cpu in |
|
hppa*64*|ia64*) |
|
# +Z the default |
|
;; |
|
*) |
|
lt_prog_compiler_pic='-fPIC' |
|
;; |
|
esac |
|
;; |
|
|
*) |
*) |
lt_prog_compiler_pic='-fPIC' |
lt_prog_compiler_pic='-fPIC' |
;; |
;; |
|
|
darwin*) |
darwin*) |
# PIC is the default on this platform |
# PIC is the default on this platform |
# Common symbols not allowed in MH_DYLIB files |
# Common symbols not allowed in MH_DYLIB files |
case "$cc_basename" in |
case $cc_basename in |
xlc*) |
xlc*) |
lt_prog_compiler_pic='-qnocommon' |
lt_prog_compiler_pic='-qnocommon' |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_wl='-Wl,' |
|
|
esac |
esac |
;; |
;; |
|
|
mingw* | pw32* | os2*) |
mingw* | cygwin* | pw32* | os2*) |
# This hack is so that the source file can tell whether it is being |
# This hack is so that the source file can tell whether it is being |
# built for inclusion in a dll (and should export symbols for example). |
# built for inclusion in a dll (and should export symbols for example). |
lt_prog_compiler_pic='-DDLL_EXPORT' |
lt_prog_compiler_pic='-DDLL_EXPORT' |
|
|
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_wl='-Wl,' |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
# not for PA HP-UX. |
# not for PA HP-UX. |
case "$host_cpu" in |
case $host_cpu in |
hppa*64*|ia64*) |
hppa*64*|ia64*) |
# +Z the default |
# +Z the default |
;; |
;; |
|
|
lt_prog_compiler_static='-non_shared' |
lt_prog_compiler_static='-non_shared' |
;; |
;; |
|
|
linux*) |
newsos6) |
case $CC in |
lt_prog_compiler_pic='-KPIC' |
|
lt_prog_compiler_static='-Bstatic' |
|
;; |
|
|
|
linux* | k*bsd*-gnu) |
|
case $cc_basename in |
icc* | ecc*) |
icc* | ecc*) |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_static='-static' |
lt_prog_compiler_static='-static' |
;; |
;; |
|
pgcc* | pgf77* | pgf90* | pgf95*) |
|
# Portland Group compilers (*not* the Pentium gcc compiler, |
|
# which looks to be a dead project) |
|
lt_prog_compiler_wl='-Wl,' |
|
lt_prog_compiler_pic='-fpic' |
|
lt_prog_compiler_static='-Bstatic' |
|
;; |
ccc*) |
ccc*) |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_wl='-Wl,' |
# All Alpha code is PIC. |
# All Alpha code is PIC. |
lt_prog_compiler_static='-non_shared' |
lt_prog_compiler_static='-non_shared' |
;; |
;; |
|
*) |
|
case `$CC -V 2>&1 | sed 5q` in |
|
*Sun\ C*) |
|
# Sun C 5.9 |
|
lt_prog_compiler_pic='-KPIC' |
|
lt_prog_compiler_static='-Bstatic' |
|
lt_prog_compiler_wl='-Wl,' |
|
;; |
|
*Sun\ F*) |
|
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
|
lt_prog_compiler_pic='-KPIC' |
|
lt_prog_compiler_static='-Bstatic' |
|
lt_prog_compiler_wl='' |
|
;; |
|
esac |
|
;; |
esac |
esac |
;; |
;; |
|
|
newsos6) |
|
lt_prog_compiler_pic='-KPIC' |
|
lt_prog_compiler_static='-Bstatic' |
|
;; |
|
|
|
*nto* | *qnx*) |
|
# QNX uses GNU C++, but need to define -shared option too, otherwise |
|
# it will coredump. |
|
lt_prog_compiler_pic='-fPIC -shared' |
|
;; |
|
|
|
osf3* | osf4* | osf5*) |
osf3* | osf4* | osf5*) |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_wl='-Wl,' |
# All OSF/1 code is PIC. |
# All OSF/1 code is PIC. |
lt_prog_compiler_static='-non_shared' |
lt_prog_compiler_static='-non_shared' |
;; |
;; |
|
|
sco3.2v5*) |
rdos*) |
lt_prog_compiler_pic='-Kpic' |
lt_prog_compiler_static='-non_shared' |
lt_prog_compiler_static='-dn' |
|
;; |
;; |
|
|
solaris*) |
solaris*) |
lt_prog_compiler_wl='-Wl,' |
|
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_static='-Bstatic' |
lt_prog_compiler_static='-Bstatic' |
|
case $cc_basename in |
|
f77* | f90* | f95*) |
|
lt_prog_compiler_wl='-Qoption ld ';; |
|
*) |
|
lt_prog_compiler_wl='-Wl,';; |
|
esac |
;; |
;; |
|
|
sunos4*) |
sunos4*) |
|
|
lt_prog_compiler_static='-Bstatic' |
lt_prog_compiler_static='-Bstatic' |
;; |
;; |
|
|
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
sysv4 | sysv4.2uw2* | sysv4.3*) |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_static='-Bstatic' |
lt_prog_compiler_static='-Bstatic' |
|
|
fi |
fi |
;; |
;; |
|
|
|
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
|
lt_prog_compiler_wl='-Wl,' |
|
lt_prog_compiler_pic='-KPIC' |
|
lt_prog_compiler_static='-Bstatic' |
|
;; |
|
|
|
unicos*) |
|
lt_prog_compiler_wl='-Wl,' |
|
lt_prog_compiler_can_build_shared=no |
|
;; |
|
|
uts4*) |
uts4*) |
lt_prog_compiler_pic='-pic' |
lt_prog_compiler_pic='-pic' |
lt_prog_compiler_static='-Bstatic' |
lt_prog_compiler_static='-Bstatic' |
|
|
esac |
esac |
fi |
fi |
|
|
case "$host_os" in |
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 |
# For platforms which do not support PIC, -DPIC is meaningless: |
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; } |
*djgpp*) |
|
lt_prog_compiler_pic= |
|
;; |
|
*) |
|
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
|
;; |
|
esac |
|
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 |
|
echo "${ECHO_T}$lt_prog_compiler_pic" >&6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
# |
# |
# Check to make sure the PIC flag actually works. |
# Check to make sure the PIC flag actually works. |
# |
# |
if test -n "$lt_prog_compiler_pic"; then |
if test -n "$lt_prog_compiler_pic"; then |
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 "$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; } |
if test "${lt_prog_compiler_pic_works+set}" = set; then |
if test "${lt_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_prog_compiler_pic_works=no |
ac_outfile=conftest.$ac_objext |
ac_outfile=conftest.$ac_objext |
printf "$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" |
# Insert the option either (1) after the last *FLAGS variable, or |
# Insert the option either (1) after the last *FLAGS variable, or |
# (2) before a word containing "conftest.", or (3) at the end. |
# (2) before a word containing "conftest.", or (3) at the end. |
# Note that $ac_compile itself does not contain backslashes and begins |
# Note that $ac_compile itself does not contain backslashes and begins |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
# The option is referenced via a variable to avoid confusing sed. |
# The option is referenced via a variable to avoid confusing sed. |
lt_compile=`$ECHO "$ac_compile" | $SED \ |
lt_compile=`echo "$ac_compile" | $SED \ |
-e 's:.*FLAGS}? :&$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:8263: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:7920: $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:8267: \$? = $ac_status" >&5 |
echo "$as_me:7924: \$? = $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 |
# So say no if there are warnings other than the usual output. |
if test ! -s conftest.err; then |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
lt_prog_compiler_pic_works=yes |
lt_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_prog_compiler_pic_works" >&5 |
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6 |
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; } |
|
|
if test x"$lt_prog_compiler_pic_works" = xyes; then |
if test x"$lt_prog_compiler_pic_works" = xyes; then |
case $lt_prog_compiler_pic in |
case $lt_prog_compiler_pic in |
|
|
fi |
fi |
|
|
fi |
fi |
|
case $host_os in |
|
# For platforms which do not support PIC, -DPIC is meaningless: |
|
*djgpp*) |
|
lt_prog_compiler_pic= |
|
;; |
|
*) |
|
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
|
;; |
|
esac |
|
|
|
|
|
|
|
|
|
|
|
|
# |
# |
# Check to make sure the static flag actually works. |
# Check to make sure the static flag actually works. |
# |
# |
echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5 |
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6 |
{ 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; } |
if test "${lt_prog_compiler_static_works+set}" = set; then |
if test "${lt_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_prog_compiler_static_works=no |
save_LDFLAGS="$LDFLAGS" |
save_LDFLAGS="$LDFLAGS" |
LDFLAGS="$LDFLAGS $lt_prog_compiler_static" |
LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
printf "$lt_simple_link_test_code" > conftest.$ac_ext |
echo "$lt_simple_link_test_code" > conftest.$ac_ext |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
# The compiler can only warn and ignore the option if not recognized |
# The linker can only warn and ignore the option if not recognized |
# So say no if there are warnings |
# So say no if there are warnings |
if test -s conftest.err; then |
if test -s conftest.err; then |
# Append any errors to the config.log. |
# Append any errors to the config.log. |
cat conftest.err 1>&5 |
cat conftest.err 1>&5 |
|
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
|
if diff conftest.exp conftest.er2 >/dev/null; then |
|
lt_prog_compiler_static_works=yes |
|
fi |
else |
else |
lt_prog_compiler_static_works=yes |
lt_prog_compiler_static_works=yes |
fi |
fi |
fi |
fi |
$RM conftest* |
$rm 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_prog_compiler_static_works" >&5 |
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6 |
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; } |
|
|
if test x"$lt_prog_compiler_static_works" = xyes; then |
if test x"$lt_prog_compiler_static_works" = xyes; then |
: |
: |
|
|
fi |
fi |
|
|
|
|
|
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } |
|
|
|
|
|
|
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 |
|
if test "${lt_cv_prog_compiler_c_o+set}" = set; then |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
lt_cv_prog_compiler_c_o=no |
lt_cv_prog_compiler_c_o=no |
$RM -r conftest 2>/dev/null |
$rm -r conftest 2>/dev/null |
mkdir conftest |
mkdir conftest |
cd conftest |
cd conftest |
mkdir out |
mkdir out |
printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
|
lt_compiler_flag="-o out/conftest2.$ac_objext" |
lt_compiler_flag="-o out/conftest2.$ac_objext" |
# Insert the option either (1) after the last *FLAGS variable, or |
# Insert the option either (1) after the last *FLAGS variable, or |
# (2) before a word containing "conftest.", or (3) at the end. |
# (2) before a word containing "conftest.", or (3) at the end. |
# Note that $ac_compile itself does not contain backslashes and begins |
# Note that $ac_compile itself does not contain backslashes and begins |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
# with a dollar sign (not a hyphen), so the echo should work correctly. |
lt_compile=`$ECHO "$ac_compile" | $SED \ |
lt_compile=`echo "$ac_compile" | $SED \ |
-e 's:.*FLAGS}? :&$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:8360: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:8024: $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:8364: \$? = $ac_status" >&5 |
echo "$as_me:8028: \$? = $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 |
# So say no if there are warnings |
# So say no if there are warnings |
if test ! -s out/conftest.err; then |
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
|
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
|
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
lt_cv_prog_compiler_c_o=yes |
lt_cv_prog_compiler_c_o=yes |
fi |
fi |
fi |
fi |
chmod u+w . |
chmod u+w . 2>&5 |
$RM conftest* |
$rm conftest* |
# SGI C++ compiler will create directory out/ii_files/ for |
# SGI C++ compiler will create directory out/ii_files/ for |
# template instantiation |
# template instantiation |
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files |
$RM out/* && rmdir out |
$rm out/* && rmdir out |
cd .. |
cd .. |
rmdir conftest |
rmdir conftest |
$RM conftest* |
$rm conftest* |
|
|
fi |
fi |
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 |
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 |
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6 |
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 |
|
if test "${lt_cv_prog_compiler_c_o+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
lt_cv_prog_compiler_c_o=no |
|
$RM -r conftest 2>/dev/null |
|
mkdir conftest |
|
cd conftest |
|
mkdir out |
|
printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
|
|
|
lt_compiler_flag="-o out/conftest2.$ac_objext" |
|
# Insert the option either (1) after the last *FLAGS variable, or |
|
# (2) before a word containing "conftest.", or (3) at the end. |
|
# Note that $ac_compile itself does not contain backslashes and begins |
|
# with a dollar sign (not a hyphen), so the echo should work correctly. |
|
lt_compile=`$ECHO "$ac_compile" | $SED \ |
|
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
|
-e 's:$: $lt_compiler_flag:'` |
|
(eval echo "\"\$as_me:8414: $lt_compile\"" >&5) |
|
(eval "$lt_compile" 2>out/conftest.err) |
|
ac_status=$? |
|
cat out/conftest.err >&5 |
|
echo "$as_me:8418: \$? = $ac_status" >&5 |
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
|
then |
|
# The compiler can only warn and ignore the option if not recognized |
|
# So say no if there are warnings |
|
if test ! -s out/conftest.err; then |
|
lt_cv_prog_compiler_c_o=yes |
|
fi |
|
fi |
|
chmod u+w . |
|
$RM conftest* |
|
# SGI C++ compiler will create directory out/ii_files/ for |
|
# template instantiation |
|
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
|
$RM out/* && rmdir out |
|
cd .. |
|
rmdir conftest |
|
$RM conftest* |
|
|
|
fi |
|
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 |
|
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6 |
|
|
|
|
|
|
|
|
|
hard_links="nottested" |
hard_links="nottested" |
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then |
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then |
# do not overwrite the value of need_locks provided by the user |
# do not overwrite the value of need_locks provided by the user |
echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 |
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } |
hard_links=yes |
hard_links=yes |
$RM conftest* |
$rm conftest* |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
touch conftest.a |
touch conftest.a |
ln conftest.a conftest.b 2>&5 || hard_links=no |
ln conftest.a conftest.b 2>&5 || hard_links=no |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
ln conftest.a conftest.b 2>/dev/null && hard_links=no |
echo "$as_me:$LINENO: result: $hard_links" >&5 |
{ echo "$as_me:$LINENO: result: $hard_links" >&5 |
echo "${ECHO_T}$hard_links" >&6 |
echo "${ECHO_T}$hard_links" >&6; } |
if test "$hard_links" = no; then |
if test "$hard_links" = no; then |
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
|
|
need_locks=no |
need_locks=no |
fi |
fi |
|
|
|
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
|
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } |
|
|
|
|
|
|
|
|
|
|
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
|
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 |
|
|
|
runpath_var= |
runpath_var= |
allow_undefined_flag= |
allow_undefined_flag= |
always_export_symbols=no |
enable_shared_with_static_runtimes=no |
archive_cmds= |
archive_cmds= |
archive_expsym_cmds= |
archive_expsym_cmds= |
enable_shared_with_static_runtimes=no |
old_archive_From_new_cmds= |
|
old_archive_from_expsyms_cmds= |
export_dynamic_flag_spec= |
export_dynamic_flag_spec= |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
whole_archive_flag_spec= |
hardcode_automatic=no |
thread_safe_flag_spec= |
hardcode_direct=no |
|
hardcode_libdir_flag_spec= |
hardcode_libdir_flag_spec= |
hardcode_libdir_flag_spec_ld= |
hardcode_libdir_flag_spec_ld= |
hardcode_libdir_separator= |
hardcode_libdir_separator= |
|
hardcode_direct=no |
hardcode_minus_L=no |
hardcode_minus_L=no |
hardcode_shlibpath_var=unsupported |
hardcode_shlibpath_var=unsupported |
inherit_rpath=no |
|
link_all_deplibs=unknown |
link_all_deplibs=unknown |
|
hardcode_automatic=no |
module_cmds= |
module_cmds= |
module_expsym_cmds= |
module_expsym_cmds= |
old_archive_from_new_cmds= |
always_export_symbols=no |
old_archive_from_expsyms_cmds= |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
thread_safe_flag_spec= |
|
whole_archive_flag_spec= |
|
# include_expsyms should be a list of space-separated symbols to be *always* |
# include_expsyms should be a list of space-separated symbols to be *always* |
# included in the symbol list |
# included in the symbol list |
include_expsyms= |
include_expsyms= |
|
|
# 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. |
extract_expsyms_cmds= |
extract_expsyms_cmds= |
|
# Just being paranoid about ensuring that cc_basename is set. |
|
for cc_temp in $compiler""; do |
|
case $cc_temp in |
|
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
|
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
|
\-*) ;; |
|
*) break;; |
|
esac |
|
done |
|
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
|
|
case $host_os in |
case $host_os in |
cygwin* | mingw* | pw32*) |
cygwin* | mingw* | pw32*) |
|
|
with_gnu_ld=no |
with_gnu_ld=no |
fi |
fi |
;; |
;; |
|
interix*) |
|
# we just hope/assume this is gcc and not c89 (= MSVC++) |
|
with_gnu_ld=yes |
|
;; |
openbsd*) |
openbsd*) |
with_gnu_ld=no |
with_gnu_ld=no |
;; |
;; |
|
|
# If archive_cmds runs LD, not CC, wlarc should be empty |
# If archive_cmds runs LD, not CC, wlarc should be empty |
wlarc='${wl}' |
wlarc='${wl}' |
|
|
|
# Set some defaults for GNU ld with shared library support. These |
|
# are reset later if shared libraries are not supported. Putting them |
|
# here allows them to be overridden if necessary. |
|
runpath_var=LD_RUN_PATH |
|
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' |
|
export_dynamic_flag_spec='${wl}--export-dynamic' |
|
# ancient GNU ld didn't support --whole-archive et. al. |
|
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then |
|
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
else |
|
whole_archive_flag_spec= |
|
fi |
|
supports_anon_versioning=no |
|
case `$LD -v 2>/dev/null` in |
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
|
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
|
*\ 2.11.*) ;; # other 2.11 versions |
|
*) supports_anon_versioning=yes ;; |
|
esac |
|
|
# 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*) |
aix3* | aix4* | aix5*) |
# 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 |
cat <<_LT_EOF 1>&2 |
cat <<EOF 1>&2 |
|
|
*** Warning: the GNU linker, at least up to release 2.9.1, is reported |
*** Warning: the GNU linker, at least up to release 2.9.1, is reported |
*** to be unable to reliably create shared libraries on AIX. |
*** to be unable to reliably create shared libraries on AIX. |
|
|
*** really care for shared libraries, you may want to modify your PATH |
*** really care for shared libraries, you may want to modify your PATH |
*** so that a non-GNU linker is found, and then restart. |
*** so that a non-GNU linker is found, and then restart. |
|
|
_LT_EOF |
EOF |
fi |
fi |
;; |
;; |
|
|
amigaos*) |
amigaos*) |
if test "$host_cpu" = m68k; then |
archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
hardcode_libdir_flag_spec='-L$libdir' |
hardcode_libdir_flag_spec='-L$libdir' |
hardcode_minus_L=yes |
hardcode_minus_L=yes |
|
fi |
|
|
|
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports |
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports |
# that the semantics of dynamic libraries on AmigaOS, at least up |
# that the semantics of dynamic libraries on AmigaOS, at least up |
|
|
;; |
;; |
|
|
beos*) |
beos*) |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
allow_undefined_flag=unsupported |
allow_undefined_flag=unsupported |
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
# support --undefined. This deserves some investigation. FIXME |
# support --undefined. This deserves some investigation. FIXME |
|
|
;; |
;; |
|
|
cygwin* | mingw* | pw32*) |
cygwin* | mingw* | pw32*) |
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
# as there is no search path for DLLs. |
# as there is no search path for DLLs. |
hardcode_libdir_flag_spec='-L$libdir' |
hardcode_libdir_flag_spec='-L$libdir' |
allow_undefined_flag=unsupported |
allow_undefined_flag=unsupported |
always_export_symbols=no |
always_export_symbols=no |
enable_shared_with_static_runtimes=yes |
enable_shared_with_static_runtimes=yes |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
|
|
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
# If the export-symbols file already is a .def file (1st line |
# If the export-symbols file already is a .def file (1st line |
# is EXPORTS), use it as is; otherwise, prepend... |
# is EXPORTS), use it as is; otherwise, prepend... |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
cp $export_symbols $output_objdir/$soname.def; |
cp $export_symbols $output_objdir/$soname.def; |
else |
else |
$ECHO EXPORTS > $output_objdir/$soname.def; |
echo EXPORTS > $output_objdir/$soname.def; |
cat $export_symbols >> $output_objdir/$soname.def; |
cat $export_symbols >> $output_objdir/$soname.def; |
fi~ |
fi~ |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' |
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
else |
else |
ld_shlibs=no |
ld_shlibs=no |
fi |
fi |
;; |
;; |
|
|
linux*|tpf*) |
interix[3-9]*) |
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null; then |
hardcode_direct=no |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
hardcode_shlibpath_var=no |
case `$LD -v 2>&1` in |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
*\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
export_dynamic_flag_spec='${wl}-E' |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
# Instead, shared libraries are loaded at an image base (0x10000000 by |
*\ 2.11.*) ;; # other 2.11 versions |
# default) and relocated if they conflict, which is a slow very memory |
*) supports_anon_versioning=yes ;; |
# consuming and fragmenting process. To avoid this, we pick a random, |
esac |
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
if test "x$supports_anon_versioning" = xyes; then |
# time. Moving up from 0x10000000 also allows more sbrk(2) space. |
archive_expsym_cmds='$ECHO "{ global:" > $output_objdir/$libname.ver~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~$ECHO "local: *; };" >> $output_objdir/$libname.ver~$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
else |
archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
archive_expsym_cmds=$archive_cmds |
;; |
fi |
|
|
gnu* | linux* | k*bsd*-gnu) |
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
tmp_addflag= |
|
case $cc_basename,$host_cpu in |
|
pgcc*) # Portland Group C compiler |
|
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
|
tmp_addflag=' $pic_flag' |
|
;; |
|
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers |
|
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
|
tmp_addflag=' $pic_flag -Mnomain' ;; |
|
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
|
tmp_addflag=' -i_dynamic' ;; |
|
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
|
tmp_addflag=' -i_dynamic -nofor_main' ;; |
|
ifc* | ifort*) # Intel Fortran compiler |
|
tmp_addflag=' -nofor_main' ;; |
|
esac |
|
case `$CC -V 2>&1 | sed 5q` in |
|
*Sun\ C*) # Sun C 5.9 |
|
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
|
tmp_sharedflag='-G' ;; |
|
*Sun\ F*) # Sun Fortran 8.3 |
|
tmp_sharedflag='-G' ;; |
|
*) |
|
tmp_sharedflag='-shared' ;; |
|
esac |
|
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
|
if test $supports_anon_versioning = yes; then |
|
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ |
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
|
$echo "local: *; };" >> $output_objdir/$libname.ver~ |
|
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
|
fi |
else |
else |
ld_shlibs=no |
ld_shlibs=no |
fi |
fi |
;; |
;; |
|
|
netbsd*) |
netbsd*) |
if $ECHO __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
wlarc= |
wlarc= |
else |
else |
|
|
fi |
fi |
;; |
;; |
|
|
solaris* | sysv5*) |
solaris*) |
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then |
ld_shlibs=no |
ld_shlibs=no |
cat <<_LT_EOF 1>&2 |
cat <<EOF 1>&2 |
|
|
*** Warning: The releases 2.8.* of the GNU linker cannot reliably |
*** Warning: The releases 2.8.* of the GNU linker cannot reliably |
*** create shared libraries on Solaris systems. Therefore, libtool |
*** create shared libraries on Solaris systems. Therefore, libtool |
|
|
*** your PATH or compiler configuration so that the native linker is |
*** your PATH or compiler configuration so that the native linker is |
*** used, and then restart. |
*** used, and then restart. |
|
|
_LT_EOF |
EOF |
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
else |
else |
|
|
fi |
fi |
;; |
;; |
|
|
|
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
|
case `$LD -v 2>&1` in |
|
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
|
ld_shlibs=no |
|
cat <<_LT_EOF 1>&2 |
|
|
|
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
|
*** reliably create shared libraries on SCO systems. Therefore, libtool |
|
*** is disabling shared libraries support. We urge you to upgrade GNU |
|
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
|
*** your PATH or compiler configuration so that the native linker is |
|
*** used, and then restart. |
|
|
|
_LT_EOF |
|
;; |
|
*) |
|
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
|
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' |
|
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' |
|
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' |
|
else |
|
ld_shlibs=no |
|
fi |
|
;; |
|
esac |
|
;; |
|
|
sunos4*) |
sunos4*) |
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
wlarc= |
wlarc= |
|
|
;; |
;; |
|
|
*) |
*) |
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
else |
else |
|
|
;; |
;; |
esac |
esac |
|
|
if test "$ld_shlibs" = yes; then |
if test "$ld_shlibs" = no; then |
runpath_var=LD_RUN_PATH |
runpath_var= |
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' |
hardcode_libdir_flag_spec= |
export_dynamic_flag_spec='${wl}--export-dynamic' |
export_dynamic_flag_spec= |
# ancient GNU ld didn't support --whole-archive et. al. |
whole_archive_flag_spec= |
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then |
|
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
else |
|
whole_archive_flag_spec= |
|
fi |
|
fi |
fi |
else |
else |
# PORTME fill in a description of your system's linker (not GNU ld) |
# PORTME fill in a description of your system's linker (not GNU ld) |
|
|
# Note: this linker hardcodes the directories in LIBPATH if there |
# Note: this linker hardcodes the directories in LIBPATH if there |
# are no directories specified by -L. |
# are no directories specified by -L. |
hardcode_minus_L=yes |
hardcode_minus_L=yes |
if test "$GCC" = yes && test -z "$link_static_flag"; then |
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
# Neither direct hardcoding nor static linking is supported with a |
# Neither direct hardcoding nor static linking is supported with a |
# broken collect2. |
# broken collect2. |
hardcode_direct=unsupported |
hardcode_direct=unsupported |
|
|
else |
else |
# If we're using GNU nm, then we don't want the "-C" option. |
# If we're using GNU nm, then we don't want the "-C" option. |
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then |
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' |
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' |
else |
else |
export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' |
export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' |
|
|
break |
break |
fi |
fi |
done |
done |
|
;; |
esac |
esac |
|
|
exp_sym_flag='-bexport' |
exp_sym_flag='-bexport' |
|
|
link_all_deplibs=yes |
link_all_deplibs=yes |
|
|
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
case $host_os in aix4.012|aix4.012.*) |
case $host_os in aix4.[012]|aix4.[012].*) |
# We only want to do this on AIX 4.2 and lower, the check |
# We only want to do this on AIX 4.2 and lower, the check |
# below for broken collect2 doesn't work under 4.3+ |
# below for broken collect2 doesn't work under 4.3+ |
collect2name=`${CC} -print-prog-name=collect2` |
collect2name=`${CC} -print-prog-name=collect2` |
if test -f "$collect2name" && |
if test -f "$collect2name" && \ |
strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
strings "$collect2name" | grep resolve_lib_name >/dev/null |
then |
then |
# We have reworked collect2 |
# We have reworked collect2 |
hardcode_direct=yes |
: |
else |
else |
# We have old collect2 |
# We have old collect2 |
hardcode_direct=unsupported |
hardcode_direct=unsupported |
|
|
hardcode_libdir_flag_spec='-L$libdir' |
hardcode_libdir_flag_spec='-L$libdir' |
hardcode_libdir_separator= |
hardcode_libdir_separator= |
fi |
fi |
|
;; |
esac |
esac |
shared_flag='-shared' |
shared_flag='-shared' |
|
if test "$aix_use_runtimelinking" = yes; then |
|
shared_flag="$shared_flag "'${wl}-G' |
|
fi |
else |
else |
# not using gcc |
# not using gcc |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
|
|
# chokes on -Wl,-G. The following line is correct: |
# chokes on -Wl,-G. The following line is correct: |
shared_flag='-G' |
shared_flag='-G' |
else |
else |
if test "$aix_use_runtimelinking" = yes; then |
if test "$aix_use_runtimelinking" = yes; then |
shared_flag='${wl}-G' |
shared_flag='${wl}-G' |
else |
else |
shared_flag='${wl}-bM:SRE' |
shared_flag='${wl}-bM:SRE' |
fi |
fi |
fi |
fi |
fi |
fi |
|
|
|
|
# Warning - without using the other runtime loading flags (-brtl), |
# Warning - without using the other runtime loading flags (-brtl), |
# -berok will link without error, but may produce a broken library. |
# -berok will link without error, but may produce a broken library. |
allow_undefined_flag='-berok' |
allow_undefined_flag='-berok' |
# Determine the default libpath from the value encoded in an |
# Determine the default libpath from the value encoded in an empty executable. |
# empty executable. |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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 |
|
|
|
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
lt_aix_libpath_sed=' |
}'` |
/Import File Strings/,/^$/ { |
|
/^0/ { |
|
s/^0 *\(.*\)$/\1/ |
|
p |
|
} |
|
}' |
|
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
# Check for a 64-bit object if we didn't find anything. |
# Check for a 64-bit object if we didn't find anything. |
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
if test -z "$aix_libpath"; then |
}'`; fi |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
fi |
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 |
|
|
|
|
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
|
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
else |
else |
if test "$host_cpu" = ia64; then |
if test "$host_cpu" = ia64; then |
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
allow_undefined_flag="-z nodefs" |
allow_undefined_flag="-z nodefs" |
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" |
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" |
else |
else |
# Determine the default libpath from the value encoded in an |
# Determine the default libpath from the value encoded in an empty executable. |
# empty executable. |
|
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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 |
|
|
|
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
lt_aix_libpath_sed=' |
}'` |
/Import File Strings/,/^$/ { |
|
/^0/ { |
|
s/^0 *\(.*\)$/\1/ |
|
p |
|
} |
|
}' |
|
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
# Check for a 64-bit object if we didn't find anything. |
# Check for a 64-bit object if we didn't find anything. |
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
if test -z "$aix_libpath"; then |
}'`; fi |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
|
fi |
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 |
|
|
|
|
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
|
|
|
|
# -berok will link without error, but may produce a broken library. |
# -berok will link without error, but may produce a broken library. |
no_undefined_flag=' ${wl}-bernotok' |
no_undefined_flag=' ${wl}-bernotok' |
allow_undefined_flag=' ${wl}-berok' |
allow_undefined_flag=' ${wl}-berok' |
# -bexpall does not export symbols beginning with underscore (_) |
|
always_export_symbols=yes |
|
# Exported symbols can be pulled into shared objects from archives |
# Exported symbols can be pulled into shared objects from archives |
whole_archive_flag_spec=' ' |
whole_archive_flag_spec='$convenience' |
archive_cmds_need_lc=yes |
archive_cmds_need_lc=yes |
# This is similar to how AIX traditionally builds it's shared libraries. |
# This is similar to how AIX traditionally builds its shared libraries. |
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
fi |
fi |
fi |
fi |
;; |
;; |
|
|
amigaos*) |
amigaos*) |
if test "$host_cpu" = m68k; then |
archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
hardcode_libdir_flag_spec='-L$libdir' |
hardcode_libdir_flag_spec='-L$libdir' |
hardcode_minus_L=yes |
hardcode_minus_L=yes |
|
fi |
|
# see comment about different semantics on the GNU ld section |
# see comment about different semantics on the GNU ld section |
ld_shlibs=no |
ld_shlibs=no |
;; |
;; |
|
|
# Tell ltmain to make .dll files, not .so files. |
# Tell ltmain to make .dll files, not .so files. |
shrext_cmds=".dll" |
shrext_cmds=".dll" |
# FIXME: Setting linknames here is a bad hack. |
# FIXME: Setting linknames here is a bad hack. |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
# The linker will automatically build a .lib file if we build a DLL. |
# The linker will automatically build a .lib file if we build a DLL. |
old_archive_from_new_cmds='true' |
old_archive_From_new_cmds='true' |
# FIXME: Should let the user specify the lib program. |
# FIXME: Should let the user specify the lib program. |
old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' |
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
fix_srcfile_path='`cygpath -w "$srcfile"`' |
fix_srcfile_path='`cygpath -w "$srcfile"`' |
enable_shared_with_static_runtimes=yes |
enable_shared_with_static_runtimes=yes |
;; |
;; |
|
|
darwin* | rhapsody*) |
darwin* | rhapsody*) |
case "$host_os" in |
case $host_os in |
rhapsody* | darwin1.[012]) |
rhapsody* | darwin1.[012]) |
allow_undefined_flag='${wl}-undefined ${wl}suppress' |
allow_undefined_flag='${wl}-undefined ${wl}suppress' |
;; |
;; |
*) # Darwin 1.3 on |
*) # Darwin 1.3 on |
case ${MACOSX_DEPLOYMENT_TARGET-10.0} in |
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then |
10.[012]) |
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
else |
;; |
case ${MACOSX_DEPLOYMENT_TARGET} in |
10.*) |
10.[012]) |
allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup' |
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' |
;; |
;; |
esac |
10.*) |
|
allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup' |
|
;; |
|
esac |
|
fi |
;; |
;; |
esac |
esac |
archive_cmds_need_lc=no |
archive_cmds_need_lc=no |
|
|
whole_archive_flag_spec='' |
whole_archive_flag_spec='' |
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' |
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' |
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds |
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}' |
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,#.*,," -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}' |
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*) |
output_verbose_link_cmd=echo |
output_verbose_link_cmd='echo' |
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring' |
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' |
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' |
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's |
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds |
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
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}' |
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}' |
;; |
;; |
*) |
*) |
|
|
esac |
esac |
fi |
fi |
;; |
;; |
|
|
dgux*) |
dgux*) |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
hardcode_libdir_flag_spec='-L$libdir' |
hardcode_libdir_flag_spec='-L$libdir' |
|
|
;; |
;; |
|
|
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
# FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
freebsd* | kfreebsd*-gnu) |
freebsd* | dragonfly*) |
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
hardcode_libdir_flag_spec='-R$libdir' |
hardcode_libdir_flag_spec='-R$libdir' |
hardcode_direct=yes |
hardcode_direct=yes |
|
|
|
|
hpux9*) |
hpux9*) |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
else |
else |
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
fi |
fi |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
hardcode_libdir_separator=: |
hardcode_libdir_separator=: |
|
|
;; |
;; |
|
|
hpux10*) |
hpux10*) |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
else |
else |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
fi |
fi |
if test "$with_gnu_ld" = no; then |
if test "$with_gnu_ld" = no; then |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
hardcode_libdir_flag_spec_ld='+b $libdir' |
hardcode_libdir_separator=: |
hardcode_libdir_separator=: |
|
hardcode_direct=yes |
|
export_dynamic_flag_spec='${wl}-E' |
|
# hardcode_minus_L: Not really in the search PATH, |
|
# but as the default location of the library. |
|
hardcode_minus_L=yes |
|
fi |
|
;; |
|
|
|
hpux11*) |
hardcode_direct=yes |
|
export_dynamic_flag_spec='${wl}-E' |
|
|
|
# hardcode_minus_L: Not really in the search PATH, |
|
# but as the default location of the library. |
|
hardcode_minus_L=yes |
|
fi |
|
;; |
|
|
|
hpux11*) |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
case "$host_cpu" in |
case $host_cpu in |
hppa*64*|ia64*) |
hppa*64*) |
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
;; |
;; |
|
ia64*) |
|
archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
;; |
*) |
*) |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
;; |
;; |
esac |
esac |
else |
else |
case "$host_cpu" in |
case $host_cpu in |
hppa*64*|ia64*) |
hppa*64*) |
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
;; |
;; |
|
ia64*) |
|
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
|
;; |
*) |
*) |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
;; |
;; |
esac |
esac |
fi |
fi |
if test "$with_gnu_ld" = no; then |
if test "$with_gnu_ld" = no; then |
case "$host_cpu" in |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
hppa*64*) |
hardcode_libdir_separator=: |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
hardcode_libdir_separator=: |
case $host_cpu in |
|
hppa*64*|ia64*) |
|
hardcode_libdir_flag_spec_ld='+b $libdir' |
hardcode_direct=no |
hardcode_direct=no |
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
;; |
;; |
ia64*) |
|
hardcode_libdir_flag_spec='-L$libdir' |
|
hardcode_direct=no |
|
hardcode_shlibpath_var=no |
|
|
|
# hardcode_minus_L: Not really in the search PATH, |
|
# but as the default location of the library. |
|
hardcode_minus_L=yes |
|
;; |
|
*) |
*) |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
hardcode_libdir_separator=: |
|
hardcode_direct=yes |
hardcode_direct=yes |
export_dynamic_flag_spec='${wl}-E' |
export_dynamic_flag_spec='${wl}-E' |
|
|
|
|
|
|
irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' |
|
else |
else |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO -set_version $verstring` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' |
hardcode_libdir_flag_spec_ld='-rpath $libdir' |
fi |
fi |
archive_cmds_need_lc='no' |
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
hardcode_libdir_separator=: |
hardcode_libdir_separator=: |
inherit_rpath=yes |
|
link_all_deplibs=yes |
link_all_deplibs=yes |
;; |
;; |
|
|
netbsd*) |
netbsd*) |
if $ECHO __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
else |
else |
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
|
|
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
;; |
;; |
|
|
*nto* | *qnx*) |
|
;; |
|
|
|
openbsd*) |
openbsd*) |
hardcode_direct=yes |
if test -f /usr/libexec/ld.so; then |
hardcode_shlibpath_var=no |
hardcode_direct=yes |
if test -z "`$ECHO __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
hardcode_shlibpath_var=no |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
export_dynamic_flag_spec='${wl}-E' |
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
export_dynamic_flag_spec='${wl}-E' |
|
else |
|
case $host_os in |
|
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
hardcode_libdir_flag_spec='-R$libdir' |
|
;; |
|
*) |
|
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
;; |
|
esac |
|
fi |
else |
else |
case $host_os in |
ld_shlibs=no |
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
|
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
hardcode_libdir_flag_spec='-R$libdir' |
|
;; |
|
*) |
|
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
|
hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
|
;; |
|
esac |
|
fi |
fi |
;; |
;; |
|
|
|
|
hardcode_libdir_flag_spec='-L$libdir' |
hardcode_libdir_flag_spec='-L$libdir' |
hardcode_minus_L=yes |
hardcode_minus_L=yes |
allow_undefined_flag=unsupported |
allow_undefined_flag=unsupported |
archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' |
archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' |
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
;; |
;; |
|
|
osf3*) |
osf3*) |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
else |
else |
allow_undefined_flag=' -expect_unresolved \*' |
allow_undefined_flag=' -expect_unresolved \*' |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
fi |
fi |
archive_cmds_need_lc='no' |
|
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
hardcode_libdir_separator=: |
hardcode_libdir_separator=: |
;; |
;; |
|
|
osf4* | osf5*) # as osf3* with the addition of -msym flag |
osf4* | osf5*) # as osf3* with the addition of -msym flag |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
else |
else |
allow_undefined_flag=' -expect_unresolved \*' |
allow_undefined_flag=' -expect_unresolved \*' |
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; $ECHO "-hidden">> $lib.exp~ |
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ |
$CC -shared${allow_undefined_flag} -input $lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$RM $lib.exp' |
$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' |
|
|
# Both c and cxx compiler support -rpath directly |
# Both c and cxx compiler support -rpath directly |
hardcode_libdir_flag_spec='-rpath $libdir' |
hardcode_libdir_flag_spec='-rpath $libdir' |
fi |
fi |
archive_cmds_need_lc='no' |
|
hardcode_libdir_separator=: |
hardcode_libdir_separator=: |
;; |
;; |
|
|
sco3.2v5*) |
|
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
hardcode_shlibpath_var=no |
|
export_dynamic_flag_spec='${wl}-Bexport' |
|
runpath_var=LD_RUN_PATH |
|
hardcode_runpath_var=yes |
|
;; |
|
|
|
solaris*) |
solaris*) |
no_undefined_flag=' -z text' |
no_undefined_flag=' -z text' |
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
|
wlarc='${wl}' |
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_expsym_cmds='$ECHO "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$ECHO "local: *; };" >> $lib.exp~ |
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' |
else |
else |
case `$CC -V 2>&1` in |
wlarc='' |
*"Compilers 5.0"*) |
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
archive_expsym_cmds='$ECHO "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$ECHO "local: *; };" >> $lib.exp~ |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' |
|
;; |
|
*) |
|
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' |
|
archive_expsym_cmds='$ECHO "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$ECHO "local: *; };" >> $lib.exp~ |
|
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
|
;; |
|
esac |
|
fi |
fi |
hardcode_libdir_flag_spec='-R$libdir' |
hardcode_libdir_flag_spec='-R$libdir' |
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
case $host_os in |
case $host_os in |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
solaris2.[0-5] | solaris2.[0-5].*) ;; |
*) # Supported since Solaris 2.6 (maybe 2.5.1?) |
*) |
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; |
# The compiler driver will combine and reorder linker options, |
|
# but understands `-z linker_flag'. GCC discards it without `$wl', |
|
# but is careful enough not to reorder. |
|
# Supported since Solaris 2.6 (maybe 2.5.1?) |
|
if test "$GCC" = yes; then |
|
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
|
else |
|
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' |
|
fi |
|
;; |
esac |
esac |
link_all_deplibs=yes |
link_all_deplibs=yes |
;; |
;; |
|
|
fi |
fi |
;; |
;; |
|
|
sysv4.2uw2*) |
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
no_undefined_flag='${wl}-z,text' |
hardcode_direct=yes |
archive_cmds_need_lc=no |
hardcode_minus_L=no |
|
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
hardcode_runpath_var=yes |
runpath_var='LD_RUN_PATH' |
runpath_var=LD_RUN_PATH |
|
;; |
|
|
|
sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) |
|
no_undefined_flag='${wl}-z ${wl}text' |
|
if test "$GCC" = yes; then |
if test "$GCC" = yes; then |
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
else |
else |
archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
fi |
fi |
runpath_var='LD_RUN_PATH' |
|
hardcode_shlibpath_var=no |
|
;; |
;; |
|
|
sysv5*) |
sysv5* | sco3.2v5* | sco5v6*) |
no_undefined_flag=' -z text' |
# Note: We can NOT use -z defs as we might desire, because we do not |
# $CC -shared without GNU ld will not create a library from C++ |
# link with -lc, and that would cause any symbols used from libc to |
# object files and a static libstdc++, better avoid it by now |
# always be unresolved, which means just about no library would |
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
# ever link correctly. If we're not using GNU ld we use -z text |
archive_expsym_cmds='$ECHO "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$ECHO "local: *; };" >> $lib.exp~ |
# though, which does catch some bad symbols but isn't as heavy-handed |
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' |
# as -z defs. |
hardcode_libdir_flag_spec= |
no_undefined_flag='${wl}-z,text' |
|
allow_undefined_flag='${wl}-z,nodefs' |
|
archive_cmds_need_lc=no |
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
|
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' |
|
hardcode_libdir_separator=':' |
|
link_all_deplibs=yes |
|
export_dynamic_flag_spec='${wl}-Bexport' |
runpath_var='LD_RUN_PATH' |
runpath_var='LD_RUN_PATH' |
|
|
|
if test "$GCC" = yes; then |
|
archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
else |
|
archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' |
|
fi |
;; |
;; |
|
|
uts4*) |
uts4*) |
|
|
ld_shlibs=no |
ld_shlibs=no |
;; |
;; |
esac |
esac |
|
|
if test x$host_vendor = xsni; then |
|
case $host in |
|
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
|
export_dynamic_flag_spec='${wl}-Blargedynsym' |
|
;; |
|
esac |
|
fi |
|
fi |
fi |
|
|
echo "$as_me:$LINENO: result: $ld_shlibs" >&5 |
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5 |
echo "${ECHO_T}$ld_shlibs" >&6 |
echo "${ECHO_T}$ld_shlibs" >&6; } |
test "$ld_shlibs" = no && can_build_shared=no |
test "$ld_shlibs" = no && can_build_shared=no |
|
|
with_gnu_ld=$with_gnu_ld |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
if test "$GCC" = yes; then |
|
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
# |
# |
# Do we need to explicitly link libc? |
# Do we need to explicitly link libc? |
# |
# |
|
|
# Test whether the compiler implicitly links with -lc since on some |
# Test whether the compiler implicitly links with -lc since on some |
# systems, -lgcc has to come before -lc. If gcc already passes -lc |
# systems, -lgcc has to come before -lc. If gcc already passes -lc |
# to ld, don't add -lc before -lgcc. |
# to ld, don't add -lc before -lgcc. |
echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 |
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } |
$RM conftest* |
$rm conftest* |
printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
echo "$lt_simple_compile_test_code" > 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 |
|
|
libobjs=conftest.$ac_objext |
libobjs=conftest.$ac_objext |
deplibs= |
deplibs= |
wl=$lt_prog_compiler_wl |
wl=$lt_prog_compiler_wl |
|
pic_flag=$lt_prog_compiler_pic |
compiler_flags=-v |
compiler_flags=-v |
linker_flags=-v |
linker_flags=-v |
verstring= |
verstring= |
|
|
libname=conftest |
libname=conftest |
lt_save_allow_undefined_flag=$allow_undefined_flag |
lt_save_allow_undefined_flag=$allow_undefined_flag |
allow_undefined_flag= |
allow_undefined_flag= |
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 |
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
(eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } |
(exit $ac_status); } |
|
|
else |
else |
cat conftest.err 1>&5 |
cat conftest.err 1>&5 |
fi |
fi |
$RM conftest* |
$rm conftest* |
echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 |
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 |
echo "${ECHO_T}$archive_cmds_need_lc" >&6 |
echo "${ECHO_T}$archive_cmds_need_lc" >&6; } |
;; |
;; |
esac |
esac |
fi |
fi |
;; |
;; |
esac |
esac |
|
|
|
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
|
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
|
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 |
|
withGCC=$GCC |
|
library_names_spec= |
library_names_spec= |
libname_spec='lib$name' |
libname_spec='lib$name' |
soname_spec= |
soname_spec= |
|
|
version_type=none |
version_type=none |
dynamic_linker="$host_os ld.so" |
dynamic_linker="$host_os ld.so" |
sys_lib_dlsearch_path_spec="/lib /usr/lib" |
sys_lib_dlsearch_path_spec="/lib /usr/lib" |
if test "$withGCC" = yes; then |
|
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
if test "$GCC" = yes; then |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';' >/dev/null ; then |
case $host_os in |
|
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
|
*) lt_awk_arg="/^libraries:/" ;; |
|
esac |
|
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
|
if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then |
# if the path contains ";" then we assume it to be the separator |
# if the path contains ";" then we assume it to be the separator |
# otherwise default to the standard path separator (i.e. ":") - it is |
# otherwise default to the standard path separator (i.e. ":") - it is |
# assumed that no part of a normal pathname contains ";" but that should |
# assumed that no part of a normal pathname contains ";" but that should |
# okay in the real world where ";" in dirpaths is itself problematic. |
# okay in the real world where ";" in dirpaths is itself problematic. |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'` |
else |
else |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
fi |
fi |
|
# Ok, now we have the path, separated by spaces, we can step through it |
|
# and add multilib dir if necessary. |
|
lt_tmp_lt_search_path_spec= |
|
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` |
|
for lt_sys_path in $lt_search_path_spec; do |
|
if test -d "$lt_sys_path/$lt_multi_os_dir"; then |
|
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" |
|
else |
|
test -d "$lt_sys_path" && \ |
|
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
|
fi |
|
done |
|
lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk ' |
|
BEGIN {RS=" "; FS="/|\n";} { |
|
lt_foo=""; |
|
lt_count=0; |
|
for (lt_i = NF; lt_i > 0; lt_i--) { |
|
if ($lt_i != "" && $lt_i != ".") { |
|
if ($lt_i == "..") { |
|
lt_count++; |
|
} else { |
|
if (lt_count == 0) { |
|
lt_foo="/" $lt_i lt_foo; |
|
} else { |
|
lt_count--; |
|
} |
|
} |
|
} |
|
} |
|
if (lt_foo != "") { lt_freq[lt_foo]++; } |
|
if (lt_freq[lt_foo] == 1) { print lt_foo; } |
|
}'` |
|
sys_lib_search_path_spec=`echo $lt_search_path_spec` |
else |
else |
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
fi |
fi |
|
|
# development snapshots of GCC prior to 3.0. |
# development snapshots of GCC prior to 3.0. |
case $host_os in |
case $host_os in |
aix4 | aix4.[01] | aix4.[01].*) |
aix4 | aix4.[01] | aix4.[01].*) |
if { $ECHO '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
$ECHO ' yes ' |
echo ' yes ' |
$ECHO '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then |
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then |
: |
: |
else |
else |
can_build_shared=no |
can_build_shared=no |
|
|
;; |
;; |
|
|
amigaos*) |
amigaos*) |
if test "$host_cpu" = m68k; then |
library_names_spec='$libname.ixlibrary $libname.a' |
library_names_spec='$libname.ixlibrary $libname.a' |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' |
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' |
|
else |
|
dynamic_linker=no |
|
fi |
|
;; |
;; |
|
|
beos*) |
beos*) |
|
|
need_version=no |
need_version=no |
need_lib_prefix=no |
need_lib_prefix=no |
|
|
case $withGCC,$host_os in |
case $GCC,$host_os in |
yes,cygwin* | yes,mingw* | yes,pw32*) |
yes,cygwin* | yes,mingw* | yes,pw32*) |
library_names_spec='$libname.dll.a' |
library_names_spec='$libname.dll.a' |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
# DLL is installed to $(libdir)/../bin by postinstall_cmds |
postinstall_cmds='base_file=`basename \${file}`~ |
postinstall_cmds='base_file=`basename \${file}`~ |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;$ECHO \$dlname'\''`~ |
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ |
dldir=$destdir/`dirname \$dlpath`~ |
dldir=$destdir/`dirname \$dlpath`~ |
test -d \$dldir || mkdir -p \$dldir~ |
test -d \$dldir || mkdir -p \$dldir~ |
$install_prog $dir/$dlname \$dldir/$dlname' |
$install_prog $dir/$dlname \$dldir/$dlname~ |
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ |
chmod a+x \$dldir/$dlname' |
|
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
dlpath=$dir/\$dldll~ |
dlpath=$dir/\$dldll~ |
$RM \$dlpath' |
$rm \$dlpath' |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
|
|
case $host_os in |
case $host_os in |
cygwin*) |
cygwin*) |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
soname_spec='`$ECHO ${libname} | sed -e 's/^lib/cyg/'``$ECHO ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
;; |
;; |
mingw*) |
mingw*) |
# MinGW DLLs use traditional 'lib' prefix |
# MinGW DLLs use traditional 'lib' prefix |
soname_spec='${libname}`$ECHO ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then |
# It is most probably a Windows format PATH printed by |
# It is most probably a Windows format PATH printed by |
# mingw gcc, but we are running on Cygwin. Gcc prints its search |
# mingw gcc, but we are running on Cygwin. Gcc prints its search |
# path with ; separators, and with drive letters. We can handle the |
# path with ; separators, and with drive letters. We can handle the |
# drive letters (cygwin fileutils understands them), so leave them, |
# drive letters (cygwin fileutils understands them), so leave them, |
# especially as we might pass files found there to a mingw objdump, |
# especially as we might pass files found there to a mingw objdump, |
# which wouldn't understand a cygwinified path. Ahh. |
# which wouldn't understand a cygwinified path. Ahh. |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
else |
else |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
fi |
fi |
;; |
;; |
pw32*) |
pw32*) |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
# pw32 DLLs use 'pw' prefix rather than 'lib' |
library_names_spec='`$ECHO ${libname} | sed -e 's/^lib/pw/'``$ECHO ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' |
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
;; |
;; |
esac |
esac |
;; |
;; |
|
|
*) |
*) |
library_names_spec='${libname}`$ECHO ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
;; |
;; |
esac |
esac |
dynamic_linker='Win32 ld.exe' |
dynamic_linker='Win32 ld.exe' |
|
|
version_type=darwin |
version_type=darwin |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
soname_spec='${libname}${release}${major}$shared_ext' |
soname_spec='${libname}${release}${major}$shared_ext' |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
shlibpath_var=DYLD_LIBRARY_PATH |
shlibpath_var=DYLD_LIBRARY_PATH |
shrext_cmds='$(test .$module = .yes && $ECHO .so || $ECHO .dylib)' |
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. |
|
if test "$withGCC" = yes; then |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" |
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | $GREP "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` |
|
else |
|
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' |
|
fi |
|
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
;; |
;; |
|
|
|
|
dynamic_linker=no |
dynamic_linker=no |
;; |
;; |
|
|
kfreebsd*-gnu) |
freebsd* | dragonfly*) |
version_type=linux |
# DragonFly does not have aout. When/if they implement a new |
need_lib_prefix=no |
# versioning mechanism, adjust this. |
need_version=no |
if test -x /usr/bin/objformat; then |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
objformat=`/usr/bin/objformat` |
soname_spec='${libname}${release}${shared_ext}$major' |
else |
shlibpath_var=LD_LIBRARY_PATH |
case $host_os in |
shlibpath_overrides_runpath=no |
freebsd[123]*) objformat=aout ;; |
hardcode_into_libs=yes |
*) objformat=elf ;; |
dynamic_linker='GNU ld.so' |
esac |
;; |
fi |
|
|
freebsd*) |
|
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || $ECHO aout` |
|
version_type=freebsd-$objformat |
version_type=freebsd-$objformat |
case $version_type in |
case $version_type in |
freebsd-elf*) |
freebsd-elf*) |
|
|
freebsd2*) |
freebsd2*) |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
;; |
;; |
freebsd3.01* | freebsdelf3.01*) |
freebsd3.[01]* | freebsdelf3.[01]*) |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
;; |
;; |
*) # from 3.2 on |
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
|
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
shlibpath_overrides_runpath=no |
shlibpath_overrides_runpath=no |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
;; |
;; |
|
*) # from 4.6 on, and DragonFly |
|
shlibpath_overrides_runpath=yes |
|
hardcode_into_libs=yes |
|
;; |
esac |
esac |
;; |
;; |
|
|
|
|
version_type=sunos |
version_type=sunos |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
case "$host_cpu" in |
case $host_cpu in |
ia64*) |
ia64*) |
shrext_cmds='.so' |
shrext_cmds='.so' |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
|
|
postinstall_cmds='chmod 555 $lib' |
postinstall_cmds='chmod 555 $lib' |
;; |
;; |
|
|
|
interix[3-9]*) |
|
version_type=linux |
|
need_lib_prefix=no |
|
need_version=no |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
soname_spec='${libname}${release}${shared_ext}$major' |
|
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
|
shlibpath_var=LD_LIBRARY_PATH |
|
shlibpath_overrides_runpath=no |
|
hardcode_into_libs=yes |
|
;; |
|
|
irix5* | irix6* | nonstopux*) |
irix5* | irix6* | nonstopux*) |
case $host_os in |
case $host_os in |
nonstopux*) version_type=nonstopux ;; |
nonstopux*) version_type=nonstopux ;; |
|
|
;; |
;; |
|
|
# This must be Linux ELF. |
# This must be Linux ELF. |
linux*) |
linux* | k*bsd*-gnu) |
version_type=linux |
version_type=linux |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
|
|
|
|
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '` |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
fi |
fi |
|
|
|
|
dynamic_linker='GNU/Linux ld.so' |
dynamic_linker='GNU/Linux ld.so' |
;; |
;; |
|
|
knetbsd*-gnu) |
|
version_type=linux |
|
need_lib_prefix=no |
|
need_version=no |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
soname_spec='${libname}${release}${shared_ext}$major' |
|
shlibpath_var=LD_LIBRARY_PATH |
|
shlibpath_overrides_runpath=no |
|
hardcode_into_libs=yes |
|
dynamic_linker='GNU ld.so' |
|
;; |
|
|
|
netbsd*) |
netbsd*) |
version_type=sunos |
version_type=sunos |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
if $ECHO __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
dynamic_linker='NetBSD (a.out) ld.so' |
dynamic_linker='NetBSD (a.out) ld.so' |
|
|
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
;; |
;; |
|
|
*nto* | *qnx*) |
nto-qnx*) |
version_type=qnx |
version_type=linux |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_overrides_runpath=no |
shlibpath_overrides_runpath=yes |
hardcode_into_libs=yes |
|
dynamic_linker='ldqnx.so' |
|
;; |
;; |
|
|
openbsd*) |
openbsd*) |
version_type=sunos |
version_type=sunos |
|
sys_lib_dlsearch_path_spec="/usr/lib" |
need_lib_prefix=no |
need_lib_prefix=no |
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
need_version=no |
case $host_os in |
|
openbsd3.3 | openbsd3.3.*) need_version=no ;; |
|
*) need_version=no ;; |
|
esac |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
if test -z "`$ECHO __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
case $host_os in |
case $host_os in |
openbsd2.[89] | openbsd2.[89].*) |
openbsd2.[89] | openbsd2.[89].*) |
shlibpath_overrides_runpath=no |
shlibpath_overrides_runpath=no |
|
|
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
;; |
;; |
|
|
sco3.2v5*) |
rdos*) |
version_type=osf |
dynamic_linker=no |
soname_spec='${libname}${release}${shared_ext}$major' |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
|
shlibpath_var=LD_LIBRARY_PATH |
|
;; |
;; |
|
|
solaris*) |
solaris*) |
|
|
need_version=no |
need_version=no |
;; |
;; |
|
|
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
sysv4 | sysv4.3*) |
version_type=linux |
version_type=linux |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
|
|
sni) |
sni) |
shlibpath_overrides_runpath=no |
shlibpath_overrides_runpath=no |
need_lib_prefix=no |
need_lib_prefix=no |
|
export_dynamic_flag_spec='${wl}-Blargedynsym' |
runpath_var=LD_RUN_PATH |
runpath_var=LD_RUN_PATH |
;; |
;; |
siemens) |
siemens) |
|
|
fi |
fi |
;; |
;; |
|
|
tpf*) |
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
version_type=freebsd-elf |
version_type=linux |
|
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
|
soname_spec='${libname}${release}${shared_ext}$major' |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_overrides_runpath=no |
|
hardcode_into_libs=yes |
hardcode_into_libs=yes |
|
if test "$with_gnu_ld" = yes; then |
|
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
|
shlibpath_overrides_runpath=no |
|
else |
|
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
|
shlibpath_overrides_runpath=yes |
|
case $host_os in |
|
sco3.2v5*) |
|
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
|
;; |
|
esac |
|
fi |
|
sys_lib_dlsearch_path_spec='/usr/lib' |
;; |
;; |
|
|
uts4*) |
uts4*) |
|
|
dynamic_linker=no |
dynamic_linker=no |
;; |
;; |
esac |
esac |
echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
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 |
|
|
|
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
if test "$GCC" = yes; then |
|
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
fi |
|
|
|
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
|
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } |
|
hardcode_action= |
|
if test -n "$hardcode_libdir_flag_spec" || \ |
|
test -n "$runpath_var" || \ |
|
test "X$hardcode_automatic" = "Xyes" ; then |
|
|
|
# We can hardcode non-existant directories. |
|
if test "$hardcode_direct" != no && |
|
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
|
# have to relink, otherwise we might link with an installed library |
|
# when we should be linking with a yet-to-be-installed one |
|
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && |
|
test "$hardcode_minus_L" != no; then |
|
# Linking always hardcodes the temporary library directory. |
|
hardcode_action=relink |
|
else |
|
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
|
hardcode_action=immediate |
|
fi |
|
else |
|
# We cannot hardcode anything, or else we can only hardcode existing |
|
# directories. |
|
hardcode_action=unsupported |
|
fi |
|
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5 |
|
echo "${ECHO_T}$hardcode_action" >&6; } |
|
|
|
if test "$hardcode_action" = relink; then |
|
# Fast installation is not supported |
|
enable_fast_install=no |
|
elif test "$shlibpath_overrides_runpath" = yes || |
|
test "$enable_shared" = no; then |
|
# Fast installation is not necessary |
|
enable_fast_install=needless |
|
fi |
|
|
|
striplib= |
|
old_striplib= |
|
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
|
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; } |
|
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
|
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
|
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
|
{ echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6; } |
|
else |
|
# FIXME - insert some real tests, host_os isn't really good enough |
|
case $host_os in |
|
darwin*) |
|
if test -n "$STRIP" ; then |
|
striplib="$STRIP -x" |
|
old_striplib="$STRIP -S" |
|
{ echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6; } |
|
else |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
fi |
|
;; |
|
*) |
|
{ echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6; } |
|
;; |
|
esac |
|
fi |
|
|
|
if test "x$enable_dlopen" != xyes; then |
|
enable_dlopen=unknown |
|
enable_dlopen_self=unknown |
|
enable_dlopen_self_static=unknown |
|
else |
|
lt_cv_dlopen=no |
|
lt_cv_dlopen_libs= |
|
|
|
case $host_os in |
|
beos*) |
|
lt_cv_dlopen="load_add_on" |
|
lt_cv_dlopen_libs= |
|
lt_cv_dlopen_self=yes |
|
;; |
|
|
|
mingw* | pw32*) |
|
lt_cv_dlopen="LoadLibrary" |
|
lt_cv_dlopen_libs= |
|
;; |
|
|
|
cygwin*) |
|
lt_cv_dlopen="dlopen" |
|
lt_cv_dlopen_libs= |
|
;; |
|
|
|
darwin*) |
|
# if libdl is installed we need to link against it |
|
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
|
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } |
|
if test "${ac_cv_lib_dl_dlopen+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. */ |
|
|
|
/* 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 dlopen (); |
|
int |
|
main () |
|
{ |
|
return dlopen (); |
|
; |
|
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_dlopen=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_dl_dlopen=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_dlopen" >&5 |
|
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } |
|
if test $ac_cv_lib_dl_dlopen = yes; then |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
|
else |
|
|
|
lt_cv_dlopen="dyld" |
|
lt_cv_dlopen_libs= |
|
lt_cv_dlopen_self=yes |
|
|
|
fi |
|
|
|
;; |
|
|
|
*) |
|
{ echo "$as_me:$LINENO: checking for shl_load" >&5 |
|
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; } |
|
if test "${ac_cv_func_shl_load+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
#define shl_load innocuous_shl_load |
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
which can conflict with char shl_load (); 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 shl_load |
|
|
|
/* 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 shl_load (); |
|
/* 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_shl_load || defined __stub___shl_load |
|
choke me |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return shl_load (); |
|
; |
|
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_func_shl_load=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_func_shl_load=no |
|
fi |
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
fi |
|
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
|
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; } |
|
if test $ac_cv_func_shl_load = yes; then |
|
lt_cv_dlopen="shl_load" |
|
else |
|
{ echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
|
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } |
|
if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-ldld $LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
/* 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 shl_load (); |
|
int |
|
main () |
|
{ |
|
return shl_load (); |
|
; |
|
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_dld_shl_load=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_dld_shl_load=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_dld_shl_load" >&5 |
|
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } |
|
if test $ac_cv_lib_dld_shl_load = yes; then |
|
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" |
|
else |
|
{ echo "$as_me:$LINENO: checking for dlopen" >&5 |
|
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } |
|
if test "${ac_cv_func_dlopen+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
#define dlopen innocuous_dlopen |
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
which can conflict with char dlopen (); 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 dlopen |
|
|
|
/* 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 dlopen (); |
|
/* 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_dlopen || defined __stub___dlopen |
|
choke me |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return dlopen (); |
|
; |
|
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_func_dlopen=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_func_dlopen=no |
|
fi |
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
fi |
|
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
|
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; } |
|
if test $ac_cv_func_dlopen = yes; then |
|
lt_cv_dlopen="dlopen" |
|
else |
|
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
|
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } |
|
if test "${ac_cv_lib_dl_dlopen+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. */ |
|
|
|
/* 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 dlopen (); |
|
int |
|
main () |
|
{ |
|
return dlopen (); |
|
; |
|
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_dlopen=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_dl_dlopen=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_dlopen" >&5 |
|
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } |
|
if test $ac_cv_lib_dl_dlopen = yes; then |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
|
else |
|
{ echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 |
|
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; } |
|
if test "${ac_cv_lib_svld_dlopen+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lsvld $LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
/* 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 dlopen (); |
|
int |
|
main () |
|
{ |
|
return dlopen (); |
|
; |
|
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_svld_dlopen=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_svld_dlopen=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_svld_dlopen" >&5 |
|
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; } |
|
if test $ac_cv_lib_svld_dlopen = yes; then |
|
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
|
else |
|
{ echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 |
|
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; } |
|
if test "${ac_cv_lib_dld_dld_link+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-ldld $LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
/* 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 dld_link (); |
|
int |
|
main () |
|
{ |
|
return dld_link (); |
|
; |
|
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_dld_dld_link=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_dld_dld_link=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_dld_dld_link" >&5 |
|
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } |
|
if test $ac_cv_lib_dld_dld_link = yes; then |
|
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" |
|
fi |
|
|
|
|
|
fi |
|
|
|
|
|
fi |
|
|
|
|
|
fi |
|
|
|
|
|
fi |
|
|
|
|
|
fi |
|
|
|
;; |
|
esac |
|
|
|
if test "x$lt_cv_dlopen" != xno; then |
|
enable_dlopen=yes |
|
else |
|
enable_dlopen=no |
|
fi |
|
|
|
case $lt_cv_dlopen in |
|
dlopen) |
|
save_CPPFLAGS="$CPPFLAGS" |
|
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
|
|
|
save_LDFLAGS="$LDFLAGS" |
|
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
|
|
|
save_LIBS="$LIBS" |
|
LIBS="$lt_cv_dlopen_libs $LIBS" |
|
|
|
{ echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 |
|
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; } |
|
if test "${lt_cv_dlopen_self+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test "$cross_compiling" = yes; then : |
|
lt_cv_dlopen_self=cross |
|
else |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
lt_status=$lt_dlunknown |
|
cat > conftest.$ac_ext <<EOF |
|
#line 10369 "configure" |
|
#include "confdefs.h" |
|
|
|
#if HAVE_DLFCN_H |
|
#include <dlfcn.h> |
|
#endif |
|
|
|
#include <stdio.h> |
|
|
|
#ifdef RTLD_GLOBAL |
|
# define LT_DLGLOBAL RTLD_GLOBAL |
|
#else |
|
# ifdef DL_GLOBAL |
|
# define LT_DLGLOBAL DL_GLOBAL |
|
# else |
|
# define LT_DLGLOBAL 0 |
|
# endif |
|
#endif |
|
|
|
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
|
find out it does not work in some platform. */ |
|
#ifndef LT_DLLAZY_OR_NOW |
|
# ifdef RTLD_LAZY |
|
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
# else |
|
# ifdef DL_LAZY |
|
# define LT_DLLAZY_OR_NOW DL_LAZY |
|
# else |
|
# ifdef RTLD_NOW |
|
# define LT_DLLAZY_OR_NOW RTLD_NOW |
|
# else |
|
# ifdef DL_NOW |
|
# define LT_DLLAZY_OR_NOW DL_NOW |
|
# else |
|
# define LT_DLLAZY_OR_NOW 0 |
|
# endif |
|
# endif |
|
# endif |
|
# endif |
|
#endif |
|
|
|
#ifdef __cplusplus |
|
extern "C" void exit (int); |
|
#endif |
|
|
|
void fnord() { int i=42;} |
|
int main () |
|
{ |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
int status = $lt_dlunknown; |
|
|
|
if (self) |
|
{ |
|
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
/* dlclose (self); */ |
|
} |
|
else |
|
puts (dlerror ()); |
|
|
|
exit (status); |
|
} |
|
EOF |
|
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); } && test -s conftest${ac_exeext} 2>/dev/null; then |
|
(./conftest; exit; ) >&5 2>/dev/null |
|
lt_status=$? |
|
case x$lt_status in |
|
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
|
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
|
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; |
|
esac |
|
else : |
|
# compilation failed |
|
lt_cv_dlopen_self=no |
|
fi |
|
fi |
|
rm -fr conftest* |
|
|
|
|
|
fi |
|
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 |
|
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; } |
|
|
|
if test "x$lt_cv_dlopen_self" = xyes; then |
|
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
|
{ echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 |
|
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; } |
|
if test "${lt_cv_dlopen_self_static+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test "$cross_compiling" = yes; then : |
|
lt_cv_dlopen_self_static=cross |
|
else |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
lt_status=$lt_dlunknown |
|
cat > conftest.$ac_ext <<EOF |
|
#line 10469 "configure" |
|
#include "confdefs.h" |
|
|
|
#if HAVE_DLFCN_H |
|
#include <dlfcn.h> |
|
#endif |
|
|
|
#include <stdio.h> |
|
|
|
#ifdef RTLD_GLOBAL |
|
# define LT_DLGLOBAL RTLD_GLOBAL |
|
#else |
|
# ifdef DL_GLOBAL |
|
# define LT_DLGLOBAL DL_GLOBAL |
|
# else |
|
# define LT_DLGLOBAL 0 |
|
# endif |
|
#endif |
|
|
|
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
|
find out it does not work in some platform. */ |
|
#ifndef LT_DLLAZY_OR_NOW |
|
# ifdef RTLD_LAZY |
|
# define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
# else |
|
# ifdef DL_LAZY |
|
# define LT_DLLAZY_OR_NOW DL_LAZY |
|
# else |
|
# ifdef RTLD_NOW |
|
# define LT_DLLAZY_OR_NOW RTLD_NOW |
|
# else |
|
# ifdef DL_NOW |
|
# define LT_DLLAZY_OR_NOW DL_NOW |
|
# else |
|
# define LT_DLLAZY_OR_NOW 0 |
|
# endif |
|
# endif |
|
# endif |
|
# endif |
|
#endif |
|
|
|
#ifdef __cplusplus |
|
extern "C" void exit (int); |
|
#endif |
|
|
|
void fnord() { int i=42;} |
|
int main () |
|
{ |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
int status = $lt_dlunknown; |
|
|
|
if (self) |
|
{ |
|
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
/* dlclose (self); */ |
|
} |
|
else |
|
puts (dlerror ()); |
|
|
|
exit (status); |
|
} |
|
EOF |
|
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); } && test -s conftest${ac_exeext} 2>/dev/null; then |
|
(./conftest; exit; ) >&5 2>/dev/null |
|
lt_status=$? |
|
case x$lt_status in |
|
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
|
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
|
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; |
|
esac |
|
else : |
|
# compilation failed |
|
lt_cv_dlopen_self_static=no |
|
fi |
|
fi |
|
rm -fr conftest* |
|
|
|
|
|
fi |
|
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 |
|
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; } |
|
fi |
|
|
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
CPPFLAGS="$save_CPPFLAGS" |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
LDFLAGS="$save_LDFLAGS" |
hardcode_action= |
LIBS="$save_LIBS" |
if test -n "$hardcode_libdir_flag_spec" || |
;; |
test -n "$runpath_var" || |
esac |
test "X$hardcode_automatic" = "Xyes" ; then |
|
|
|
# We can hardcode non-existant directories. |
case $lt_cv_dlopen_self in |
if test "$hardcode_direct" != no && |
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
# If the only mechanism to avoid hardcoding is shlibpath_var, we |
*) enable_dlopen_self=unknown ;; |
# have to relink, otherwise we might link with an installed library |
esac |
# when we should be linking with a yet-to-be-installed one |
|
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && |
|
test "$hardcode_minus_L" != no; then |
|
# Linking always hardcodes the temporary library directory. |
|
hardcode_action=relink |
|
else |
|
# We can link without hardcoding, and we can hardcode nonexisting dirs. |
|
hardcode_action=immediate |
|
fi |
|
else |
|
# We cannot hardcode anything, or else we can only hardcode existing |
|
# directories. |
|
hardcode_action=unsupported |
|
fi |
|
echo "$as_me:$LINENO: result: $hardcode_action" >&5 |
|
echo "${ECHO_T}$hardcode_action" >&6 |
|
|
|
if test "$hardcode_action" = relink || |
case $lt_cv_dlopen_self_static in |
test "$inherit_rpath" = yes; then |
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
# Fast installation is not supported |
*) enable_dlopen_self_static=unknown ;; |
enable_fast_install=no |
esac |
elif test "$shlibpath_overrides_runpath" = yes || |
|
test "$enable_shared" = no; then |
|
# Fast installation is not necessary |
|
enable_fast_install=needless |
|
fi |
fi |
|
|
|
|
|
# Report which library types will actually be built |
|
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
|
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } |
|
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5 |
|
echo "${ECHO_T}$can_build_shared" >&6; } |
|
|
|
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 |
|
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } |
|
test "$can_build_shared" = "no" && enable_shared=no |
|
|
|
# On AIX, shared libraries and static libraries use the same namespace, and |
|
# are all built from PIC. |
|
case $host_os in |
|
aix3*) |
|
test "$enable_shared" = yes && enable_static=no |
|
if test -n "$RANLIB"; then |
|
archive_cmds="$archive_cmds~\$RANLIB \$lib" |
|
postinstall_cmds='$RANLIB $lib' |
|
fi |
|
;; |
|
|
|
aix4* | aix5*) |
|
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
|
test "$enable_shared" = yes && enable_static=no |
|
fi |
|
;; |
|
esac |
|
{ echo "$as_me:$LINENO: result: $enable_shared" >&5 |
|
echo "${ECHO_T}$enable_shared" >&6; } |
|
|
|
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5 |
|
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } |
|
# Make sure either enable_shared or enable_static is yes. |
|
test "$enable_shared" = yes || enable_static=yes |
|
{ echo "$as_me:$LINENO: result: $enable_static" >&5 |
|
echo "${ECHO_T}$enable_static" >&6; } |
|
|
striplib= |
# The else clause should only fire when bootstrapping the |
old_striplib= |
# libtool distribution, otherwise you forgot to ship ltmain.sh |
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
# with your package, and you will get complaints that there are |
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
# no rules to generate ltmain.sh. |
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
if test -f "$ltmain"; then |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
# See if we are running on zsh, and set the options which allow our commands through |
test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
# without removal of \ escapes. |
echo "$as_me:$LINENO: result: yes" >&5 |
if test -n "${ZSH_VERSION+set}" ; then |
echo "${ECHO_T}yes" >&6 |
setopt NO_GLOB_SUBST |
else |
fi |
# FIXME - insert some real tests, host_os isn't really good enough |
# Now quote all the things that may contain metacharacters while being |
case $host_os in |
# careful not to overquote the AC_SUBSTed values. We take copies of the |
darwin*) |
# variables and quote the copies for generation of the libtool script. |
if test -n "$STRIP" ; then |
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ |
striplib="$STRIP -x" |
SED SHELL STRIP \ |
old_striplib="$STRIP -S" |
libname_spec library_names_spec soname_spec extract_expsyms_cmds \ |
echo "$as_me:$LINENO: result: yes" >&5 |
old_striplib striplib file_magic_cmd finish_cmds finish_eval \ |
echo "${ECHO_T}yes" >&6 |
deplibs_check_method reload_flag reload_cmds need_locks \ |
else |
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ |
echo "$as_me:$LINENO: result: no" >&5 |
lt_cv_sys_global_symbol_to_c_name_address \ |
echo "${ECHO_T}no" >&6 |
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ |
fi |
old_postinstall_cmds old_postuninstall_cmds \ |
;; |
compiler \ |
*) |
CC \ |
echo "$as_me:$LINENO: result: no" >&5 |
LD \ |
echo "${ECHO_T}no" >&6 |
lt_prog_compiler_wl \ |
|
lt_prog_compiler_pic \ |
|
lt_prog_compiler_static \ |
|
lt_prog_compiler_no_builtin_flag \ |
|
export_dynamic_flag_spec \ |
|
thread_safe_flag_spec \ |
|
whole_archive_flag_spec \ |
|
enable_shared_with_static_runtimes \ |
|
old_archive_cmds \ |
|
old_archive_from_new_cmds \ |
|
predep_objects \ |
|
postdep_objects \ |
|
predeps \ |
|
postdeps \ |
|
compiler_lib_search_path \ |
|
archive_cmds \ |
|
archive_expsym_cmds \ |
|
postinstall_cmds \ |
|
postuninstall_cmds \ |
|
old_archive_from_expsyms_cmds \ |
|
allow_undefined_flag \ |
|
no_undefined_flag \ |
|
export_symbols_cmds \ |
|
hardcode_libdir_flag_spec \ |
|
hardcode_libdir_flag_spec_ld \ |
|
hardcode_libdir_separator \ |
|
hardcode_automatic \ |
|
module_cmds \ |
|
module_expsym_cmds \ |
|
lt_cv_prog_compiler_c_o \ |
|
fix_srcfile_path \ |
|
exclude_expsyms \ |
|
include_expsyms; do |
|
|
|
case $var in |
|
old_archive_cmds | \ |
|
old_archive_from_new_cmds | \ |
|
archive_cmds | \ |
|
archive_expsym_cmds | \ |
|
module_cmds | \ |
|
module_expsym_cmds | \ |
|
old_archive_from_expsyms_cmds | \ |
|
export_symbols_cmds | \ |
|
extract_expsyms_cmds | reload_cmds | finish_cmds | \ |
|
postinstall_cmds | postuninstall_cmds | \ |
|
old_postinstall_cmds | old_postuninstall_cmds | \ |
|
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) |
|
# Double-quote double-evaled strings. |
|
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" |
|
;; |
|
*) |
|
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" |
|
;; |
|
esac |
|
done |
|
|
|
case $lt_echo in |
|
*'\$0 --fallback-echo"') |
|
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` |
;; |
;; |
esac |
esac |
fi |
|
|
|
|
cfgfile="${ofile}T" |
|
trap "$rm \"$cfgfile\"; exit 1" 1 2 15 |
|
$rm -f "$cfgfile" |
|
{ echo "$as_me:$LINENO: creating $ofile" >&5 |
|
echo "$as_me: creating $ofile" >&6;} |
|
|
|
cat <<__EOF__ >> "$cfgfile" |
|
#! $SHELL |
|
|
|
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. |
|
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) |
|
# 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 |
|
# Free Software Foundation, Inc. |
|
# |
|
# This file is part of GNU Libtool: |
|
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 |
|
# |
|
# This program is free software; you can redistribute it and/or modify |
|
# it under the terms of the GNU General Public License as published by |
|
# the Free Software Foundation; either version 2 of the License, or |
|
# (at your option) any later version. |
|
# |
|
# This program is distributed in the hope that it will be useful, but |
|
# WITHOUT ANY WARRANTY; without even the implied warranty of |
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
# General Public License for more details. |
|
# |
|
# You should have received a copy of the GNU General Public License |
|
# along with this program; if not, write to the Free Software |
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
# |
|
# As a special exception to the GNU General Public License, if you |
|
# distribute this file as part of a program that contains a |
|
# configuration script generated by Autoconf, you may include it under |
|
# the same distribution terms that you use for the rest of that program. |
|
|
|
# A sed program that does not truncate output. |
|
SED=$lt_SED |
|
|
|
# Sed that helps us avoid accidentally triggering echo(1) options like -n. |
|
Xsed="$SED -e 1s/^X//" |
|
|
|
# The HP-UX ksh and POSIX shell print the target directory to stdout |
|
# if CDPATH is set. |
|
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
|
|
# The names of the tagged configurations supported by this script. |
|
available_tags= |
|
|
|
# ### BEGIN LIBTOOL CONFIG |
|
|
|
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
|
|
|
# Shell to use when invoking shell scripts. |
|
SHELL=$lt_SHELL |
|
|
|
# Whether or not to build shared libraries. |
|
build_libtool_libs=$enable_shared |
|
|
# Report which library types will actually be built |
# Whether or not to build static libraries. |
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
build_old_libs=$enable_static |
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 |
|
echo "$as_me:$LINENO: result: $can_build_shared" >&5 |
|
echo "${ECHO_T}$can_build_shared" >&6 |
|
|
|
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 |
# Whether or not to add -lc for building shared libraries. |
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 |
build_libtool_need_lc=$archive_cmds_need_lc |
test "$can_build_shared" = "no" && enable_shared=no |
|
|
|
# On AIX, shared libraries and static libraries use the same namespace, and |
# Whether or not to disallow shared libs when runtime libs are static |
# are all built from PIC. |
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes |
case "$host_os" in |
|
|
# Whether or not to optimize for fast installation. |
|
fast_install=$enable_fast_install |
|
|
|
# The host system. |
|
host_alias=$host_alias |
|
host=$host |
|
host_os=$host_os |
|
|
|
# The build system. |
|
build_alias=$build_alias |
|
build=$build |
|
build_os=$build_os |
|
|
|
# An echo program that does not interpret backslashes. |
|
echo=$lt_echo |
|
|
|
# The archiver. |
|
AR=$lt_AR |
|
AR_FLAGS=$lt_AR_FLAGS |
|
|
|
# A C compiler. |
|
LTCC=$lt_LTCC |
|
|
|
# LTCC compiler flags. |
|
LTCFLAGS=$lt_LTCFLAGS |
|
|
|
# A language-specific compiler. |
|
CC=$lt_compiler |
|
|
|
# Is the compiler the GNU C compiler? |
|
with_gcc=$GCC |
|
|
|
# An ERE matcher. |
|
EGREP=$lt_EGREP |
|
|
|
# The linker used to build libraries. |
|
LD=$lt_LD |
|
|
|
# Whether we need hard or soft links. |
|
LN_S=$lt_LN_S |
|
|
|
# A BSD-compatible nm program. |
|
NM=$lt_NM |
|
|
|
# A symbol stripping program |
|
STRIP=$lt_STRIP |
|
|
|
# Used to examine libraries when file_magic_cmd begins "file" |
|
MAGIC_CMD=$MAGIC_CMD |
|
|
|
# Used on cygwin: DLL creation program. |
|
DLLTOOL="$DLLTOOL" |
|
|
|
# Used on cygwin: object dumper. |
|
OBJDUMP="$OBJDUMP" |
|
|
|
# Used on cygwin: assembler. |
|
AS="$AS" |
|
|
|
# The name of the directory that contains temporary libtool files. |
|
objdir=$objdir |
|
|
|
# How to create reloadable object files. |
|
reload_flag=$lt_reload_flag |
|
reload_cmds=$lt_reload_cmds |
|
|
|
# How to pass a linker flag through the compiler. |
|
wl=$lt_lt_prog_compiler_wl |
|
|
|
# Object file suffix (normally "o"). |
|
objext="$ac_objext" |
|
|
|
# Old archive suffix (normally "a"). |
|
libext="$libext" |
|
|
|
# Shared library suffix (normally ".so"). |
|
shrext_cmds='$shrext_cmds' |
|
|
|
# Executable file suffix (normally ""). |
|
exeext="$exeext" |
|
|
|
# Additional compiler flags for building library objects. |
|
pic_flag=$lt_lt_prog_compiler_pic |
|
pic_mode=$pic_mode |
|
|
|
# What is the maximum length of a command? |
|
max_cmd_len=$lt_cv_sys_max_cmd_len |
|
|
|
# Does compiler simultaneously support -c and -o options? |
|
compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
|
|
|
# Must we lock files when doing compilation? |
|
need_locks=$lt_need_locks |
|
|
|
# Do we need the lib prefix for modules? |
|
need_lib_prefix=$need_lib_prefix |
|
|
|
# Do we need a version for libraries? |
|
need_version=$need_version |
|
|
|
# Whether dlopen is supported. |
|
dlopen_support=$enable_dlopen |
|
|
|
# Whether dlopen of programs is supported. |
|
dlopen_self=$enable_dlopen_self |
|
|
|
# Whether dlopen of statically linked programs is supported. |
|
dlopen_self_static=$enable_dlopen_self_static |
|
|
|
# Compiler flag to prevent dynamic linking. |
|
link_static_flag=$lt_lt_prog_compiler_static |
|
|
|
# Compiler flag to turn off builtin functions. |
|
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
|
|
|
# Compiler flag to allow reflexive dlopens. |
|
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec |
|
|
|
# Compiler flag to generate shared objects directly from archives. |
|
whole_archive_flag_spec=$lt_whole_archive_flag_spec |
|
|
|
# Compiler flag to generate thread-safe objects. |
|
thread_safe_flag_spec=$lt_thread_safe_flag_spec |
|
|
|
# Library versioning type. |
|
version_type=$version_type |
|
|
|
# Format of library name prefix. |
|
libname_spec=$lt_libname_spec |
|
|
|
# List of archive names. First name is the real one, the rest are links. |
|
# The last name is the one that the linker finds with -lNAME. |
|
library_names_spec=$lt_library_names_spec |
|
|
|
# The coded name of the library, if different from the real name. |
|
soname_spec=$lt_soname_spec |
|
|
|
# Commands used to build and install an old-style archive. |
|
RANLIB=$lt_RANLIB |
|
old_archive_cmds=$lt_old_archive_cmds |
|
old_postinstall_cmds=$lt_old_postinstall_cmds |
|
old_postuninstall_cmds=$lt_old_postuninstall_cmds |
|
|
|
# Create an old-style archive from a shared archive. |
|
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds |
|
|
|
# Create a temporary old-style archive to link instead of a shared archive. |
|
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds |
|
|
|
# Commands used to build and install a shared archive. |
|
archive_cmds=$lt_archive_cmds |
|
archive_expsym_cmds=$lt_archive_expsym_cmds |
|
postinstall_cmds=$lt_postinstall_cmds |
|
postuninstall_cmds=$lt_postuninstall_cmds |
|
|
|
# Commands used to build a loadable module (assumed same as above if empty) |
|
module_cmds=$lt_module_cmds |
|
module_expsym_cmds=$lt_module_expsym_cmds |
|
|
|
# Commands to strip libraries. |
|
old_striplib=$lt_old_striplib |
|
striplib=$lt_striplib |
|
|
|
# Dependencies to place before the objects being linked to create a |
|
# shared library. |
|
predep_objects=$lt_predep_objects |
|
|
|
# Dependencies to place after the objects being linked to create a |
|
# shared library. |
|
postdep_objects=$lt_postdep_objects |
|
|
|
# Dependencies to place before the objects being linked to create a |
|
# shared library. |
|
predeps=$lt_predeps |
|
|
|
# Dependencies to place after the objects being linked to create a |
|
# shared library. |
|
postdeps=$lt_postdeps |
|
|
|
# The library search path used internally by the compiler when linking |
|
# a shared library. |
|
compiler_lib_search_path=$lt_compiler_lib_search_path |
|
|
|
# Method to check whether dependent libraries are shared objects. |
|
deplibs_check_method=$lt_deplibs_check_method |
|
|
|
# Command to use when deplibs_check_method == file_magic. |
|
file_magic_cmd=$lt_file_magic_cmd |
|
|
|
# Flag that allows shared libraries with undefined symbols to be built. |
|
allow_undefined_flag=$lt_allow_undefined_flag |
|
|
|
# Flag that forces no undefined symbols. |
|
no_undefined_flag=$lt_no_undefined_flag |
|
|
|
# Commands used to finish a libtool library installation in a directory. |
|
finish_cmds=$lt_finish_cmds |
|
|
|
# Same as above, but a single script fragment to be evaled but not shown. |
|
finish_eval=$lt_finish_eval |
|
|
|
# Take the output of nm and produce a listing of raw symbols and C names. |
|
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
|
|
|
# Transform the output of nm in a proper C declaration |
|
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
|
|
|
# Transform the output of nm in a C name address pair |
|
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
|
|
|
# This is the shared library runtime path variable. |
|
runpath_var=$runpath_var |
|
|
|
# This is the shared library path variable. |
|
shlibpath_var=$shlibpath_var |
|
|
|
# Is shlibpath searched before the hard-coded library search path? |
|
shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
|
|
|
# How to hardcode a shared library path into an executable. |
|
hardcode_action=$hardcode_action |
|
|
|
# Whether we should hardcode library paths into libraries. |
|
hardcode_into_libs=$hardcode_into_libs |
|
|
|
# Flag to hardcode \$libdir into a binary during linking. |
|
# This must work even if \$libdir does not exist. |
|
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
|
|
|
# If ld is used when linking, flag to hardcode \$libdir into |
|
# a binary during linking. This must work even if \$libdir does |
|
# not exist. |
|
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld |
|
|
|
# Whether we need a single -rpath flag with a separated argument. |
|
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
|
|
|
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the |
|
# resulting binary. |
|
hardcode_direct=$hardcode_direct |
|
|
|
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the |
|
# resulting binary. |
|
hardcode_minus_L=$hardcode_minus_L |
|
|
|
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into |
|
# the resulting binary. |
|
hardcode_shlibpath_var=$hardcode_shlibpath_var |
|
|
|
# Set to yes if building a shared library automatically hardcodes DIR into the library |
|
# and all subsequent libraries and executables linked against it. |
|
hardcode_automatic=$hardcode_automatic |
|
|
|
# Variables whose values should be saved in libtool wrapper scripts and |
|
# restored at relink time. |
|
variables_saved_for_relink="$variables_saved_for_relink" |
|
|
|
# Whether libtool must link a program against all its dependency libraries. |
|
link_all_deplibs=$link_all_deplibs |
|
|
|
# Compile-time system search path for libraries |
|
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
|
|
|
# Run-time system search path for libraries |
|
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
|
|
|
# Fix the shell variable \$srcfile for the compiler. |
|
fix_srcfile_path=$lt_fix_srcfile_path |
|
|
|
# Set to yes if exported symbols are required. |
|
always_export_symbols=$always_export_symbols |
|
|
|
# The commands to list exported symbols. |
|
export_symbols_cmds=$lt_export_symbols_cmds |
|
|
|
# The commands to extract the exported symbol list from a shared archive. |
|
extract_expsyms_cmds=$lt_extract_expsyms_cmds |
|
|
|
# Symbols that should not be listed in the preloaded symbols. |
|
exclude_expsyms=$lt_exclude_expsyms |
|
|
|
# Symbols that must always be exported. |
|
include_expsyms=$lt_include_expsyms |
|
|
|
# ### END LIBTOOL CONFIG |
|
|
|
__EOF__ |
|
|
|
|
|
case $host_os in |
aix3*) |
aix3*) |
test "$enable_shared" = yes && enable_static=no |
cat <<\EOF >> "$cfgfile" |
if test -n "$RANLIB"; then |
|
archive_cmds="$archive_cmds~\$RANLIB \$lib" |
|
postinstall_cmds='$RANLIB $lib' |
|
fi |
|
;; |
|
|
|
aix4* | aix5*) |
# AIX sometimes has problems with the GCC collect2 program. For some |
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
# reason, if we set the COLLECT_NAMES environment variable, the problems |
test "$enable_shared" = yes && enable_static=no |
# vanish in a puff of smoke. |
fi |
if test "X${COLLECT_NAMES+set}" != Xset; then |
|
COLLECT_NAMES= |
|
export COLLECT_NAMES |
|
fi |
|
EOF |
;; |
;; |
esac |
esac |
echo "$as_me:$LINENO: result: $enable_shared" >&5 |
|
echo "${ECHO_T}$enable_shared" >&6 |
|
|
|
echo "$as_me:$LINENO: checking whether to build static libraries" >&5 |
# We use sed instead of cat because bash on DJGPP gets confused if |
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 |
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
# Make sure either enable_shared or enable_static is yes. |
# text mode, it properly converts lines to CR/LF. This bash problem |
test "$enable_shared" = yes || enable_static=yes |
# is reportedly fixed, but why not run on old versions too? |
echo "$as_me:$LINENO: result: $enable_static" >&5 |
sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) |
echo "${ECHO_T}$enable_static" >&6 |
|
|
|
|
mv -f "$cfgfile" "$ofile" || \ |
|
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
|
chmod +x "$ofile" |
|
|
|
else |
|
# If there is no Makefile yet, we rely on a make rule to execute |
|
# `config.status --recheck' to rerun these tests and create the |
|
# libtool script then. |
|
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` |
|
if test -f "$ltmain_in"; then |
|
test -f Makefile && make "$ltmain" |
|
fi |
|
fi |
|
|
|
|
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' |
|
|
|
|
|
|
|
|
|
# This can be used to rebuild libtool when needed |
|
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" |
|
|
|
# Always use our own libtool. |
|
LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
|
|
|
# Prevent multiple expansion |
|
|
|
|
|
|
|
|
|
|
|
|
ac_config_commands="$ac_config_commands libtool" |
|
|
|
|
|
|
|
|
|
# Only expand once: |
|
|
|
|
|
|
|
if test "$enable_shared" = "no"; then |
if test "$enable_shared" = "no"; then |
with_noexec=no |
with_noexec=no |
else |
else |
eval _shrext="$shrext_cmds" |
eval _shrext="$shrext_cmds" |
fi |
fi |
echo "$as_me:$LINENO: checking path to sudo_noexec.so" >&5 |
{ echo "$as_me:$LINENO: checking path to sudo_noexec.so" >&5 |
echo $ECHO_N "checking path to sudo_noexec.so... $ECHO_C" >&6 |
echo $ECHO_N "checking path to sudo_noexec.so... $ECHO_C" >&6; } |
|
|
# Check whether --with-noexec or --without-noexec was given. |
# Check whether --with-noexec was given. |
if test "${with_noexec+set}" = set; then |
if test "${with_noexec+set}" = set; then |
withval="$with_noexec" |
withval=$with_noexec; case $with_noexec in |
case $with_noexec in |
|
yes) with_noexec="$libexecdir/sudo_noexec$_shrext" |
yes) with_noexec="$libexecdir/sudo_noexec$_shrext" |
;; |
;; |
no) ;; |
no) ;; |
|
|
esac |
esac |
else |
else |
with_noexec="$libexecdir/sudo_noexec$_shrext" |
with_noexec="$libexecdir/sudo_noexec$_shrext" |
fi; |
fi |
echo "$as_me:$LINENO: result: $with_noexec" >&5 |
|
echo "${ECHO_T}$with_noexec" >&6 |
{ echo "$as_me:$LINENO: result: $with_noexec" >&5 |
|
echo "${ECHO_T}$with_noexec" >&6; } |
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 |
|
|
|
|
# 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:$LINENO: 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 |
else |
else |
|
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
ac_cv_prog_UNAMEPROG="uname" |
ac_cv_prog_UNAMEPROG="uname" |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
fi |
fi |
done |
done |
done |
done |
|
IFS=$as_save_IFS |
|
|
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:$LINENO: 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:$LINENO: 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:$LINENO: 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 |
else |
else |
|
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
ac_cv_prog_TRPROG="tr" |
ac_cv_prog_TRPROG="tr" |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
fi |
fi |
done |
done |
done |
done |
|
IFS=$as_save_IFS |
|
|
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:$LINENO: 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:$LINENO: 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:$LINENO: 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 |
else |
else |
|
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
ac_cv_prog_NROFFPROG="nroff" |
ac_cv_prog_NROFFPROG="nroff" |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
fi |
fi |
done |
done |
done |
done |
|
IFS=$as_save_IFS |
|
|
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:$LINENO: 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:$LINENO: 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 "$NROFFPROG"; then |
if test -z "$NROFFPROG"; then |
MANTYPE="cat" |
MANTYPE="cat" |
mansrcdir='$(srcdir)' |
mansrcdir='$(srcdir)' |
|
|
echo "$as_me: error: config.cache was created on a different host; remove it and re-run configure." >&2;} |
echo "$as_me: error: config.cache was created on a different host; remove it and re-run configure." >&2;} |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
else |
else |
echo "$as_me:$LINENO: 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 |
else |
else |
sudo_cv_prev_host="$host" |
sudo_cv_prev_host="$host" |
fi |
fi |
|
|
echo "$as_me:$LINENO: result: $sudo_cv_prev_host" >&5 |
{ echo "$as_me:$LINENO: result: $sudo_cv_prev_host" >&5 |
echo "${ECHO_T}$sudo_cv_prev_host" >&6 |
echo "${ECHO_T}$sudo_cv_prev_host" >&6; } |
fi |
fi |
else |
else |
# this will produce no output since there is no cached value |
# this will produce no output since there is no cached value |
|
|
: ${mansectsu='1m'} |
: ${mansectsu='1m'} |
: ${mansectform='4'} |
: ${mansectform='4'} |
: ${with_rpath='yes'} |
: ${with_rpath='yes'} |
: ${with_pam='maybe'} |
test -z "$with_pam" && AUTH_EXCL_DEF="PAM" |
;; |
;; |
*-*-aix*) |
*-*-aix*) |
# To get all prototypes (so we pass -Wall) |
# To get all prototypes (so we pass -Wall) |
OSDEFS="${OSDEFS} -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE" |
OSDEFS="${OSDEFS} -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE" |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -Wl,-bI:\$(srcdir)/aixcrypt.exp" |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -Wl,-bI:\$(srcdir)/aixcrypt.exp" |
if test X"$with_blibpath" != X"no"; then |
if test X"$with_blibpath" != X"no"; then |
echo "$as_me:$LINENO: checking if linker accepts -Wl,-blibpath" >&5 |
{ echo "$as_me:$LINENO: checking if linker accepts -Wl,-blibpath" >&5 |
echo $ECHO_N "checking if linker accepts -Wl,-blibpath... $ECHO_C" >&6 |
echo $ECHO_N "checking if linker accepts -Wl,-blibpath... $ECHO_C" >&6; } |
O_LDFLAGS="$LDFLAGS" |
O_LDFLAGS="$LDFLAGS" |
LDFLAGS="$O_LDFLAGS -Wl,-blibpath:/usr/lib:/lib" |
LDFLAGS="$O_LDFLAGS -Wl,-blibpath:/usr/lib:/lib" |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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 |
|
|
|
if test -n "$with_blibpath" -a "$with_blibpath" != "yes"; then |
if test -n "$with_blibpath" -a "$with_blibpath" != "yes"; then |
blibpath="$with_blibpath" |
blibpath="$with_blibpath" |
|
|
else |
else |
blibpath="/usr/lib:/lib" |
blibpath="/usr/lib:/lib" |
fi |
fi |
echo "$as_me:$LINENO: 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 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
echo "$as_me:$LINENO: 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.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
LDFLAGS="$O_LDFLAGS" |
LDFLAGS="$O_LDFLAGS" |
|
|
# check for authenticate(3) |
# Use authenticate(3) as the default authentication method |
if test X"$with_aixauth" = X""; then |
if test X"$with_aixauth" = X""; then |
|
|
for ac_func in authenticate |
for ac_func in authenticate |
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 |
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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
_ACEOF |
_ACEOF |
with_aixauth=maybe |
AUTH_EXCL_DEF="AIX_AUTH" |
fi |
fi |
done |
done |
|
|
|
|
*) |
*) |
shadow_funcs="getspnam iscomsec" |
shadow_funcs="getspnam iscomsec" |
shadow_libs="-lsec" |
shadow_libs="-lsec" |
: ${with_pam='maybe'} |
test -z "$with_pam" && AUTH_EXCL_DEF="PAM" |
;; |
;; |
esac |
esac |
;; |
;; |
|
|
# 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:$LINENO: 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 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:$LINENO: 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:$LINENO: 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:$LINENO: result: no" >&5 |
*) { echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
{ echo "$as_me:$LINENO: WARNING: Ignoring unknown argument to --enable-sia: $enableval" >&5 |
{ echo "$as_me:$LINENO: WARNING: Ignoring unknown argument to --enable-sia: $enableval" >&5 |
echo "$as_me: WARNING: Ignoring unknown argument to --enable-sia: $enableval" >&2;} |
echo "$as_me: WARNING: Ignoring unknown argument to --enable-sia: $enableval" >&2;} |
;; |
;; |
esac |
esac |
|
|
else |
else |
echo "$as_me:$LINENO: result: no" >&5 |
{ echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
fi; |
fi |
|
|
|
|
shadow_funcs="getprpwnam dispcrypt" |
shadow_funcs="getprpwnam dispcrypt" |
# OSF/1 4.x and higher need -ldb too |
# OSF/1 4.x and higher need -ldb too |
if test $OSMAJOR -lt 4; then |
if test $OSMAJOR -lt 4; then |
|
|
fi |
fi |
|
|
# use SIA by default, if we have it |
# use SIA by default, if we have it |
if test "$CHECKSIA" = "true"; then |
test "$CHECKSIA" = "true" && AUTH_EXCL_DEF="SIA" |
|
|
for ac_func in sia_ses_init |
# |
do |
# Some versions of Digital Unix ship with a broken |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
# copy of prot.h, which we need for shadow passwords. |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
# XXX - make should remove this as part of distclean |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
# |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
{ echo "$as_me:$LINENO: checking for broken prot.h" >&5 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "checking for broken prot.h... $ECHO_C" >&6; } |
else |
cat >conftest.$ac_ext <<_ACEOF |
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. |
|
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 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 |
|
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 |
|
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>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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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.err 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 |
|
found=true |
|
else |
|
found=false |
|
fi |
|
done |
|
|
|
if test "$found" = "true"; then |
|
|
|
if test X"$AUTH_EXCL" != X""; then |
|
{ { echo "$as_me:$LINENO: error: \"cannot mix SIA with an exclusive authentication method such as $AUTH_EXCL\"" >&5 |
|
echo "$as_me: error: \"cannot mix SIA with an exclusive authentication method such as $AUTH_EXCL\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
elif test X"true" != X"" -a X"$AUTH_OBJS" != X"" -a X"$AUTH_OBJS" != X"passwd.o"; then |
|
_AUTH=`echo "$AUTH_OBJS" | sed 's/\.o//g'` |
|
{ { echo "$as_me:$LINENO: error: \"cannot mix SIA with other authentication methods (such as $_AUTH)\"" >&5 |
|
echo "$as_me: error: \"cannot mix SIA with other authentication methods (such as $_AUTH)\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
if test X"true" != X""; then |
|
AUTH_OBJS="sia.o" |
|
AUTH_EXCL="SIA" |
|
elif test X"$AUTH_OBJS" = X""; then |
|
AUTH_OBJS="sia.o" |
|
else |
|
AUTH_OBJS="$AUTH_OBJS sia.o" |
|
fi |
|
|
|
CHECKSHADOW=false |
|
fi |
|
fi |
|
if test "$CHECKSHADOW" = "true"; then |
|
# prot.h is included when using shadow passwords |
|
echo "$as_me:$LINENO: checking for broken prot.h" >&5 |
|
echo $ECHO_N "checking for broken prot.h... $ECHO_C" >&6 |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* 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> |
#include <prot.h> |
#include <prot.h> |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 2>&5 |
{ echo "$as_me:$LINENO: result: no" >&5 |
ac_status=$? |
echo "${ECHO_T}no" >&6; } |
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 |
|
echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6 |
|
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 |
|
|
echo "$as_me:$LINENO: 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 |
|
|
fi |
fi |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
fi |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
: ${mansectsu='8'} |
: ${mansectsu='8'} |
: ${mansectform='4'} |
: ${mansectform='4'} |
;; |
;; |
|
|
fi |
fi |
# IRIX <= 4 needs -lsun |
# IRIX <= 4 needs -lsun |
if test "$OSMAJOR" -le 4; then |
if test "$OSMAJOR" -le 4; then |
echo "$as_me:$LINENO: 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 |
else |
else |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char getpwnam (); |
char getpwnam (); |
int |
int |
main () |
main () |
{ |
{ |
getpwnam (); |
return getpwnam (); |
; |
; |
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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_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 |
sed 's/^/| /' 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.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:$LINENO: 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" |
fi |
fi |
|
|
# Some Linux versions need to link with -lshadow |
# Some Linux versions need to link with -lshadow |
shadow_funcs="getspnam" |
shadow_funcs="getspnam" |
shadow_libs_optional="-lshadow" |
shadow_libs_optional="-lshadow" |
: ${with_pam='maybe'} |
test -z "$with_pam" && AUTH_EXCL_DEF="PAM" |
;; |
;; |
*-convex-bsd*) |
*-convex-bsd*) |
OSDEFS="${OSDEFS} -D_CONVEX_SOURCE" |
OSDEFS="${OSDEFS} -D_CONVEX_SOURCE" |
|
|
: ${with_rpath='yes'} |
: ${with_rpath='yes'} |
;; |
;; |
*-ncr-sysv4*|*-ncr-sysvr4*) |
*-ncr-sysv4*|*-ncr-sysvr4*) |
echo "$as_me:$LINENO: 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 |
else |
else |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char strcasecmp (); |
char strcasecmp (); |
int |
int |
main () |
main () |
{ |
{ |
strcasecmp (); |
return strcasecmp (); |
; |
; |
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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_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 |
sed 's/^/| /' 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.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:$LINENO: 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 <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_STRCASECMP 1 |
#define HAVE_STRCASECMP 1 |
|
|
for ac_func in auth_challenge |
for ac_func in auth_challenge |
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 |
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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
_ACEOF |
_ACEOF |
with_bsdauth=maybe |
AUTH_EXCL_DEF="BSD_AUTH" |
fi |
fi |
done |
done |
|
|
|
|
if test "$with_skey" = "yes"; then |
if test "$with_skey" = "yes"; then |
SUDO_LIBS="${SUDO_LIBS} -lmd" |
SUDO_LIBS="${SUDO_LIBS} -lmd" |
fi |
fi |
if test "$CHECKSHADOW" = "true"; then |
CHECKSHADOW="false" |
CHECKSHADOW="false" |
test -z "$with_pam" && AUTH_EXCL_DEF="PAM" |
fi |
|
: ${with_pam='maybe'} |
|
: ${with_logincap='maybe'} |
: ${with_logincap='maybe'} |
;; |
;; |
*-*-*openbsd*) |
*-*-*openbsd*) |
# OpenBSD has a real setreuid(2) starting with 3.3 but |
# OpenBSD has a real setreuid(2) starting with 3.3 but |
# we will use setreuid(2) instead. |
# we will use setreuid(2) instead. |
SKIP_SETREUID=yes |
SKIP_SETREUID=yes |
if test "$CHECKSHADOW" = "true"; then |
CHECKSHADOW="false" |
CHECKSHADOW="false" |
|
fi |
|
# OpenBSD >= 3.0 supports BSD auth |
# OpenBSD >= 3.0 supports BSD auth |
if test -z "$with_bsdauth"; then |
if test -z "$with_bsdauth"; then |
case "$OSREV" in |
case "$OSREV" in |
0-2.*) |
0-2.*) |
;; |
;; |
*) |
*) |
with_bsdauth=maybe |
AUTH_EXCL_DEF="BSD_AUTH" |
;; |
;; |
esac |
esac |
fi |
fi |
|
|
SKIP_SETREUID=yes |
SKIP_SETREUID=yes |
;; |
;; |
esac |
esac |
if test "$CHECKSHADOW" = "true"; then |
CHECKSHADOW="false" |
CHECKSHADOW="false" |
test -z "$with_pam" && AUTH_EXCL_DEF="PAM" |
fi |
|
: ${with_logincap='maybe'} |
: ${with_logincap='maybe'} |
: ${with_pam='maybe'} |
|
;; |
;; |
*-*-dragonfly*) |
*-*-dragonfly*) |
if test "$with_skey" = "yes"; then |
if test "$with_skey" = "yes"; then |
SUDO_LIBS="${SUDO_LIBS} -lmd" |
SUDO_LIBS="${SUDO_LIBS} -lmd" |
fi |
fi |
if test "$CHECKSHADOW" = "true"; then |
CHECKSHADOW="false" |
CHECKSHADOW="false" |
test -z "$with_pam" && AUTH_EXCL_DEF="PAM" |
fi |
|
: ${with_pam='yes'} |
|
: ${with_logincap='yes'} |
: ${with_logincap='yes'} |
;; |
;; |
*-*-*bsd*) |
*-*-*bsd*) |
if test "$CHECKSHADOW" = "true"; then |
CHECKSHADOW="false" |
CHECKSHADOW="false" |
|
fi |
|
;; |
;; |
*-*-darwin*) |
*-*-darwin*) |
SKIP_SETREUID=yes |
SKIP_SETREUID=yes |
if test "$CHECKSHADOW" = "true"; then |
CHECKSHADOW="false" |
CHECKSHADOW="false" |
test -z "$with_pam" && AUTH_EXCL_DEF="PAM" |
fi |
|
: ${with_pam='yes'} |
|
: ${with_logincap='yes'} |
: ${with_logincap='yes'} |
;; |
;; |
*-*-nextstep*) |
*-*-nextstep*) |
|
|
;; |
;; |
esac |
esac |
|
|
|
AUTH_REG=${AUTH_REG# } |
|
AUTH_EXCL=${AUTH_EXCL# } |
|
if test -n "$AUTH_EXCL"; then |
|
set -- $AUTH_EXCL |
|
if test $# != 1; then |
|
{ { echo "$as_me:$LINENO: error: More than one mutually exclusive authentication method specified: $AUTH_EXCL" >&5 |
|
echo "$as_me: error: More than one mutually exclusive authentication method specified: $AUTH_EXCL" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
if test -n "$AUTH_REG"; then |
|
{ { echo "$as_me:$LINENO: error: Cannot mix mutually exclusive ($AUTH_EXCL) and regular ($AUTH_REG) authentication methods" >&5 |
|
echo "$as_me: error: Cannot mix mutually exclusive ($AUTH_EXCL) and regular ($AUTH_REG) authentication methods" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
fi |
|
if test X"${with_skey}${with_opie}" = X"yesyes"; then |
|
{ { 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;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
|
: ${mansectsu='8'} |
: ${mansectsu='8'} |
: ${mansectform='5'} |
: ${mansectform='5'} |
|
|
|
|
fi |
fi |
|
|
if test $ac_cv_c_compiler_gnu = yes; then |
if test $ac_cv_c_compiler_gnu = yes; then |
echo "$as_me:$LINENO: 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 |
|
|
|
|
fi |
fi |
fi |
fi |
echo "$as_me:$LINENO: 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:$LINENO: 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 |
|
|
#ifndef __cplusplus |
#ifndef __cplusplus |
/* Ultrix mips cc rejects this. */ |
/* Ultrix mips cc rejects this. */ |
typedef int charset[2]; |
typedef int charset[2]; |
const charset x; |
const charset cs; |
/* SunOS 4.1.1 cc rejects this. */ |
/* SunOS 4.1.1 cc rejects this. */ |
char const *const *ccp; |
char const *const *pcpcc; |
char **p; |
char **ppc; |
/* NEC SVR4.0.2 mips cc rejects this. */ |
/* NEC SVR4.0.2 mips cc rejects this. */ |
struct point {int x, y;}; |
struct point {int x, y;}; |
static struct point const zero = {0,0}; |
static struct point const zero = {0,0}; |
|
|
an arm of an if-expression whose if-part is not a constant |
an arm of an if-expression whose if-part is not a constant |
expression */ |
expression */ |
const char *g = "string"; |
const char *g = "string"; |
ccp = &g + (g ? g-g : 0); |
pcpcc = &g + (g ? g-g : 0); |
/* HPUX 7.0 cc rejects these. */ |
/* HPUX 7.0 cc rejects these. */ |
++ccp; |
++pcpcc; |
p = (char**) ccp; |
ppc = (char**) pcpcc; |
ccp = (char const *const *) p; |
pcpcc = (char const *const *) ppc; |
{ /* SCO 3.2v4 cc rejects this. */ |
{ /* SCO 3.2v4 cc rejects this. */ |
char *t; |
char *t; |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
|
|
*t++ = 0; |
*t++ = 0; |
|
if (s) return 0; |
} |
} |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
int x[] = {25, 17}; |
int x[] = {25, 17}; |
|
|
} |
} |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
const int foo = 10; |
const int foo = 10; |
|
if (!foo) return 0; |
} |
} |
|
return !cs[0] && !zero.x; |
#endif |
#endif |
|
|
; |
; |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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_c_const=yes |
ac_cv_c_const=yes |
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 |
|
|
ac_cv_c_const=no |
ac_cv_c_const=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: 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 <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
|
|
|
|
fi |
fi |
|
|
echo "$as_me:$LINENO: 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 |
|
|
{ |
{ |
|
|
volatile int x; |
volatile int x; |
int * volatile y; |
int * volatile y = (int *) 0; |
|
return !x && !y; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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_c_volatile=yes |
ac_cv_c_volatile=yes |
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 |
|
|
ac_cv_c_volatile=no |
ac_cv_c_volatile=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: 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 <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
|
|
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:$LINENO: 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 |
else |
else |
|
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
ac_cv_prog_YACC="$ac_prog" |
ac_cv_prog_YACC="$ac_prog" |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
fi |
fi |
done |
done |
done |
done |
|
IFS=$as_save_IFS |
|
|
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:$LINENO: 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:$LINENO: result: no" >&5 |
{ echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
fi |
fi |
|
|
|
|
test -n "$YACC" && break |
test -n "$YACC" && break |
done |
done |
test -n "$YACC" || YACC="yacc" |
test -n "$YACC" || YACC="yacc" |
|
|
echo "$as_me:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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 |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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_header_stdc=yes |
ac_cv_header_stdc=yes |
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 |
|
|
ac_cv_header_stdc=no |
ac_cv_header_stdc=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
|
|
rm -f core conftest.err 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 |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
#include <ctype.h> |
#include <ctype.h> |
|
#include <stdlib.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)) |
|
|
for (i = 0; i < 256; i++) |
for (i = 0; i < 256; i++) |
if (XOR (islower (i), ISLOWER (i)) |
if (XOR (islower (i), ISLOWER (i)) |
|| toupper (i) != TOUPPER (i)) |
|| toupper (i) != TOUPPER (i)) |
exit(2); |
return 2; |
exit (0); |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest$ac_exeext |
rm -f conftest$ac_exeext |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>&5 |
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>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $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:$LINENO: \"$ac_try\"") >&5 |
{ (case "(($ac_try" in |
(eval $ac_try) 2>&5 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
(eval "$ac_try") 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
|
|
( exit $ac_status ) |
( exit $ac_status ) |
ac_cv_header_stdc=no |
ac_cv_header_stdc=no |
fi |
fi |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
|
|
|
|
fi |
fi |
fi |
fi |
echo "$as_me:$LINENO: 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 <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
|
|
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:$LINENO: 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 { as_var=$as_ac_Header; eval "test \"\${$as_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 |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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" |
eval "$as_ac_Header=yes" |
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_Header=no" |
eval "$as_ac_Header=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_Header'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 |
|
|
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:$LINENO: checking for library containing opendir" >&5 |
{ echo "$as_me:$LINENO: checking for library containing opendir" >&5 |
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 |
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } |
if test "${ac_cv_search_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_func_search_save_LIBS=$LIBS |
ac_func_search_save_LIBS=$LIBS |
ac_cv_search_opendir=no |
|
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
#endif |
#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 (); |
char opendir (); |
int |
int |
main () |
main () |
{ |
{ |
opendir (); |
return opendir (); |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
for ac_lib in '' dir; do |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if test -z "$ac_lib"; then |
(eval $ac_link) 2>conftest.er1 |
ac_res="none required" |
|
else |
|
ac_res=-l$ac_lib |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
fi |
|
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
ac_status=$? |
ac_cv_search_opendir=$ac_res |
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="none required" |
|
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 |
|
|
|
|
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
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 |
|
/* 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. */ |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
#ifdef __cplusplus |
conftest$ac_exeext |
extern "C" |
if test "${ac_cv_search_opendir+set}" = set; then |
#endif |
break |
/* We use char because int might match the return type of a gcc2 |
fi |
builtin and then its argument prototype would still apply. */ |
done |
char opendir (); |
if test "${ac_cv_search_opendir+set}" = set; then |
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>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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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 |
else |
echo "$as_me: failed program was:" >&5 |
ac_cv_search_opendir=no |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
rm conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
|
done |
|
fi |
|
LIBS=$ac_func_search_save_LIBS |
LIBS=$ac_func_search_save_LIBS |
fi |
fi |
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 |
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 |
echo "${ECHO_T}$ac_cv_search_opendir" >&6 |
echo "${ECHO_T}$ac_cv_search_opendir" >&6; } |
if test "$ac_cv_search_opendir" != no; then |
ac_res=$ac_cv_search_opendir |
test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" |
if test "$ac_res" != no; then |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
|
fi |
fi |
|
|
else |
else |
echo "$as_me:$LINENO: checking for library containing opendir" >&5 |
{ echo "$as_me:$LINENO: checking for library containing opendir" >&5 |
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 |
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } |
if test "${ac_cv_search_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_func_search_save_LIBS=$LIBS |
ac_func_search_save_LIBS=$LIBS |
ac_cv_search_opendir=no |
|
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
#endif |
#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 (); |
char opendir (); |
int |
int |
main () |
main () |
{ |
{ |
opendir (); |
return opendir (); |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
for ac_lib in '' x; do |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if test -z "$ac_lib"; then |
(eval $ac_link) 2>conftest.er1 |
ac_res="none required" |
|
else |
|
ac_res=-l$ac_lib |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
fi |
|
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
ac_status=$? |
ac_cv_search_opendir=$ac_res |
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="none required" |
|
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 |
|
|
|
|
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
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 |
|
/* 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. */ |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
#ifdef __cplusplus |
conftest$ac_exeext |
extern "C" |
if test "${ac_cv_search_opendir+set}" = set; then |
#endif |
break |
/* We use char because int might match the return type of a gcc2 |
fi |
builtin and then its argument prototype would still apply. */ |
done |
char opendir (); |
if test "${ac_cv_search_opendir+set}" = set; then |
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>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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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 |
else |
echo "$as_me: failed program was:" >&5 |
ac_cv_search_opendir=no |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
rm conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
|
done |
|
fi |
|
LIBS=$ac_func_search_save_LIBS |
LIBS=$ac_func_search_save_LIBS |
fi |
fi |
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 |
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 |
echo "${ECHO_T}$ac_cv_search_opendir" >&6 |
echo "${ECHO_T}$ac_cv_search_opendir" >&6; } |
if test "$ac_cv_search_opendir" != no; then |
ac_res=$ac_cv_search_opendir |
test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" |
if test "$ac_res" != no; then |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
|
fi |
fi |
|
|
fi |
fi |
|
|
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 |
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } |
if test "${ac_cv_header_time+set}" = set; then |
if test "${ac_cv_header_time+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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_header_time=yes |
ac_cv_header_time=yes |
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 |
|
|
ac_cv_header_time=no |
ac_cv_header_time=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
echo "${ECHO_T}$ac_cv_header_time" >&6 |
echo "${ECHO_T}$ac_cv_header_time" >&6; } |
if test $ac_cv_header_time = yes; then |
if test $ac_cv_header_time = yes; then |
|
|
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
|
|
for ac_header in malloc.h paths.h utime.h netgroup.h sys/sockio.h sys/bsdtypes.h sys/select.h |
for ac_header in malloc.h paths.h utime.h netgroup.h sys/sockio.h sys/bsdtypes.h sys/select.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` |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
echo "$as_me:$LINENO: 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 { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_Header'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
else |
else |
# Is the header compilable? |
# Is the header compilable? |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
|
|
#include <$ac_header> |
#include <$ac_header> |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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 |
ac_header_compiler=yes |
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 |
|
|
ac_header_compiler=no |
ac_header_compiler=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
|
|
rm -f core conftest.err 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? |
# Is the header present? |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
|
|
/* end confdefs.h. */ |
/* end confdefs.h. */ |
#include <$ac_header> |
#include <$ac_header> |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
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_cpp conftest.$ac_ext") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null && { |
if test -s conftest.err; then |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
ac_cpp_err=$ac_c_preproc_warn_flag |
test ! -s conftest.err |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
}; then |
else |
|
ac_cpp_err= |
|
fi |
|
else |
|
ac_cpp_err=yes |
|
fi |
|
if test -z "$ac_cpp_err"; then |
|
ac_header_preproc=yes |
ac_header_preproc=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
|
|
|
|
ac_header_preproc=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 "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
|
|
# So? What about this header? |
# So? What about this header? |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
( |
|
cat <<\_ASBOX |
|
## ------------------------------- ## |
|
## Report this to the sudo lists. ## |
|
## ------------------------------- ## |
|
_ASBOX |
|
) | |
|
sed "s/^/$as_me: WARNING: /" >&2 |
|
;; |
;; |
esac |
esac |
echo "$as_me:$LINENO: 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 { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
eval "$as_ac_Header=\$ac_header_preproc" |
eval "$as_ac_Header=\$ac_header_preproc" |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_Header'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
|
|
fi |
fi |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
for ac_header in err.h |
for ac_header in err.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` |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
echo "$as_me:$LINENO: 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 { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_Header'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
else |
else |
# Is the header compilable? |
# Is the header compilable? |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
|
|
#include <$ac_header> |
#include <$ac_header> |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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 |
ac_header_compiler=yes |
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 |
|
|
ac_header_compiler=no |
ac_header_compiler=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
|
|
rm -f core conftest.err 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? |
# Is the header present? |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
|
|
/* end confdefs.h. */ |
/* end confdefs.h. */ |
#include <$ac_header> |
#include <$ac_header> |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
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_cpp conftest.$ac_ext") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null && { |
if test -s conftest.err; then |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
ac_cpp_err=$ac_c_preproc_warn_flag |
test ! -s conftest.err |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
}; then |
else |
|
ac_cpp_err= |
|
fi |
|
else |
|
ac_cpp_err=yes |
|
fi |
|
if test -z "$ac_cpp_err"; then |
|
ac_header_preproc=yes |
ac_header_preproc=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
|
|
|
|
ac_header_preproc=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 "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
|
|
# So? What about this header? |
# So? What about this header? |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
( |
|
cat <<\_ASBOX |
|
## ------------------------------- ## |
|
## Report this to the sudo lists. ## |
|
## ------------------------------- ## |
|
_ASBOX |
|
) | |
|
sed "s/^/$as_me: WARNING: /" >&2 |
|
;; |
;; |
esac |
esac |
echo "$as_me:$LINENO: 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 { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
eval "$as_ac_Header=\$ac_header_preproc" |
eval "$as_ac_Header=\$ac_header_preproc" |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_Header'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
|
|
fi |
fi |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
_ACEOF |
_ACEOF |
|
|
else |
else |
case $LIBOBJS in |
case " $LIBOBJS " in |
"err.$ac_objext" | \ |
|
*" err.$ac_objext" | \ |
|
"err.$ac_objext "* | \ |
|
*" err.$ac_objext "* ) ;; |
*" err.$ac_objext "* ) ;; |
*) LIBOBJS="$LIBOBJS err.$ac_objext" ;; |
*) LIBOBJS="$LIBOBJS err.$ac_objext" |
|
;; |
esac |
esac |
|
|
fi |
fi |
|
|
done |
done |
|
|
if test "$OS" != "ultrix"; then |
if test "$OS" != "ultrix"; then |
echo "$as_me:$LINENO: 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 |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_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 |
sed 's/^/| /' 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.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: 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 <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
|
|
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` |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
echo "$as_me:$LINENO: 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 { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_Header'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
else |
else |
# Is the header compilable? |
# Is the header compilable? |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
|
|
#include <$ac_header> |
#include <$ac_header> |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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 |
ac_header_compiler=yes |
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 |
|
|
ac_header_compiler=no |
ac_header_compiler=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
|
|
rm -f core conftest.err 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? |
# Is the header present? |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
|
|
/* end confdefs.h. */ |
/* end confdefs.h. */ |
#include <$ac_header> |
#include <$ac_header> |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
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_cpp conftest.$ac_ext") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null && { |
if test -s conftest.err; then |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
ac_cpp_err=$ac_c_preproc_warn_flag |
test ! -s conftest.err |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
}; then |
else |
|
ac_cpp_err= |
|
fi |
|
else |
|
ac_cpp_err=yes |
|
fi |
|
if test -z "$ac_cpp_err"; then |
|
ac_header_preproc=yes |
ac_header_preproc=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
|
|
|
|
ac_header_preproc=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 "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
|
|
# So? What about this header? |
# So? What about this header? |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
( |
|
cat <<\_ASBOX |
|
## ------------------------------- ## |
|
## Report this to the sudo lists. ## |
|
## ------------------------------- ## |
|
_ASBOX |
|
) | |
|
sed "s/^/$as_me: WARNING: /" >&2 |
|
;; |
;; |
esac |
esac |
echo "$as_me:$LINENO: 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 { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
eval "$as_ac_Header=\$ac_header_preproc" |
eval "$as_ac_Header=\$ac_header_preproc" |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_Header'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
|
|
fi |
fi |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
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` |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
echo "$as_me:$LINENO: 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 { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_Header'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
else |
else |
# Is the header compilable? |
# Is the header compilable? |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
|
|
#include <$ac_header> |
#include <$ac_header> |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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 |
ac_header_compiler=yes |
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 |
|
|
ac_header_compiler=no |
ac_header_compiler=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
|
|
rm -f core conftest.err 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? |
# Is the header present? |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
|
|
/* end confdefs.h. */ |
/* end confdefs.h. */ |
#include <$ac_header> |
#include <$ac_header> |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
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_cpp conftest.$ac_ext") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null && { |
if test -s conftest.err; then |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
ac_cpp_err=$ac_c_preproc_warn_flag |
test ! -s conftest.err |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
}; then |
else |
|
ac_cpp_err= |
|
fi |
|
else |
|
ac_cpp_err=yes |
|
fi |
|
if test -z "$ac_cpp_err"; then |
|
ac_header_preproc=yes |
ac_header_preproc=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
|
|
|
|
ac_header_preproc=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 "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
|
|
# So? What about this header? |
# So? What about this header? |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
( |
|
cat <<\_ASBOX |
|
## ------------------------------- ## |
|
## Report this to the sudo lists. ## |
|
## ------------------------------- ## |
|
_ASBOX |
|
) | |
|
sed "s/^/$as_me: WARNING: /" >&2 |
|
;; |
;; |
esac |
esac |
echo "$as_me:$LINENO: 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 { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
eval "$as_ac_Header=\$ac_header_preproc" |
eval "$as_ac_Header=\$ac_header_preproc" |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_Header'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
|
|
fi |
fi |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
fi |
fi |
if test ${with_project-'no'} != "no"; then |
if test ${with_project-'no'} != "no"; then |
if test "${ac_cv_header_project_h+set}" = set; then |
if test "${ac_cv_header_project_h+set}" = set; then |
echo "$as_me:$LINENO: checking for project.h" >&5 |
{ echo "$as_me:$LINENO: checking for project.h" >&5 |
echo $ECHO_N "checking for project.h... $ECHO_C" >&6 |
echo $ECHO_N "checking for project.h... $ECHO_C" >&6; } |
if test "${ac_cv_header_project_h+set}" = set; then |
if test "${ac_cv_header_project_h+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
fi |
fi |
echo "$as_me:$LINENO: result: $ac_cv_header_project_h" >&5 |
{ echo "$as_me:$LINENO: result: $ac_cv_header_project_h" >&5 |
echo "${ECHO_T}$ac_cv_header_project_h" >&6 |
echo "${ECHO_T}$ac_cv_header_project_h" >&6; } |
else |
else |
# Is the header compilable? |
# Is the header compilable? |
echo "$as_me:$LINENO: checking project.h usability" >&5 |
{ echo "$as_me:$LINENO: checking project.h usability" >&5 |
echo $ECHO_N "checking project.h usability... $ECHO_C" >&6 |
echo $ECHO_N "checking project.h usability... $ECHO_C" >&6; } |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
|
|
#include <project.h> |
#include <project.h> |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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 |
ac_header_compiler=yes |
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 |
|
|
ac_header_compiler=no |
ac_header_compiler=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
|
|
rm -f core conftest.err 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? |
# Is the header present? |
echo "$as_me:$LINENO: checking project.h presence" >&5 |
{ echo "$as_me:$LINENO: checking project.h presence" >&5 |
echo $ECHO_N "checking project.h presence... $ECHO_C" >&6 |
echo $ECHO_N "checking project.h presence... $ECHO_C" >&6; } |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
|
|
/* end confdefs.h. */ |
/* end confdefs.h. */ |
#include <project.h> |
#include <project.h> |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
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_cpp conftest.$ac_ext") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null && { |
if test -s conftest.err; then |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
ac_cpp_err=$ac_c_preproc_warn_flag |
test ! -s conftest.err |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
}; then |
else |
|
ac_cpp_err= |
|
fi |
|
else |
|
ac_cpp_err=yes |
|
fi |
|
if test -z "$ac_cpp_err"; then |
|
ac_header_preproc=yes |
ac_header_preproc=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
|
|
|
|
ac_header_preproc=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 "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
|
|
# So? What about this header? |
# So? What about this header? |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|
|
echo "$as_me: WARNING: project.h: proceeding with the preprocessor's result" >&2;} |
echo "$as_me: WARNING: project.h: proceeding with the preprocessor's result" >&2;} |
{ echo "$as_me:$LINENO: WARNING: project.h: in the future, the compiler will take precedence" >&5 |
{ echo "$as_me:$LINENO: WARNING: project.h: in the future, the compiler will take precedence" >&5 |
echo "$as_me: WARNING: project.h: in the future, the compiler will take precedence" >&2;} |
echo "$as_me: WARNING: project.h: in the future, the compiler will take precedence" >&2;} |
( |
|
cat <<\_ASBOX |
|
## ------------------------------- ## |
|
## Report this to the sudo lists. ## |
|
## ------------------------------- ## |
|
_ASBOX |
|
) | |
|
sed "s/^/$as_me: WARNING: /" >&2 |
|
;; |
;; |
esac |
esac |
echo "$as_me:$LINENO: checking for project.h" >&5 |
{ echo "$as_me:$LINENO: checking for project.h" >&5 |
echo $ECHO_N "checking for project.h... $ECHO_C" >&6 |
echo $ECHO_N "checking for project.h... $ECHO_C" >&6; } |
if test "${ac_cv_header_project_h+set}" = set; then |
if test "${ac_cv_header_project_h+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
ac_cv_header_project_h=$ac_header_preproc |
ac_cv_header_project_h=$ac_header_preproc |
fi |
fi |
echo "$as_me:$LINENO: result: $ac_cv_header_project_h" >&5 |
{ echo "$as_me:$LINENO: result: $ac_cv_header_project_h" >&5 |
echo "${ECHO_T}$ac_cv_header_project_h" >&6 |
echo "${ECHO_T}$ac_cv_header_project_h" >&6; } |
|
|
fi |
fi |
if test $ac_cv_header_project_h = yes; then |
if test $ac_cv_header_project_h = yes; then |
|
|
|
|
|
|
fi |
fi |
echo "$as_me:$LINENO: checking for mode_t" >&5 |
{ 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 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
$ac_includes_default |
$ac_includes_default |
|
typedef mode_t ac__type_new_; |
int |
int |
main () |
main () |
{ |
{ |
if ((mode_t *) 0) |
if ((ac__type_new_ *) 0) |
return 0; |
return 0; |
if (sizeof (mode_t)) |
if (sizeof (ac__type_new_)) |
return 0; |
return 0; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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_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 |
sed 's/^/| /' 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.err conftest.$ac_objext conftest.$ac_ext |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: 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 |
|
|
|
|
fi |
fi |
|
|
echo "$as_me:$LINENO: 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 |
|
|
rm -f conftest* |
rm -f conftest* |
|
|
fi |
fi |
echo "$as_me:$LINENO: 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 <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
|
|
|
|
fi |
fi |
|
|
echo "$as_me:$LINENO: 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 |
|
|
#include <sys/types.h> |
#include <sys/types.h> |
#include <signal.h> |
#include <signal.h> |
|
|
|
typedef sig_atomic_t ac__type_new_; |
int |
int |
main () |
main () |
{ |
{ |
if ((sig_atomic_t *) 0) |
if ((ac__type_new_ *) 0) |
return 0; |
return 0; |
if (sizeof (sig_atomic_t)) |
if (sizeof (ac__type_new_)) |
return 0; |
return 0; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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_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 |
sed 's/^/| /' 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.err conftest.$ac_objext conftest.$ac_ext |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: 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 <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
|
|
|
|
fi |
fi |
|
|
echo "$as_me:$LINENO: 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 |
|
|
#include <sys/types.h> |
#include <sys/types.h> |
#include <signal.h> |
#include <signal.h> |
|
|
|
typedef sigaction_t ac__type_new_; |
int |
int |
main () |
main () |
{ |
{ |
if ((sigaction_t *) 0) |
if ((ac__type_new_ *) 0) |
return 0; |
return 0; |
if (sizeof (sigaction_t)) |
if (sizeof (ac__type_new_)) |
return 0; |
return 0; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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_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 |
sed 's/^/| /' 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.err conftest.$ac_objext conftest.$ac_ext |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: 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 <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
|
|
|
|
fi |
fi |
|
|
echo "$as_me:$LINENO: checking for struct timespec" >&5 |
{ echo "$as_me:$LINENO: checking for struct timespec" >&5 |
echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6 |
echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6; } |
if test "${ac_cv_type_struct_timespec+set}" = set; then |
if test "${ac_cv_type_struct_timespec+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
|
|
# include <sys/time.h> |
# include <sys/time.h> |
#endif |
#endif |
|
|
|
typedef struct timespec ac__type_new_; |
int |
int |
main () |
main () |
{ |
{ |
if ((struct timespec *) 0) |
if ((ac__type_new_ *) 0) |
return 0; |
return 0; |
if (sizeof (struct timespec)) |
if (sizeof (ac__type_new_)) |
return 0; |
return 0; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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_type_struct_timespec=yes |
ac_cv_type_struct_timespec=yes |
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 |
|
|
ac_cv_type_struct_timespec=no |
ac_cv_type_struct_timespec=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: $ac_cv_type_struct_timespec" >&5 |
{ echo "$as_me:$LINENO: result: $ac_cv_type_struct_timespec" >&5 |
echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6 |
echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6; } |
if test $ac_cv_type_struct_timespec = yes; then |
if test $ac_cv_type_struct_timespec = yes; then |
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_TIMESPEC 1 |
#define HAVE_TIMESPEC 1 |
|
|
|
|
fi |
fi |
|
|
echo "$as_me:$LINENO: 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 |
|
|
rm -f conftest* |
rm -f conftest* |
|
|
fi |
fi |
echo "$as_me:$LINENO: 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 <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
|
|
|
|
fi |
fi |
|
|
echo "$as_me:$LINENO: 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 |
|
|
rm -f conftest* |
rm -f conftest* |
|
|
fi |
fi |
echo "$as_me:$LINENO: 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 <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
|
|
|
|
fi |
fi |
|
|
echo "$as_me:$LINENO: 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 |
|
|
rm -f conftest* |
rm -f conftest* |
|
|
fi |
fi |
echo "$as_me:$LINENO: 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 <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
|
|
|
|
fi |
fi |
|
|
echo "$as_me:$LINENO: 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 |
|
|
rm -f conftest* |
rm -f conftest* |
|
|
fi |
fi |
echo "$as_me:$LINENO: 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 <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
|
|
|
|
fi |
fi |
|
|
echo "$as_me:$LINENO: 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 |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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 |
|
|
|
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define VOID void |
#define VOID void |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define VOID char |
#define VOID char |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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.err conftest.$ac_objext conftest.$ac_ext |
|
|
|
echo "$as_me:$LINENO: checking max length of uid_t" >&5 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
echo $ECHO_N "checking max length of uid_t... $ECHO_C" >&6 |
|
|
{ echo "$as_me:$LINENO: checking max length of uid_t" >&5 |
|
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 |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest$ac_exeext |
rm -f conftest$ac_exeext |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>&5 |
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>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $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:$LINENO: \"$ac_try\"") >&5 |
{ (case "(($ac_try" in |
(eval $ac_try) 2>&5 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
(eval "$ac_try") 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
|
|
( exit $ac_status ) |
( exit $ac_status ) |
sudo_cv_uid_t_len=10 |
sudo_cv_uid_t_len=10 |
fi |
fi |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
rm -f core *.core core.conftest.* 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:$LINENO: 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 <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define MAX_UID_T_LEN $sudo_cv_uid_t_len |
#define MAX_UID_T_LEN $sudo_cv_uid_t_len |
_ACEOF |
_ACEOF |
|
|
|
|
echo "$as_me:$LINENO: checking for long long" >&5 |
{ echo "$as_me:$LINENO: checking for long long" >&5 |
echo $ECHO_N "checking for long long... $ECHO_C" >&6 |
echo $ECHO_N "checking for long long... $ECHO_C" >&6; } |
if test "${ac_cv_type_long_long+set}" = set; then |
if test "${ac_cv_type_long_long+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 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
$ac_includes_default |
$ac_includes_default |
|
typedef long long ac__type_new_; |
int |
int |
main () |
main () |
{ |
{ |
if ((long long *) 0) |
if ((ac__type_new_ *) 0) |
return 0; |
return 0; |
if (sizeof (long long)) |
if (sizeof (ac__type_new_)) |
return 0; |
return 0; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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_type_long_long=yes |
ac_cv_type_long_long=yes |
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 |
|
|
ac_cv_type_long_long=no |
ac_cv_type_long_long=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 |
{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 |
echo "${ECHO_T}$ac_cv_type_long_long" >&6 |
echo "${ECHO_T}$ac_cv_type_long_long" >&6; } |
if test $ac_cv_type_long_long = yes; then |
if test $ac_cv_type_long_long = yes; then |
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
|
|
#define HAVE_LONG_LONG 1 |
#define HAVE_LONG_LONG 1 |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: checking for long and long long equivalence" >&5 |
{ echo "$as_me:$LINENO: checking for long and long long equivalence" >&5 |
echo $ECHO_N "checking for long and long long equivalence... $ECHO_C" >&6 |
echo $ECHO_N "checking for long and long long equivalence... $ECHO_C" >&6; } |
if test "${sudo_cv_type_long_is_quad+set}" = set; then |
if test "${sudo_cv_type_long_is_quad+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest$ac_exeext |
rm -f conftest$ac_exeext |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>&5 |
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>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $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:$LINENO: \"$ac_try\"") >&5 |
{ (case "(($ac_try" in |
(eval $ac_try) 2>&5 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
(eval "$ac_try") 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
|
|
( exit $ac_status ) |
( exit $ac_status ) |
sudo_cv_type_long_is_quad=no |
sudo_cv_type_long_is_quad=no |
fi |
fi |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
rm -f core *.core core.conftest.* 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:$LINENO: result: $sudo_cv_type_long_is_quad" >&5 |
{ echo "$as_me:$LINENO: result: $sudo_cv_type_long_is_quad" >&5 |
echo "${ECHO_T}$sudo_cv_type_long_is_quad" >&6 |
echo "${ECHO_T}$sudo_cv_type_long_is_quad" >&6; } |
if test $sudo_cv_type_long_is_quad = yes; then |
if test $sudo_cv_type_long_is_quad = yes; then |
|
|
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
|
|
|
|
fi |
fi |
|
|
echo "$as_me:$LINENO: 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 |
else |
else |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest$ac_exeext |
rm -f conftest$ac_exeext |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>&5 |
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>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $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:$LINENO: \"$ac_try\"") >&5 |
{ (case "(($ac_try" in |
(eval $ac_try) 2>&5 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
(eval "$ac_try") 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
|
|
( exit $ac_status ) |
( exit $ac_status ) |
sudo_cv_sock_sa_len=no |
sudo_cv_sock_sa_len=no |
fi |
fi |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
rm -f core *.core core.conftest.* 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:$LINENO: 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 <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
|
|
|
|
case "$DEFS" in |
case "$DEFS" in |
*"RETSIGTYPE"*) ;; |
*"RETSIGTYPE"*) ;; |
*) echo "$as_me:$LINENO: 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 |
|
|
/* end confdefs.h. */ |
/* end confdefs.h. */ |
#include <sys/types.h> |
#include <sys/types.h> |
#include <signal.h> |
#include <signal.h> |
#ifdef signal |
|
# undef signal |
|
#endif |
|
#ifdef __cplusplus |
|
extern "C" void (*signal (int, void (*)(int)))(int); |
|
#else |
|
void (*signal ()) (); |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
int i; |
return *(signal (0, 0)) (0) == 1; |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 2>&5 |
ac_cv_type_signal=int |
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_type_signal=void |
|
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 |
|
|
ac_cv_type_signal=int |
ac_cv_type_signal=void |
fi |
fi |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: 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 <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define RETSIGTYPE $ac_cv_type_signal |
#define RETSIGTYPE $ac_cv_type_signal |
|
|
setlocale getaddrinfo |
setlocale getaddrinfo |
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 |
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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
for ac_func in setresuid |
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:$LINENO: 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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
for ac_func in setreuid |
for ac_func in setreuid |
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 |
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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
for ac_func in seteuid |
for ac_func in seteuid |
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 |
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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
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:$LINENO: 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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
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:$LINENO: 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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
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:$LINENO: 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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
_ACEOF |
_ACEOF |
|
|
else |
else |
case $LIBOBJS in |
case " $LIBOBJS " in |
"$ac_func.$ac_objext" | \ |
|
*" $ac_func.$ac_objext" | \ |
|
"$ac_func.$ac_objext "* | \ |
|
*" $ac_func.$ac_objext "* ) ;; |
*" $ac_func.$ac_objext "* ) ;; |
*) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; |
*) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" |
|
;; |
esac |
esac |
|
|
fi |
fi |
|
|
for ac_func in glob |
for ac_func in glob |
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 |
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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
_ACEOF |
_ACEOF |
echo "$as_me:$LINENO: checking for GLOB_BRACE and GLOB_TILDE in glob.h" >&5 |
{ echo "$as_me:$LINENO: checking for GLOB_BRACE and GLOB_TILDE in glob.h" >&5 |
echo $ECHO_N "checking for GLOB_BRACE and GLOB_TILDE in glob.h... $ECHO_C" >&6 |
echo $ECHO_N "checking for GLOB_BRACE and GLOB_TILDE in glob.h... $ECHO_C" >&6; } |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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 |
|
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_EXTENDED_GLOB 1 |
#define HAVE_EXTENDED_GLOB 1 |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
case $LIBOBJS in |
case " $LIBOBJS " in |
"glob.$ac_objext" | \ |
|
*" glob.$ac_objext" | \ |
|
"glob.$ac_objext "* | \ |
|
*" glob.$ac_objext "* ) ;; |
*" glob.$ac_objext "* ) ;; |
*) LIBOBJS="$LIBOBJS glob.$ac_objext" ;; |
*) LIBOBJS="$LIBOBJS glob.$ac_objext" |
|
;; |
esac |
esac |
|
|
echo "$as_me:$LINENO: 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.err conftest.$ac_objext conftest.$ac_ext |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
else |
else |
case $LIBOBJS in |
case " $LIBOBJS " in |
"glob.$ac_objext" | \ |
|
*" glob.$ac_objext" | \ |
|
"glob.$ac_objext "* | \ |
|
*" glob.$ac_objext "* ) ;; |
*" glob.$ac_objext "* ) ;; |
*) LIBOBJS="$LIBOBJS glob.$ac_objext" ;; |
*) LIBOBJS="$LIBOBJS glob.$ac_objext" |
|
;; |
esac |
esac |
|
|
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:$LINENO: 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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
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:$LINENO: 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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
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:$LINENO: 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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
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:$LINENO: 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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
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:$LINENO: 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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
_ACEOF |
_ACEOF |
|
|
else |
else |
echo "$as_me:$LINENO: 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 |
else |
else |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char lsearch (); |
char lsearch (); |
int |
int |
main () |
main () |
{ |
{ |
lsearch (); |
return lsearch (); |
; |
; |
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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_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 |
sed 's/^/| /' 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.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:$LINENO: 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:$LINENO: 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 |
|
|
/* end confdefs.h. */ |
/* end confdefs.h. */ |
#include <search.h> |
#include <search.h> |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
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_cpp conftest.$ac_ext") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null && { |
if test -s conftest.err; then |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
ac_cpp_err=$ac_c_preproc_warn_flag |
test ! -s conftest.err |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
}; then |
else |
|
ac_cpp_err= |
|
fi |
|
else |
|
ac_cpp_err=yes |
|
fi |
|
if test -z "$ac_cpp_err"; then |
|
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 |
|
|
|
|
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:$LINENO: 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 <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_LSEARCH 1 |
#define HAVE_LSEARCH 1 |
_ACEOF |
_ACEOF |
LIBS="${LIBS} -lcompat" |
LIBS="${LIBS} -lcompat" |
else |
else |
case $LIBOBJS in |
case " $LIBOBJS " in |
"lsearch.$ac_objext" | \ |
|
*" lsearch.$ac_objext" | \ |
|
"lsearch.$ac_objext "* | \ |
|
*" lsearch.$ac_objext "* ) ;; |
*" lsearch.$ac_objext "* ) ;; |
*) LIBOBJS="$LIBOBJS lsearch.$ac_objext" ;; |
*) LIBOBJS="$LIBOBJS lsearch.$ac_objext" |
|
;; |
esac |
esac |
|
|
fi |
fi |
|
|
|
|
else |
else |
case $LIBOBJS in |
case " $LIBOBJS " in |
"lsearch.$ac_objext" | \ |
|
*" lsearch.$ac_objext" | \ |
|
"lsearch.$ac_objext "* | \ |
|
*" lsearch.$ac_objext "* ) ;; |
*" lsearch.$ac_objext "* ) ;; |
*) LIBOBJS="$LIBOBJS lsearch.$ac_objext" ;; |
*) LIBOBJS="$LIBOBJS lsearch.$ac_objext" |
|
;; |
esac |
esac |
|
|
fi |
fi |
|
|
for ac_func in utimes |
for ac_func in utimes |
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 |
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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
for ac_func in futimes futimesat |
for ac_func in futimes futimesat |
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 |
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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
for ac_func in futime |
for ac_func in futime |
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 |
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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
|
|
fi |
fi |
done |
done |
case $LIBOBJS in |
case " $LIBOBJS " in |
"utimes.$ac_objext" | \ |
|
*" utimes.$ac_objext" | \ |
|
"utimes.$ac_objext "* | \ |
|
*" utimes.$ac_objext "* ) ;; |
*" utimes.$ac_objext "* ) ;; |
*) LIBOBJS="$LIBOBJS utimes.$ac_objext" ;; |
*) LIBOBJS="$LIBOBJS utimes.$ac_objext" |
|
;; |
esac |
esac |
|
|
fi |
fi |
done |
done |
|
|
echo "$as_me:$LINENO: 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 |
else |
else |
|
|
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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>&5 |
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>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $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:$LINENO: \"$ac_try\"") >&5 |
{ (case "(($ac_try" in |
(eval $ac_try) 2>&5 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
(eval "$ac_try") 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
|
|
( exit $ac_status ) |
( exit $ac_status ) |
sudo_cv_func_fnmatch=no |
sudo_cv_func_fnmatch=no |
fi |
fi |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
rm -f core *.core core.conftest.* 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:$LINENO: 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 <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_FNMATCH 1 |
#define HAVE_FNMATCH 1 |
_ACEOF |
_ACEOF |
|
|
else |
else |
case $LIBOBJS in |
case " $LIBOBJS " in |
"fnmatch.$ac_objext" | \ |
|
*" fnmatch.$ac_objext" | \ |
|
"fnmatch.$ac_objext "* | \ |
|
*" fnmatch.$ac_objext "* ) ;; |
*" fnmatch.$ac_objext "* ) ;; |
*) LIBOBJS="$LIBOBJS fnmatch.$ac_objext" ;; |
*) LIBOBJS="$LIBOBJS fnmatch.$ac_objext" |
|
;; |
esac |
esac |
|
|
fi |
fi |
|
|
echo "$as_me:$LINENO: 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 |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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 |
|
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 |
sed 's/^/| /' 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.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: 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 |
|
|
|
|
for ac_func in memrchr strerror strcasecmp sigaction strlcpy strlcat |
for ac_func in memrchr 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:$LINENO: 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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
_ACEOF |
_ACEOF |
|
|
else |
else |
case $LIBOBJS in |
case " $LIBOBJS " in |
"$ac_func.$ac_objext" | \ |
|
*" $ac_func.$ac_objext" | \ |
|
"$ac_func.$ac_objext "* | \ |
|
*" $ac_func.$ac_objext "* ) ;; |
*" $ac_func.$ac_objext "* ) ;; |
*) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; |
*) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" |
|
;; |
esac |
esac |
|
|
fi |
fi |
|
|
for ac_func in closefrom |
for ac_func in closefrom |
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 |
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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
_ACEOF |
_ACEOF |
|
|
else |
else |
case $LIBOBJS in |
case " $LIBOBJS " in |
"closefrom.$ac_objext" | \ |
|
*" closefrom.$ac_objext" | \ |
|
"closefrom.$ac_objext "* | \ |
|
*" closefrom.$ac_objext "* ) ;; |
*" closefrom.$ac_objext "* ) ;; |
*) LIBOBJS="$LIBOBJS closefrom.$ac_objext" ;; |
*) LIBOBJS="$LIBOBJS closefrom.$ac_objext" |
|
;; |
esac |
esac |
|
|
echo "$as_me:$LINENO: checking whether F_CLOSEM is declared" >&5 |
{ echo "$as_me:$LINENO: checking whether F_CLOSEM is declared" >&5 |
echo $ECHO_N "checking whether F_CLOSEM is declared... $ECHO_C" >&6 |
echo $ECHO_N "checking whether F_CLOSEM is declared... $ECHO_C" >&6; } |
if test "${ac_cv_have_decl_F_CLOSEM+set}" = set; then |
if test "${ac_cv_have_decl_F_CLOSEM+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
|
|
main () |
main () |
{ |
{ |
#ifndef F_CLOSEM |
#ifndef F_CLOSEM |
char *p = (char *) F_CLOSEM; |
(void) F_CLOSEM; |
#endif |
#endif |
|
|
; |
; |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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_have_decl_F_CLOSEM=yes |
ac_cv_have_decl_F_CLOSEM=yes |
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 |
|
|
ac_cv_have_decl_F_CLOSEM=no |
ac_cv_have_decl_F_CLOSEM=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: $ac_cv_have_decl_F_CLOSEM" >&5 |
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_F_CLOSEM" >&5 |
echo "${ECHO_T}$ac_cv_have_decl_F_CLOSEM" >&6 |
echo "${ECHO_T}$ac_cv_have_decl_F_CLOSEM" >&6; } |
if test $ac_cv_have_decl_F_CLOSEM = yes; then |
if test $ac_cv_have_decl_F_CLOSEM = yes; then |
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_FCNTL_CLOSEM 1 |
#define HAVE_FCNTL_CLOSEM 1 |
|
|
for ac_func in mkstemp |
for ac_func in mkstemp |
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 |
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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
for ac_func in random lrand48 |
for ac_func in random lrand48 |
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 |
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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
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:$LINENO: 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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
done |
done |
|
|
if test X"$ac_cv_type_struct_timespec" != X"no"; then |
if test X"$ac_cv_type_struct_timespec" != X"no"; then |
echo "$as_me:$LINENO: checking for struct stat.st_mtim" >&5 |
{ echo "$as_me:$LINENO: checking for struct stat.st_mtim" >&5 |
echo $ECHO_N "checking for struct stat.st_mtim... $ECHO_C" >&6 |
echo $ECHO_N "checking for struct stat.st_mtim... $ECHO_C" >&6; } |
if test "${ac_cv_member_struct_stat_st_mtim+set}" = set; then |
if test "${ac_cv_member_struct_stat_st_mtim+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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_member_struct_stat_st_mtim=yes |
ac_cv_member_struct_stat_st_mtim=yes |
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 |
|
|
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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_member_struct_stat_st_mtim=yes |
ac_cv_member_struct_stat_st_mtim=yes |
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 |
|
|
ac_cv_member_struct_stat_st_mtim=no |
ac_cv_member_struct_stat_st_mtim=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_mtim" >&5 |
{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_mtim" >&5 |
echo "${ECHO_T}$ac_cv_member_struct_stat_st_mtim" >&6 |
echo "${ECHO_T}$ac_cv_member_struct_stat_st_mtim" >&6; } |
if test $ac_cv_member_struct_stat_st_mtim = yes; then |
if test $ac_cv_member_struct_stat_st_mtim = yes; then |
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_ST_MTIM 1 |
#define HAVE_ST_MTIM 1 |
_ACEOF |
_ACEOF |
|
|
else |
else |
echo "$as_me:$LINENO: checking for struct stat.st_mtimespec" >&5 |
{ echo "$as_me:$LINENO: checking for struct stat.st_mtimespec" >&5 |
echo $ECHO_N "checking for struct stat.st_mtimespec... $ECHO_C" >&6 |
echo $ECHO_N "checking for struct stat.st_mtimespec... $ECHO_C" >&6; } |
if test "${ac_cv_member_struct_stat_st_mtimespec+set}" = set; then |
if test "${ac_cv_member_struct_stat_st_mtimespec+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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_member_struct_stat_st_mtimespec=yes |
ac_cv_member_struct_stat_st_mtimespec=yes |
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 |
|
|
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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_member_struct_stat_st_mtimespec=yes |
ac_cv_member_struct_stat_st_mtimespec=yes |
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 |
|
|
ac_cv_member_struct_stat_st_mtimespec=no |
ac_cv_member_struct_stat_st_mtimespec=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_mtimespec" >&5 |
{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_mtimespec" >&5 |
echo "${ECHO_T}$ac_cv_member_struct_stat_st_mtimespec" >&6 |
echo "${ECHO_T}$ac_cv_member_struct_stat_st_mtimespec" >&6; } |
if test $ac_cv_member_struct_stat_st_mtimespec = yes; then |
if test $ac_cv_member_struct_stat_st_mtimespec = yes; then |
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_ST_MTIMESPEC 1 |
#define HAVE_ST_MTIMESPEC 1 |
|
|
|
|
fi |
fi |
|
|
echo "$as_me:$LINENO: checking for two-parameter timespecsub" >&5 |
{ echo "$as_me:$LINENO: checking for two-parameter timespecsub" >&5 |
echo $ECHO_N "checking for two-parameter timespecsub... $ECHO_C" >&6 |
echo $ECHO_N "checking for two-parameter timespecsub... $ECHO_C" >&6; } |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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 |
|
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_TIMESPECSUB2 1 |
#define HAVE_TIMESPECSUB2 1 |
_ACEOF |
_ACEOF |
|
|
echo "$as_me:$LINENO: 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 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
echo "$as_me:$LINENO: 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.err conftest.$ac_objext conftest.$ac_ext |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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 |
|
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_DIRFD 1 |
#define HAVE_DIRFD 1 |
_ACEOF |
_ACEOF |
|
|
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 |
|
|
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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 |
|
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_DD_FD 1 |
#define HAVE_DD_FD 1 |
_ACEOF |
_ACEOF |
|
|
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 |
|
|
|
|
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
if test -n "$NEED_SNPRINTF"; then |
if test -n "$NEED_SNPRINTF"; then |
case $LIBOBJS in |
case " $LIBOBJS " in |
"snprintf.$ac_objext" | \ |
|
*" snprintf.$ac_objext" | \ |
|
"snprintf.$ac_objext "* | \ |
|
*" snprintf.$ac_objext "* ) ;; |
*" snprintf.$ac_objext "* ) ;; |
*) LIBOBJS="$LIBOBJS snprintf.$ac_objext" ;; |
*) LIBOBJS="$LIBOBJS snprintf.$ac_objext" |
|
;; |
esac |
esac |
|
|
fi |
fi |
if test -z "$LIB_CRYPT" -a "$with_pam" != "yes"; then |
{ echo "$as_me:$LINENO: checking for socket" >&5 |
echo "$as_me:$LINENO: checking for crypt" >&5 |
echo $ECHO_N "checking for socket... $ECHO_C" >&6; } |
echo $ECHO_N "checking for crypt... $ECHO_C" >&6 |
|
if test "${ac_cv_func_crypt+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* Define crypt to an innocuous variant, in case <limits.h> declares crypt. |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
#define crypt innocuous_crypt |
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
which can conflict with char crypt (); 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 crypt |
|
|
|
/* 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 crypt (); |
|
/* 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_crypt) || defined (__stub___crypt) |
|
choke me |
|
#else |
|
char (*f) () = crypt; |
|
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != crypt; |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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_func_crypt=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_func_crypt=no |
|
fi |
|
rm -f conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_func_crypt" >&5 |
|
echo "${ECHO_T}$ac_cv_func_crypt" >&6 |
|
if test $ac_cv_func_crypt = yes; then |
|
: |
|
else |
|
echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5 |
|
echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6 |
|
if test "${ac_cv_lib_crypt_crypt+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lcrypt $LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* 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 crypt (); |
|
int |
|
main () |
|
{ |
|
crypt (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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_crypt_crypt=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_crypt_crypt=no |
|
fi |
|
rm -f conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5 |
|
echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6 |
|
if test $ac_cv_lib_crypt_crypt = yes; then |
|
SUDO_LIBS="${SUDO_LIBS} -lcrypt"; LIBS="${LIBS} -lcrypt" |
|
else |
|
echo "$as_me:$LINENO: checking for crypt in -lcrypt_d" >&5 |
|
echo $ECHO_N "checking for crypt in -lcrypt_d... $ECHO_C" >&6 |
|
if test "${ac_cv_lib_crypt_d_crypt+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lcrypt_d $LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* 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 crypt (); |
|
int |
|
main () |
|
{ |
|
crypt (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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_crypt_d_crypt=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_crypt_d_crypt=no |
|
fi |
|
rm -f conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_d_crypt" >&5 |
|
echo "${ECHO_T}$ac_cv_lib_crypt_d_crypt" >&6 |
|
if test $ac_cv_lib_crypt_d_crypt = yes; then |
|
SUDO_LIBS="${SUDO_LIBS} -lcrypt_d"; LIBS="${LIBS} -lcrypt_d" |
|
else |
|
echo "$as_me:$LINENO: checking for crypt in -lufc" >&5 |
|
echo $ECHO_N "checking for crypt in -lufc... $ECHO_C" >&6 |
|
if test "${ac_cv_lib_ufc_crypt+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lufc $LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* 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 crypt (); |
|
int |
|
main () |
|
{ |
|
crypt (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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_ufc_crypt=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_ufc_crypt=no |
|
fi |
|
rm -f conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_ufc_crypt" >&5 |
|
echo "${ECHO_T}$ac_cv_lib_ufc_crypt" >&6 |
|
if test $ac_cv_lib_ufc_crypt = yes; then |
|
SUDO_LIBS="${SUDO_LIBS} -lufc"; LIBS="${LIBS} -lufc" |
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
echo "$as_me:$LINENO: checking for socket" >&5 |
|
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 |
|
|
|
|
#undef socket |
#undef socket |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char socket (); |
char socket (); |
/* 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 |
|
char (*f) () = socket; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != socket; |
return 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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_func_socket=yes |
ac_cv_func_socket=yes |
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 |
|
|
ac_cv_func_socket=no |
ac_cv_func_socket=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: 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:$LINENO: 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 |
else |
else |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char socket (); |
char socket (); |
int |
int |
main () |
main () |
{ |
{ |
socket (); |
return 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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_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 |
sed 's/^/| /' 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.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:$LINENO: 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:$LINENO: 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 |
else |
else |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char socket (); |
char socket (); |
int |
int |
main () |
main () |
{ |
{ |
socket (); |
return 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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_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 |
sed 's/^/| /' 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.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:$LINENO: 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:$LINENO: 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:$LINENO: 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 |
else |
else |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char socket (); |
char socket (); |
int |
int |
main () |
main () |
{ |
{ |
socket (); |
return 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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_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 |
sed 's/^/| /' 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.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:$LINENO: 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 |
|
|
|
|
fi |
fi |
|
|
echo "$as_me:$LINENO: 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 |
|
|
|
|
#undef inet_addr |
#undef inet_addr |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char inet_addr (); |
char inet_addr (); |
/* 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 |
|
char (*f) () = inet_addr; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != inet_addr; |
return 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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_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 |
sed 's/^/| /' 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.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: 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:$LINENO: 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 |
|
|
|
|
#undef __inet_addr |
#undef __inet_addr |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char __inet_addr (); |
char __inet_addr (); |
/* 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 |
|
char (*f) () = __inet_addr; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != __inet_addr; |
return __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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_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 |
sed 's/^/| /' 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.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: 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:$LINENO: 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 |
else |
else |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char inet_addr (); |
char inet_addr (); |
int |
int |
main () |
main () |
{ |
{ |
inet_addr (); |
return 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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_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 |
sed 's/^/| /' 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.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:$LINENO: 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:$LINENO: 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 |
else |
else |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char inet_addr (); |
char inet_addr (); |
int |
int |
main () |
main () |
{ |
{ |
inet_addr (); |
return 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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_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 |
sed 's/^/| /' 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.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:$LINENO: 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:$LINENO: 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:$LINENO: 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 |
else |
else |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char inet_addr (); |
char inet_addr (); |
int |
int |
main () |
main () |
{ |
{ |
inet_addr (); |
return 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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_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 |
sed 's/^/| /' 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.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:$LINENO: 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 |
|
|
|
|
fi |
fi |
|
|
echo "$as_me:$LINENO: 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 |
|
|
|
|
#undef syslog |
#undef syslog |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char syslog (); |
char syslog (); |
/* 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 |
|
char (*f) () = syslog; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != syslog; |
return 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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_func_syslog=yes |
ac_cv_func_syslog=yes |
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 |
|
|
ac_cv_func_syslog=no |
ac_cv_func_syslog=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: 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:$LINENO: 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 |
else |
else |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char syslog (); |
char syslog (); |
int |
int |
main () |
main () |
{ |
{ |
syslog (); |
return 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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_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 |
sed 's/^/| /' 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.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:$LINENO: 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:$LINENO: 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 |
else |
else |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char syslog (); |
char syslog (); |
int |
int |
main () |
main () |
{ |
{ |
syslog (); |
return 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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_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 |
sed 's/^/| /' 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.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:$LINENO: 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:$LINENO: 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 |
else |
else |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char syslog (); |
char syslog (); |
int |
int |
main () |
main () |
{ |
{ |
syslog (); |
return 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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_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 |
sed 's/^/| /' 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.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:$LINENO: 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" |
fi |
fi |
|
|
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:$LINENO: 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 |
|
|
main () |
main () |
{ |
{ |
char *p = (char *) alloca (2 * sizeof (int)); |
char *p = (char *) alloca (2 * sizeof (int)); |
|
if (p) return 0; |
; |
; |
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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_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 |
sed 's/^/| /' 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.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: 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 <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
|
|
|
|
fi |
fi |
|
|
echo "$as_me:$LINENO: 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 |
|
|
# include <malloc.h> |
# include <malloc.h> |
# define alloca _alloca |
# define alloca _alloca |
# else |
# else |
# if HAVE_ALLOCA_H |
# ifdef HAVE_ALLOCA_H |
# include <alloca.h> |
# include <alloca.h> |
# else |
# else |
# ifdef _AIX |
# ifdef _AIX |
|
|
main () |
main () |
{ |
{ |
char *p = (char *) alloca (1); |
char *p = (char *) alloca (1); |
|
if (p) return 0; |
; |
; |
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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_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 |
sed 's/^/| /' 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.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: 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 |
|
|
|
|
# contain a buggy version. If you still want to use their alloca, |
# contain a buggy version. If you still want to use their alloca, |
# use ar to extract alloca.o from them instead of compiling alloca.c. |
# use ar to extract alloca.o from them instead of compiling alloca.c. |
|
|
ALLOCA=alloca.$ac_objext |
ALLOCA=\${LIBOBJDIR}alloca.$ac_objext |
|
|
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define C_ALLOCA 1 |
#define C_ALLOCA 1 |
_ACEOF |
_ACEOF |
|
|
|
|
echo "$as_me:$LINENO: 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 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. */ |
#if defined(CRAY) && ! defined(CRAY2) |
#if defined CRAY && ! defined CRAY2 |
webecray |
webecray |
#else |
#else |
wenotbecray |
wenotbecray |
|
|
rm -f conftest* |
rm -f conftest* |
|
|
fi |
fi |
echo "$as_me:$LINENO: 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:$LINENO: 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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
|
|
done |
done |
fi |
fi |
|
|
echo "$as_me:$LINENO: 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 |
else |
else |
|
|
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. */ |
|
$ac_includes_default |
int |
int |
find_stack_direction () |
find_stack_direction () |
{ |
{ |
|
|
int |
int |
main () |
main () |
{ |
{ |
exit (find_stack_direction () < 0); |
return find_stack_direction () < 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest$ac_exeext |
rm -f conftest$ac_exeext |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>&5 |
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>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $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:$LINENO: \"$ac_try\"") >&5 |
{ (case "(($ac_try" in |
(eval $ac_try) 2>&5 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
(eval "$ac_try") 2>&5 |
ac_status=$? |
ac_status=$? |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
|
|
( exit $ac_status ) |
( exit $ac_status ) |
ac_cv_c_stack_direction=-1 |
ac_cv_c_stack_direction=-1 |
fi |
fi |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
|
|
|
|
fi |
fi |
echo "$as_me:$LINENO: 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 <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define STACK_DIRECTION $ac_cv_c_stack_direction |
#define STACK_DIRECTION $ac_cv_c_stack_direction |
|
|
for ac_func in getprogname |
for ac_func in getprogname |
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 |
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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
|
|
else |
else |
|
|
echo "$as_me:$LINENO: checking for __progname" >&5 |
{ echo "$as_me:$LINENO: checking for __progname" >&5 |
echo $ECHO_N "checking for __progname... $ECHO_C" >&6 |
echo $ECHO_N "checking for __progname... $ECHO_C" >&6; } |
if test "${sudo_cv___progname+set}" = set; then |
if test "${sudo_cv___progname+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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 |
|
sudo_cv___progname=yes |
sudo_cv___progname=yes |
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 |
|
|
sudo_cv___progname=no |
sudo_cv___progname=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
|
|
|
|
_ACEOF |
_ACEOF |
|
|
else |
else |
case $LIBOBJS in |
case " $LIBOBJS " in |
"getprogname.$ac_objext" | \ |
|
*" getprogname.$ac_objext" | \ |
|
"getprogname.$ac_objext "* | \ |
|
*" getprogname.$ac_objext "* ) ;; |
*" getprogname.$ac_objext "* ) ;; |
*) LIBOBJS="$LIBOBJS getprogname.$ac_objext" ;; |
*) LIBOBJS="$LIBOBJS getprogname.$ac_objext" |
|
;; |
esac |
esac |
|
|
fi |
fi |
echo "$as_me:$LINENO: result: $sudo_cv___progname" >&5 |
{ echo "$as_me:$LINENO: result: $sudo_cv___progname" >&5 |
echo "${ECHO_T}$sudo_cv___progname" >&6 |
echo "${ECHO_T}$sudo_cv___progname" >&6; } |
|
|
fi |
fi |
done |
done |
|
|
if test -n "$with_kerb4"; then |
|
|
|
|
if test -z "${AUTH_EXCL}${AUTH_REG}" -a -n "$AUTH_EXCL_DEF"; then |
|
for auth in $AUTH_EXCL_DEF; do |
|
case $auth in |
|
AIX_AUTH) with_aixauth=maybe;; |
|
BSD_AUTH) with_bsdauth=maybe;; |
|
PAM) with_pam=maybe;; |
|
SIA) CHECKSIA=true;; |
|
esac |
|
done |
|
fi |
|
|
|
if test ${with_pam-"no"} != "no"; then |
|
{ 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 |
|
SUDO_LIBS="${SUDO_LIBS} -lpam -ldl" |
|
else |
|
SUDO_LIBS="${SUDO_LIBS} -lpam" |
|
fi |
|
|
|
ac_cv_lib_dl=ac_cv_lib_dl_main |
|
|
|
|
|
|
|
for ac_header in security/pam_appl.h pam/pam_appl.h |
|
do |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
fi |
|
ac_res=`eval echo '${'$as_ac_Header'}'` |
|
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&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 |
|
/* 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 { (ac_try="$ac_compile" |
|
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_compile") 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_objext; 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 core conftest.err 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 |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#include <$ac_header> |
|
_ACEOF |
|
if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
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_cpp conftest.$ac_ext") 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); } >/dev/null && { |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
test ! -s conftest.err |
|
}; then |
|
ac_header_preproc=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_header_preproc=no |
|
fi |
|
|
|
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:$ac_c_preproc_warn_flag 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 compiler's result" >&5 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
ac_header_preproc=yes |
|
;; |
|
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: see the Autoconf documentation" >&5 |
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&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;} |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
|
;; |
|
esac |
|
{ echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
eval "$as_ac_Header=\$ac_header_preproc" |
|
fi |
|
ac_res=`eval echo '${'$as_ac_Header'}'` |
|
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
|
|
|
fi |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
cat >>confdefs.h <<_ACEOF |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
_ACEOF |
|
with_pam=yes; break |
|
fi |
|
|
|
done |
|
|
|
if test "$with_pam" = "yes"; then |
|
cat >>confdefs.h <<\_ACEOF |
|
#define HAVE_PAM 1 |
|
_ACEOF |
|
|
|
AUTH_OBJS="$AUTH_OBJS pam.o"; |
|
AUTH_EXCL=PAM |
|
fi |
|
fi |
|
|
|
if test ${with_aixauth-'no'} != "no"; then |
|
if test X"$with_aixauth" != X"maybe" -o X"$AUTH_EXCL" = X""; then |
|
{ echo "$as_me:$LINENO: using AIX general authentication" >&5 |
|
echo "$as_me: using AIX general authentication" >&6;} |
|
cat >>confdefs.h <<\_ACEOF |
|
#define HAVE_AIXAUTH 1 |
|
_ACEOF |
|
|
|
AUTH_OBJS="$AUTH_OBJS aix_auth.o"; |
|
SUDO_LIBS="${SUDO_LIBS} -ls" |
|
AUTH_EXCL=AIX_AUTH |
|
fi |
|
fi |
|
|
|
if test ${with_bsdauth-'no'} != "no"; then |
|
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; } |
|
if test "${ac_cv_header_bsd_auth_h+set}" = set; then |
|
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 |
|
# Is the header compilable? |
|
{ echo "$as_me:$LINENO: checking bsd_auth.h usability" >&5 |
|
echo $ECHO_N "checking bsd_auth.h usability... $ECHO_C" >&6; } |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
$ac_includes_default |
|
#include <bsd_auth.h> |
|
_ACEOF |
|
rm -f conftest.$ac_objext |
|
if { (ac_try="$ac_compile" |
|
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_compile") 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_objext; 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 core conftest.err 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 |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
#include <bsd_auth.h> |
|
_ACEOF |
|
if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
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_cpp conftest.$ac_ext") 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); } >/dev/null && { |
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
test ! -s conftest.err |
|
}; then |
|
ac_header_preproc=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_header_preproc=no |
|
fi |
|
|
|
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:$ac_c_preproc_warn_flag 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 compiler's result" >&5 |
|
echo "$as_me: WARNING: bsd_auth.h: proceeding with the compiler's result" >&2;} |
|
ac_header_preproc=yes |
|
;; |
|
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: see the Autoconf documentation" >&5 |
|
echo "$as_me: WARNING: bsd_auth.h: see the Autoconf documentation" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: bsd_auth.h: section \"Present But Cannot Be Compiled\"" >&5 |
|
echo "$as_me: WARNING: bsd_auth.h: section \"Present But Cannot Be Compiled\"" >&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;} |
|
{ echo "$as_me:$LINENO: WARNING: bsd_auth.h: in the future, the compiler will take precedence" >&5 |
|
echo "$as_me: WARNING: bsd_auth.h: in the future, the compiler will take precedence" >&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 |
|
{ echo "$as_me:$LINENO: result: $ac_cv_header_bsd_auth_h" >&5 |
|
echo "${ECHO_T}$ac_cv_header_bsd_auth_h" >&6; } |
|
|
|
fi |
|
if test $ac_cv_header_bsd_auth_h = yes; then |
|
cat >>confdefs.h <<\_ACEOF |
|
#define HAVE_BSD_AUTH_H 1 |
|
_ACEOF |
|
|
|
AUTH_OBJS="$AUTH_OBJS bsdauth.o" |
|
BSDAUTH_USAGE='[-a auth_type] ' |
|
AUTH_EXCL=BSD_AUTH |
|
else |
|
{ { 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;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
|
|
|
|
fi |
|
|
|
if test ${CHECKSIA-'false'} = "true"; then |
|
|
|
for ac_func in sia_ses_init |
|
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 { 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. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
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 |
|
main () |
|
{ |
|
return $ac_func (); |
|
; |
|
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 |
|
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 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 |
|
found=true |
|
else |
|
found=false |
|
fi |
|
done |
|
|
|
if test "$found" = "true"; then |
|
AUTH_EXCL=SIA |
|
AUTH_OBJS="$AUTH_OBJS sia.o" |
|
fi |
|
fi |
|
|
|
if test ${with_fwtk-'no'} != "no"; then |
|
if test "$with_fwtk" != "yes"; then |
|
|
|
if test X"$with_rpath" = X"yes"; then |
|
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_fwtk} -R${with_fwtk}" |
|
else |
|
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_fwtk}" |
|
fi |
|
if test X"$blibpath" != X"" -a "SUDO_LDFLAGS" = "SUDO_LDFLAGS"; then |
|
blibpath_add="${blibpath_add}:${with_fwtk}" |
|
fi |
|
|
|
CPPFLAGS="${CPPFLAGS} -I${with_fwtk}" |
|
with_fwtk=yes |
|
fi |
|
SUDO_LIBS="${SUDO_LIBS} -lauth -lfwall" |
|
AUTH_OBJS="$AUTH_OBJS fwtk.o" |
|
fi |
|
|
|
if test ${with_SecurID-'no'} != "no"; then |
|
if test "$with_SecurID" != "yes"; then |
|
: |
|
elif test -d /usr/ace/examples; then |
|
with_SecurID=/usr/ace/examples |
|
else |
|
with_SecurID=/usr/ace |
|
fi |
|
CPPFLAGS="${CPPFLAGS} -I${with_SecurID}" |
|
_LDFLAGS="${LDFLAGS}" |
|
|
|
if test X"$with_rpath" = X"yes"; then |
|
LDFLAGS="${LDFLAGS} -L${with_SecurID} -R${with_SecurID}" |
|
else |
|
LDFLAGS="${LDFLAGS} -L${with_SecurID}" |
|
fi |
|
if test X"$blibpath" != X"" -a "LDFLAGS" = "SUDO_LDFLAGS"; then |
|
blibpath_add="${blibpath_add}:${with_SecurID}" |
|
fi |
|
|
|
# |
|
# 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 |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
/* 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 SD_Init (); |
|
int |
|
main () |
|
{ |
|
return SD_Init (); |
|
; |
|
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_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 |
|
|
|
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_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="$AUTH_OBJS securid5.o"; |
|
SUDO_LIBS="${SUDO_LIBS} -laceclnt -lpthread" |
|
|
|
|
|
|
|
if test X"$with_rpath" = X"yes"; then |
|
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_SecurID} -R${with_SecurID}" |
|
else |
|
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_SecurID}" |
|
fi |
|
if test X"$blibpath" != X"" -a "SUDO_LDFLAGS" = "SUDO_LDFLAGS"; then |
|
blibpath_add="${blibpath_add}:${with_SecurID}" |
|
fi |
|
|
|
|
|
else |
|
|
|
AUTH_OBJS="$AUTH_OBJS securid.o"; |
|
SUDO_LIBS="${SUDO_LIBS} ${with_SecurID}/sdiclient.a" |
|
|
|
fi |
|
|
|
LDFLAGS="${_LDFLAGS}" |
|
fi |
|
|
|
|
|
if test -z "${AUTH_EXCL}" -a -n "$AUTH_DEF"; then |
|
for auth in $AUTH_DEF; do |
|
case $auth in |
|
passwd) : ${with_passwd='maybe'};; |
|
esac |
|
done |
|
fi |
|
|
|
if test ${with_kerb4-'no'} != "no"; then |
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_KERB4 1 |
#define HAVE_KERB4 1 |
_ACEOF |
_ACEOF |
|
|
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#include <krb.h> |
#include <krb.h> |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
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_cpp conftest.$ac_ext") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null && { |
if test -s conftest.err; then |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
ac_cpp_err=$ac_c_preproc_warn_flag |
test ! -s conftest.err |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
}; then |
else |
|
ac_cpp_err= |
|
fi |
|
else |
|
ac_cpp_err=yes |
|
fi |
|
if test -z "$ac_cpp_err"; then |
|
found=yes; break |
found=yes; break |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
|
|
|
|
|
|
fi |
fi |
|
|
rm -f conftest.err conftest.$ac_ext |
rm -f conftest.err conftest.$ac_ext |
done |
done |
test X"$found" = X"no" && CPPFLAGS="$O_CPPFLAGS" |
test X"$found" = X"no" && CPPFLAGS="$O_CPPFLAGS" |
|
|
|
|
CPPFLAGS="$CPPFLAGS -I${with_kerb4}/include" |
CPPFLAGS="$CPPFLAGS -I${with_kerb4}/include" |
if test "${ac_cv_header_krb_h+set}" = set; then |
if test "${ac_cv_header_krb_h+set}" = set; then |
echo "$as_me:$LINENO: checking for krb.h" >&5 |
{ echo "$as_me:$LINENO: checking for krb.h" >&5 |
echo $ECHO_N "checking for krb.h... $ECHO_C" >&6 |
echo $ECHO_N "checking for krb.h... $ECHO_C" >&6; } |
if test "${ac_cv_header_krb_h+set}" = set; then |
if test "${ac_cv_header_krb_h+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
fi |
fi |
echo "$as_me:$LINENO: result: $ac_cv_header_krb_h" >&5 |
{ echo "$as_me:$LINENO: result: $ac_cv_header_krb_h" >&5 |
echo "${ECHO_T}$ac_cv_header_krb_h" >&6 |
echo "${ECHO_T}$ac_cv_header_krb_h" >&6; } |
else |
else |
# Is the header compilable? |
# Is the header compilable? |
echo "$as_me:$LINENO: checking krb.h usability" >&5 |
{ echo "$as_me:$LINENO: checking krb.h usability" >&5 |
echo $ECHO_N "checking krb.h usability... $ECHO_C" >&6 |
echo $ECHO_N "checking krb.h usability... $ECHO_C" >&6; } |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
|
|
#include <krb.h> |
#include <krb.h> |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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 |
ac_header_compiler=yes |
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 |
|
|
ac_header_compiler=no |
ac_header_compiler=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
|
|
rm -f core conftest.err 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? |
# Is the header present? |
echo "$as_me:$LINENO: checking krb.h presence" >&5 |
{ echo "$as_me:$LINENO: checking krb.h presence" >&5 |
echo $ECHO_N "checking krb.h presence... $ECHO_C" >&6 |
echo $ECHO_N "checking krb.h presence... $ECHO_C" >&6; } |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
|
|
/* end confdefs.h. */ |
/* end confdefs.h. */ |
#include <krb.h> |
#include <krb.h> |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
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_cpp conftest.$ac_ext") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null && { |
if test -s conftest.err; then |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
ac_cpp_err=$ac_c_preproc_warn_flag |
test ! -s conftest.err |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
}; then |
else |
|
ac_cpp_err= |
|
fi |
|
else |
|
ac_cpp_err=yes |
|
fi |
|
if test -z "$ac_cpp_err"; then |
|
ac_header_preproc=yes |
ac_header_preproc=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
|
|
|
|
ac_header_preproc=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 "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
echo "${ECHO_T}$ac_header_preproc" >&6; } |
|
|
# So? What about this header? |
# So? What about this header? |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|
|
echo "$as_me: WARNING: krb.h: proceeding with the preprocessor's result" >&2;} |
echo "$as_me: WARNING: krb.h: proceeding with the preprocessor's result" >&2;} |
{ echo "$as_me:$LINENO: WARNING: krb.h: in the future, the compiler will take precedence" >&5 |
{ echo "$as_me:$LINENO: WARNING: krb.h: in the future, the compiler will take precedence" >&5 |
echo "$as_me: WARNING: krb.h: in the future, the compiler will take precedence" >&2;} |
echo "$as_me: WARNING: krb.h: in the future, the compiler will take precedence" >&2;} |
( |
|
cat <<\_ASBOX |
|
## ------------------------------- ## |
|
## Report this to the sudo lists. ## |
|
## ------------------------------- ## |
|
_ASBOX |
|
) | |
|
sed "s/^/$as_me: WARNING: /" >&2 |
|
;; |
;; |
esac |
esac |
echo "$as_me:$LINENO: checking for krb.h" >&5 |
{ echo "$as_me:$LINENO: checking for krb.h" >&5 |
echo $ECHO_N "checking for krb.h... $ECHO_C" >&6 |
echo $ECHO_N "checking for krb.h... $ECHO_C" >&6; } |
if test "${ac_cv_header_krb_h+set}" = set; then |
if test "${ac_cv_header_krb_h+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
ac_cv_header_krb_h=$ac_header_preproc |
ac_cv_header_krb_h=$ac_header_preproc |
fi |
fi |
echo "$as_me:$LINENO: result: $ac_cv_header_krb_h" >&5 |
{ echo "$as_me:$LINENO: result: $ac_cv_header_krb_h" >&5 |
echo "${ECHO_T}$ac_cv_header_krb_h" >&6 |
echo "${ECHO_T}$ac_cv_header_krb_h" >&6; } |
|
|
fi |
fi |
if test $ac_cv_header_krb_h = yes; then |
if test $ac_cv_header_krb_h = yes; then |
|
|
echo "$as_me: WARNING: Unable to locate Kerberos IV include files, you will have to edit the Makefile and add -I/path/to/krb/includes to CPPFLAGS" >&2;} |
echo "$as_me: WARNING: Unable to locate Kerberos IV include files, you will have to edit the Makefile and add -I/path/to/krb/includes to CPPFLAGS" >&2;} |
fi |
fi |
|
|
echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 |
{ echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 |
echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 |
echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6; } |
if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then |
if test "${ac_cv_lib_des_des_cbc_encrypt+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 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char des_cbc_encrypt (); |
char des_cbc_encrypt (); |
int |
int |
main () |
main () |
{ |
{ |
des_cbc_encrypt (); |
return des_cbc_encrypt (); |
; |
; |
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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_des_des_cbc_encrypt=yes |
ac_cv_lib_des_des_cbc_encrypt=yes |
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 |
|
|
ac_cv_lib_des_des_cbc_encrypt=no |
ac_cv_lib_des_des_cbc_encrypt=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 |
echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 |
echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6; } |
if test $ac_cv_lib_des_des_cbc_encrypt = yes; then |
if test $ac_cv_lib_des_des_cbc_encrypt = yes; then |
K4LIBS="-ldes" |
K4LIBS="-ldes" |
else |
else |
|
|
echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 |
{ echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 |
echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 |
echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6; } |
if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then |
if test "${ac_cv_lib_des425_des_cbc_encrypt+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 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char des_cbc_encrypt (); |
char des_cbc_encrypt (); |
int |
int |
main () |
main () |
{ |
{ |
des_cbc_encrypt (); |
return des_cbc_encrypt (); |
; |
; |
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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_des425_des_cbc_encrypt=yes |
ac_cv_lib_des425_des_cbc_encrypt=yes |
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 |
|
|
ac_cv_lib_des425_des_cbc_encrypt=no |
ac_cv_lib_des425_des_cbc_encrypt=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 |
echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 |
echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6; } |
if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then |
if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then |
K4LIBS="-ldes425" |
K4LIBS="-ldes425" |
else |
else |
|
|
|
|
fi |
fi |
|
|
echo "$as_me:$LINENO: checking whether we are using KTH Kerberos IV" >&5 |
{ echo "$as_me:$LINENO: checking whether we are using KTH Kerberos IV" >&5 |
echo $ECHO_N "checking whether we are using KTH Kerberos IV... $ECHO_C" >&6 |
echo $ECHO_N "checking whether we are using KTH Kerberos IV... $ECHO_C" >&6; } |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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 |
|
|
|
echo "$as_me:$LINENO: result: yes" >&5 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6; } |
K4LIBS="${K4LIBS} -lcom_err" |
K4LIBS="${K4LIBS} -lcom_err" |
echo "$as_me:$LINENO: checking for main in -lroken" >&5 |
{ echo "$as_me:$LINENO: checking for main in -lroken" >&5 |
echo $ECHO_N "checking for main in -lroken... $ECHO_C" >&6 |
echo $ECHO_N "checking for main in -lroken... $ECHO_C" >&6; } |
if test "${ac_cv_lib_roken_main+set}" = set; then |
if test "${ac_cv_lib_roken_main+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
|
|
int |
int |
main () |
main () |
{ |
{ |
main (); |
return main (); |
; |
; |
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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_roken_main=yes |
ac_cv_lib_roken_main=yes |
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 |
|
|
ac_cv_lib_roken_main=no |
ac_cv_lib_roken_main=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:$LINENO: result: $ac_cv_lib_roken_main" >&5 |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_roken_main" >&5 |
echo "${ECHO_T}$ac_cv_lib_roken_main" >&6 |
echo "${ECHO_T}$ac_cv_lib_roken_main" >&6; } |
if test $ac_cv_lib_roken_main = yes; then |
if test $ac_cv_lib_roken_main = yes; then |
K4LIBS="${K4LIBS} -lroken" |
K4LIBS="${K4LIBS} -lroken" |
fi |
fi |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
echo "$as_me:$LINENO: 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.err conftest.$ac_objext conftest.$ac_ext |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
as_ac_Lib=`echo "ac_cv_lib_krb_main$K4LIBS" | $as_tr_sh` |
as_ac_Lib=`echo "ac_cv_lib_krb_main$K4LIBS" | $as_tr_sh` |
echo "$as_me:$LINENO: checking for main in -lkrb" >&5 |
{ echo "$as_me:$LINENO: checking for main in -lkrb" >&5 |
echo $ECHO_N "checking for main in -lkrb... $ECHO_C" >&6 |
echo $ECHO_N "checking for main in -lkrb... $ECHO_C" >&6; } |
if eval "test \"\${$as_ac_Lib+set}\" = set"; then |
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+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_check_lib_save_LIBS=$LIBS |
|
|
int |
int |
main () |
main () |
{ |
{ |
main (); |
return main (); |
; |
; |
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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_Lib=yes" |
eval "$as_ac_Lib=yes" |
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_Lib=no" |
eval "$as_ac_Lib=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_Lib'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
K4LIBS="-lkrb $K4LIBS" |
K4LIBS="-lkrb $K4LIBS" |
else |
else |
|
|
as_ac_Lib=`echo "ac_cv_lib_krb4_main$K4LIBS" | $as_tr_sh` |
as_ac_Lib=`echo "ac_cv_lib_krb4_main$K4LIBS" | $as_tr_sh` |
echo "$as_me:$LINENO: checking for main in -lkrb4" >&5 |
{ echo "$as_me:$LINENO: checking for main in -lkrb4" >&5 |
echo $ECHO_N "checking for main in -lkrb4... $ECHO_C" >&6 |
echo $ECHO_N "checking for main in -lkrb4... $ECHO_C" >&6; } |
if eval "test \"\${$as_ac_Lib+set}\" = set"; then |
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+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_check_lib_save_LIBS=$LIBS |
|
|
int |
int |
main () |
main () |
{ |
{ |
main (); |
return main (); |
; |
; |
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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_Lib=yes" |
eval "$as_ac_Lib=yes" |
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_Lib=no" |
eval "$as_ac_Lib=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_Lib'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
K4LIBS="-lkrb4 $K4LIBS" |
K4LIBS="-lkrb4 $K4LIBS" |
else |
else |
|
|
|
|
LDFLAGS="$O_LDFLAGS" |
LDFLAGS="$O_LDFLAGS" |
SUDO_LIBS="${SUDO_LIBS} $K4LIBS" |
SUDO_LIBS="${SUDO_LIBS} $K4LIBS" |
|
|
if test X"$AUTH_EXCL" != X""; then |
|
{ { echo "$as_me:$LINENO: error: \"cannot mix Kerberos 4 with an exclusive authentication method such as $AUTH_EXCL\"" >&5 |
|
echo "$as_me: error: \"cannot mix Kerberos 4 with an exclusive authentication method such as $AUTH_EXCL\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
elif test X"" != X"" -a X"$AUTH_OBJS" != X"" -a X"$AUTH_OBJS" != X"passwd.o"; then |
|
_AUTH=`echo "$AUTH_OBJS" | sed 's/\.o//g'` |
|
{ { echo "$as_me:$LINENO: error: \"cannot mix Kerberos 4 with other authentication methods (such as $_AUTH)\"" >&5 |
|
echo "$as_me: error: \"cannot mix Kerberos 4 with other authentication methods (such as $_AUTH)\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
if test X"" != X""; then |
|
AUTH_OBJS="kerb4.o" |
|
AUTH_EXCL="Kerberos 4" |
|
elif test X"$AUTH_OBJS" = X""; then |
|
AUTH_OBJS="kerb4.o" |
|
else |
|
AUTH_OBJS="$AUTH_OBJS kerb4.o" |
AUTH_OBJS="$AUTH_OBJS kerb4.o" |
fi |
fi |
|
|
fi |
if test ${with_kerb5-'no'} != "no"; then |
|
|
if test "$with_kerb5" = "yes"; then |
|
# Extract the first word of "krb5-config", so it can be a program name with args. |
# Extract the first word of "krb5-config", so it can be a program name with args. |
set dummy krb5-config; ac_word=$2 |
set dummy krb5-config; ac_word=$2 |
echo "$as_me:$LINENO: 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_KRB5CONFIG+set}" = set; then |
if test "${ac_cv_prog_KRB5CONFIG+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
|
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
ac_cv_prog_KRB5CONFIG="yes" |
ac_cv_prog_KRB5CONFIG="yes" |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
fi |
fi |
done |
done |
done |
done |
|
IFS=$as_save_IFS |
|
|
test -z "$ac_cv_prog_KRB5CONFIG" && ac_cv_prog_KRB5CONFIG="""" |
test -z "$ac_cv_prog_KRB5CONFIG" && ac_cv_prog_KRB5CONFIG="""" |
fi |
fi |
fi |
fi |
KRB5CONFIG=$ac_cv_prog_KRB5CONFIG |
KRB5CONFIG=$ac_cv_prog_KRB5CONFIG |
if test -n "$KRB5CONFIG"; then |
if test -n "$KRB5CONFIG"; then |
echo "$as_me:$LINENO: result: $KRB5CONFIG" >&5 |
{ echo "$as_me:$LINENO: result: $KRB5CONFIG" >&5 |
echo "${ECHO_T}$KRB5CONFIG" >&6 |
echo "${ECHO_T}$KRB5CONFIG" >&6; } |
else |
else |
echo "$as_me:$LINENO: 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 "$KRB5CONFIG"; then |
if test -n "$KRB5CONFIG"; then |
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_KERB5 1 |
#define HAVE_KERB5 1 |
_ACEOF |
_ACEOF |
|
|
|
AUTH_OBJS="$AUTH_OBJS kerb5.o" |
if test X"$AUTH_EXCL" != X""; then |
|
{ { echo "$as_me:$LINENO: error: \"cannot mix Kerberos 5 with an exclusive authentication method such as $AUTH_EXCL\"" >&5 |
|
echo "$as_me: error: \"cannot mix Kerberos 5 with an exclusive authentication method such as $AUTH_EXCL\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
elif test X"" != X"" -a X"$AUTH_OBJS" != X"" -a X"$AUTH_OBJS" != X"passwd.o"; then |
|
_AUTH=`echo "$AUTH_OBJS" | sed 's/\.o//g'` |
|
{ { echo "$as_me:$LINENO: error: \"cannot mix Kerberos 5 with other authentication methods (such as $_AUTH)\"" >&5 |
|
echo "$as_me: error: \"cannot mix Kerberos 5 with other authentication methods (such as $_AUTH)\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
if test X"" != X""; then |
|
AUTH_OBJS="kerb5.o" |
|
AUTH_EXCL="Kerberos 5" |
|
elif test X"$AUTH_OBJS" = X""; then |
|
AUTH_OBJS="kerb5.o" |
|
else |
|
AUTH_OBJS="$AUTH_OBJS kerb5.o" |
|
fi |
|
|
|
CPPFLAGS="$CPPFLAGS `krb5-config --cflags`" |
CPPFLAGS="$CPPFLAGS `krb5-config --cflags`" |
SUDO_LIBS="$SUDO_LIBS `krb5-config --libs`" |
SUDO_LIBS="$SUDO_LIBS `krb5-config --libs`" |
echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5 |
{ echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5 |
echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6 |
echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6; } |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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 |
|
|
|
echo "$as_me:$LINENO: result: yes" >&5 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6; } |
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_HEIMDAL 1 |
#define HAVE_HEIMDAL 1 |
_ACEOF |
_ACEOF |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
echo "$as_me:$LINENO: 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.err conftest.$ac_objext conftest.$ac_ext |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
fi |
fi |
fi |
fi |
if test -n "$with_kerb5" -a -z "$KRB5CONFIG"; then |
if test ${with_kerb5-'no'} != "no" -a -z "$KRB5CONFIG"; then |
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_KERB5 1 |
#define HAVE_KERB5 1 |
_ACEOF |
_ACEOF |
|
|
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#include <krb5.h> |
#include <krb5.h> |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
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_cpp conftest.$ac_ext") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null && { |
if test -s conftest.err; then |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
ac_cpp_err=$ac_c_preproc_warn_flag |
test ! -s conftest.err |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
}; then |
else |
|
ac_cpp_err= |
|
fi |
|
else |
|
ac_cpp_err=yes |
|
fi |
|
if test -z "$ac_cpp_err"; then |
|
found=yes; break |
found=yes; break |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
|
|
|
|
|
|
fi |
fi |
|
|
rm -f conftest.err conftest.$ac_ext |
rm -f conftest.err conftest.$ac_ext |
done |
done |
if test X"$found" = X"no"; then |
if test X"$found" = X"no"; then |
|
|
CPPFLAGS="$CPPFLAGS -I${with_kerb5}/include" |
CPPFLAGS="$CPPFLAGS -I${with_kerb5}/include" |
fi |
fi |
|
|
echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5 |
{ echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5 |
echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6 |
echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6; } |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (ac_try="$ac_compile" |
(eval $ac_compile) 2>conftest.er1 |
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_compile") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest.$ac_objext; then |
(eval $ac_try) 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 |
|
|
|
echo "$as_me:$LINENO: result: yes" >&5 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6; } |
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_HEIMDAL 1 |
#define HAVE_HEIMDAL 1 |
_ACEOF |
_ACEOF |
|
|
SUDO_LIBS="${SUDO_LIBS} -lkrb5 -lcrypto -ldes -lcom_err -lasn1" |
SUDO_LIBS="${SUDO_LIBS} -lkrb5 -lcrypto -ldes -lcom_err -lasn1" |
echo "$as_me:$LINENO: checking for main in -lroken" >&5 |
{ echo "$as_me:$LINENO: checking for main in -lroken" >&5 |
echo $ECHO_N "checking for main in -lroken... $ECHO_C" >&6 |
echo $ECHO_N "checking for main in -lroken... $ECHO_C" >&6; } |
if test "${ac_cv_lib_roken_main+set}" = set; then |
if test "${ac_cv_lib_roken_main+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
|
|
int |
int |
main () |
main () |
{ |
{ |
main (); |
return main (); |
; |
; |
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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_roken_main=yes |
ac_cv_lib_roken_main=yes |
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 |
|
|
ac_cv_lib_roken_main=no |
ac_cv_lib_roken_main=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:$LINENO: result: $ac_cv_lib_roken_main" >&5 |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_roken_main" >&5 |
echo "${ECHO_T}$ac_cv_lib_roken_main" >&6 |
echo "${ECHO_T}$ac_cv_lib_roken_main" >&6; } |
if test $ac_cv_lib_roken_main = yes; then |
if test $ac_cv_lib_roken_main = yes; then |
SUDO_LIBS="${SUDO_LIBS} -lroken" |
SUDO_LIBS="${SUDO_LIBS} -lroken" |
fi |
fi |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
echo "$as_me:$LINENO: result: no" >&5 |
{ echo "$as_me:$LINENO: result: no" >&5 |
echo "${ECHO_T}no" >&6 |
echo "${ECHO_T}no" >&6; } |
SUDO_LIBS="${SUDO_LIBS} -lkrb5 -lk5crypto -lcom_err" |
SUDO_LIBS="${SUDO_LIBS} -lkrb5 -lk5crypto -lcom_err" |
|
|
|
|
fi |
fi |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
|
if test X"$AUTH_EXCL" != X""; then |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
{ { echo "$as_me:$LINENO: error: \"cannot mix Kerberos 5 with an exclusive authentication method such as $AUTH_EXCL\"" >&5 |
|
echo "$as_me: error: \"cannot mix Kerberos 5 with an exclusive authentication method such as $AUTH_EXCL\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
elif test X"" != X"" -a X"$AUTH_OBJS" != X"" -a X"$AUTH_OBJS" != X"passwd.o"; then |
|
_AUTH=`echo "$AUTH_OBJS" | sed 's/\.o//g'` |
|
{ { echo "$as_me:$LINENO: error: \"cannot mix Kerberos 5 with other authentication methods (such as $_AUTH)\"" >&5 |
|
echo "$as_me: error: \"cannot mix Kerberos 5 with other authentication methods (such as $_AUTH)\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
if test X"" != X""; then |
|
AUTH_OBJS="kerb5.o" |
|
AUTH_EXCL="Kerberos 5" |
|
elif test X"$AUTH_OBJS" = X""; then |
|
AUTH_OBJS="kerb5.o" |
|
else |
|
AUTH_OBJS="$AUTH_OBJS kerb5.o" |
AUTH_OBJS="$AUTH_OBJS kerb5.o" |
fi |
|
|
|
_LIBS="$LIBS" |
_LIBS="$LIBS" |
LIBS="${LIBS} ${SUDO_LIBS}" |
LIBS="${LIBS} ${SUDO_LIBS}" |
|
|
|
|
for ac_func in krb5_verify_user krb5_init_secure_context |
for ac_func in krb5_verify_user krb5_init_secure_context |
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 |
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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
LIBS="$_LIBS" |
LIBS="$_LIBS" |
fi |
fi |
|
|
if test "$with_logincap" = "yes"; then |
if test ${with_logincap-'no'} = "yes"; then |
case "$OS" in |
case "$OS" in |
freebsd|netbsd) SUDO_LIBS="${SUDO_LIBS} -lutil" |
freebsd|netbsd) SUDO_LIBS="${SUDO_LIBS} -lutil" |
;; |
;; |
esac |
esac |
fi |
fi |
|
|
if test ${with_pam-'no'} != "no"; then |
if test ${with_AFS-'no'} = "yes"; then |
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 () |
|
{ |
|
main (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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_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 conftest.err conftest.$ac_objext \ |
|
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 |
|
SUDO_LIBS="${SUDO_LIBS} -lpam -ldl" |
|
else |
|
SUDO_LIBS="${SUDO_LIBS} -lpam" |
|
fi |
|
|
|
ac_cv_lib_dl=ac_cv_lib_dl_main |
|
|
|
|
|
|
|
for ac_header in security/pam_appl.h pam/pam_appl.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 |
|
/* 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>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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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.err 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 |
|
/* 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 |
|
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); } >/dev/null; then |
|
if test -s conftest.err; then |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
else |
|
ac_cpp_err= |
|
fi |
|
else |
|
ac_cpp_err=yes |
|
fi |
|
if test -z "$ac_cpp_err"; then |
|
ac_header_preproc=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_header_preproc=no |
|
fi |
|
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:$ac_c_preproc_warn_flag 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 compiler's result" >&5 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
ac_header_preproc=yes |
|
;; |
|
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: see the Autoconf documentation" >&5 |
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&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;} |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
( |
|
cat <<\_ASBOX |
|
## ------------------------------- ## |
|
## Report this to the sudo lists. ## |
|
## ------------------------------- ## |
|
_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 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
|
fi |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
cat >>confdefs.h <<_ACEOF |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
_ACEOF |
|
with_pam=yes; break |
|
fi |
|
|
|
done |
|
|
|
if test "$with_pam" = "yes"; then |
|
cat >>confdefs.h <<\_ACEOF |
|
#define HAVE_PAM 1 |
|
_ACEOF |
|
|
|
|
|
if test X"$AUTH_EXCL" != X""; then |
|
{ { echo "$as_me:$LINENO: error: \"cannot mix PAM with an exclusive authentication method such as $AUTH_EXCL\"" >&5 |
|
echo "$as_me: error: \"cannot mix PAM with an exclusive authentication method such as $AUTH_EXCL\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
elif test X"true" != X"" -a X"$AUTH_OBJS" != X"" -a X"$AUTH_OBJS" != X"passwd.o"; then |
|
_AUTH=`echo "$AUTH_OBJS" | sed 's/\.o//g'` |
|
{ { echo "$as_me:$LINENO: error: \"cannot mix PAM with other authentication methods (such as $_AUTH)\"" >&5 |
|
echo "$as_me: error: \"cannot mix PAM with other authentication methods (such as $_AUTH)\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
if test X"true" != X""; then |
|
AUTH_OBJS="pam.o" |
|
AUTH_EXCL="PAM" |
|
elif test X"$AUTH_OBJS" = X""; then |
|
AUTH_OBJS="pam.o" |
|
else |
|
AUTH_OBJS="$AUTH_OBJS pam.o" |
|
fi |
|
|
|
CHECKSHADOW=false |
|
fi |
|
fi |
|
|
|
if test "$CHECKSHADOW" = "true" -a -n "$shadow_funcs"; then |
|
_LIBS="$LIBS" |
|
LIBS="$LIBS $shadow_libs" |
|
found=no |
|
|
|
for ac_func in $shadow_funcs |
|
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 |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
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 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 |
|
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 |
|
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>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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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.err 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 |
|
found=yes |
|
fi |
|
done |
|
|
|
if test "$found" = "yes"; then |
|
SUDO_LIBS="$SUDO_LIBS $shadow_libs" |
|
elif test -n "$shadow_libs_optional"; then |
|
LIBS="$LIBS $shadow_libs_optional" |
|
|
|
for ac_func in $shadow_funcs |
|
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 |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
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 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 |
|
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 |
|
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>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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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.err 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 |
|
found=yes |
|
fi |
|
done |
|
|
|
if test "$found" = "yes"; then |
|
SUDO_LIBS="$SUDO_LIBS $shadow_libs $shadow_libs_optional" |
|
fi |
|
fi |
|
if test "$found" = "yes"; then |
|
case "$shadow_funcs" in |
|
*getprpwnam*) SECUREWARE=1;; |
|
esac |
|
test -n "$shadow_defs" && OSDEFS="${OSDEFS} $shadow_defs" |
|
else |
|
LIBS="$_LIBS" |
|
fi |
|
CHECKSHADOW=false |
|
fi |
|
if test "$CHECKSHADOW" = "true"; then |
|
|
|
for ac_func in getspnam |
|
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 |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
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 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 |
|
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 |
|
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>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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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.err 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 |
|
CHECKSHADOW="false" |
|
else |
|
echo "$as_me:$LINENO: checking for getspnam in -lgen" >&5 |
|
echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6 |
|
if test "${ac_cv_lib_gen_getspnam+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lgen $LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* 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 getspnam (); |
|
int |
|
main () |
|
{ |
|
getspnam (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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_gen_getspnam=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_gen_getspnam=no |
|
fi |
|
rm -f conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getspnam" >&5 |
|
echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6 |
|
if test $ac_cv_lib_gen_getspnam = yes; then |
|
cat >>confdefs.h <<\_ACEOF |
|
#define HAVE_GETSPNAM 1 |
|
_ACEOF |
|
SUDO_LIBS="${SUDO_LIBS} -lgen"; LIBS="${LIBS} -lgen" |
|
fi |
|
|
|
fi |
|
done |
|
|
|
fi |
|
if test "$CHECKSHADOW" = "true"; then |
|
echo "$as_me:$LINENO: checking for getprpwnam" >&5 |
|
echo $ECHO_N "checking for getprpwnam... $ECHO_C" >&6 |
|
if test "${ac_cv_func_getprpwnam+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* Define getprpwnam to an innocuous variant, in case <limits.h> declares getprpwnam. |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
#define getprpwnam innocuous_getprpwnam |
|
|
|
/* System header to define __stub macros and hopefully few prototypes, |
|
which can conflict with char getprpwnam (); 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 getprpwnam |
|
|
|
/* 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 getprpwnam (); |
|
/* 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_getprpwnam) || defined (__stub___getprpwnam) |
|
choke me |
|
#else |
|
char (*f) () = getprpwnam; |
|
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != getprpwnam; |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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_func_getprpwnam=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_func_getprpwnam=no |
|
fi |
|
rm -f conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_func_getprpwnam" >&5 |
|
echo "${ECHO_T}$ac_cv_func_getprpwnam" >&6 |
|
if test $ac_cv_func_getprpwnam = yes; then |
|
cat >>confdefs.h <<\_ACEOF |
|
#define HAVE_GETPRPWNAM 1 |
|
_ACEOF |
|
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 |
|
if test "${ac_cv_lib_sec_getprpwnam+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lsec $LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* 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 getprpwnam (); |
|
int |
|
main () |
|
{ |
|
getprpwnam (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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_sec_getprpwnam=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_sec_getprpwnam=no |
|
fi |
|
rm -f conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_sec_getprpwnam" >&5 |
|
echo "${ECHO_T}$ac_cv_lib_sec_getprpwnam" >&6 |
|
if test $ac_cv_lib_sec_getprpwnam = yes; then |
|
cat >>confdefs.h <<\_ACEOF |
|
#define HAVE_GETPRPWNAM 1 |
|
_ACEOF |
|
CHECKSHADOW="false"; SECUREWARE=1; SUDO_LIBS="${SUDO_LIBS} -lsec"; LIBS="${LIBS} -lsec" |
|
else |
|
echo "$as_me:$LINENO: checking for getprpwnam in -lsecurity" >&5 |
|
echo $ECHO_N "checking for getprpwnam in -lsecurity... $ECHO_C" >&6 |
|
if test "${ac_cv_lib_security_getprpwnam+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lsecurity $LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* 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 getprpwnam (); |
|
int |
|
main () |
|
{ |
|
getprpwnam (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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_security_getprpwnam=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_security_getprpwnam=no |
|
fi |
|
rm -f conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_security_getprpwnam" >&5 |
|
echo "${ECHO_T}$ac_cv_lib_security_getprpwnam" >&6 |
|
if test $ac_cv_lib_security_getprpwnam = yes; then |
|
cat >>confdefs.h <<\_ACEOF |
|
#define HAVE_GETPRPWNAM 1 |
|
_ACEOF |
|
CHECKSHADOW="false"; SECUREWARE=1; SUDO_LIBS="${SUDO_LIBS} -lsecurity"; LIBS="${LIBS} -lsecurity" |
|
else |
|
echo "$as_me:$LINENO: checking for getprpwnam in -lprot" >&5 |
|
echo $ECHO_N "checking for getprpwnam in -lprot... $ECHO_C" >&6 |
|
if test "${ac_cv_lib_prot_getprpwnam+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lprot $LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
/* 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 getprpwnam (); |
|
int |
|
main () |
|
{ |
|
getprpwnam (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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_prot_getprpwnam=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_prot_getprpwnam=no |
|
fi |
|
rm -f conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_prot_getprpwnam" >&5 |
|
echo "${ECHO_T}$ac_cv_lib_prot_getprpwnam" >&6 |
|
if test $ac_cv_lib_prot_getprpwnam = yes; then |
|
cat >>confdefs.h <<\_ACEOF |
|
#define HAVE_GETPRPWNAM 1 |
|
_ACEOF |
|
CHECKSHADOW="false"; SECUREWARE=1; SUDO_LIBS="${SUDO_LIBS} -lprot"; LIBS="${LIBS} -lprot" |
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
if test -n "$SECUREWARE"; then |
|
|
|
|
|
|
|
for ac_func in bigcrypt set_auth_parameters initprivs |
|
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 |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
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 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 |
|
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 |
|
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>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); } && |
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|| test ! -s conftest.err' |
|
{ (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); }; } && |
|
{ 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.err 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 |
|
|
|
fi |
|
done |
|
|
|
|
|
if test X"$AUTH_EXCL" != X""; then |
|
{ { echo "$as_me:$LINENO: error: \"cannot mix SecureWare with an exclusive authentication method such as $AUTH_EXCL\"" >&5 |
|
echo "$as_me: error: \"cannot mix SecureWare with an exclusive authentication method such as $AUTH_EXCL\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
elif test X"" != X"" -a X"$AUTH_OBJS" != X"" -a X"$AUTH_OBJS" != X"passwd.o"; then |
|
_AUTH=`echo "$AUTH_OBJS" | sed 's/\.o//g'` |
|
{ { echo "$as_me:$LINENO: error: \"cannot mix SecureWare with other authentication methods (such as $_AUTH)\"" >&5 |
|
echo "$as_me: error: \"cannot mix SecureWare with other authentication methods (such as $_AUTH)\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
if test X"" != X""; then |
|
AUTH_OBJS="secureware.o" |
|
AUTH_EXCL="SecureWare" |
|
elif test X"$AUTH_OBJS" = X""; then |
|
AUTH_OBJS="secureware.o" |
|
else |
|
AUTH_OBJS="$AUTH_OBJS secureware.o" |
|
fi |
|
|
|
fi |
|
|
|
if test "$with_AFS" = "yes"; then |
|
|
|
# looks like the "standard" place for AFS libs is /usr/afsws/lib |
# looks like the "standard" place for AFS libs is /usr/afsws/lib |
AFSLIBDIRS="/usr/lib/afs /usr/afsws/lib /usr/afsws/lib/afs" |
AFSLIBDIRS="/usr/lib/afs /usr/afsws/lib /usr/afsws/lib/afs" |
for i in $AFSLIBDIRS; do |
for i in $AFSLIBDIRS; do |
|
|
{ echo "$as_me:$LINENO: WARNING: Unable to locate AFS include dir, you may have to edit the Makefile and add -I/path/to/afs/includes to CPPFLAGS or rerun configure with the --with-incpath options." >&5 |
{ echo "$as_me:$LINENO: WARNING: Unable to locate AFS include dir, you may have to edit the Makefile and add -I/path/to/afs/includes to CPPFLAGS or rerun configure with the --with-incpath options." >&5 |
echo "$as_me: WARNING: Unable to locate AFS include dir, you may have to edit the Makefile and add -I/path/to/afs/includes to CPPFLAGS or rerun configure with the --with-incpath options." >&2;} |
echo "$as_me: WARNING: Unable to locate AFS include dir, you may have to edit the Makefile and add -I/path/to/afs/includes to CPPFLAGS or rerun configure with the --with-incpath options." >&2;} |
fi |
fi |
|
|
|
AUTH_OBJS="$AUTH_OBJS afs.o" |
fi |
fi |
|
|
if test "$with_DCE" = "yes"; then |
if test ${with_DCE-'no'} = "yes"; then |
DCE_OBJS="${DCE_OBJS} dce_pwent.o" |
DCE_OBJS="${DCE_OBJS} dce_pwent.o" |
SUDO_LIBS="${SUDO_LIBS} -ldce" |
SUDO_LIBS="${SUDO_LIBS} -ldce" |
|
AUTH_OBJS="$AUTH_OBJS dce.o" |
fi |
fi |
|
|
if test -n "$with_skey"; then |
if test ${with_skey-'no'} = "yes"; then |
O_LDFLAGS="$LDFLAGS" |
O_LDFLAGS="$LDFLAGS" |
if test "$with_skey" != "yes"; then |
if test "$with_skey" != "yes"; then |
CPPFLAGS="${CPPFLAGS} -I${with_skey}/include" |
CPPFLAGS="${CPPFLAGS} -I${with_skey}/include" |
|
|
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#include <skey.h> |
#include <skey.h> |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
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_cpp conftest.$ac_ext") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null && { |
if test -s conftest.err; then |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
ac_cpp_err=$ac_c_preproc_warn_flag |
test ! -s conftest.err |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
}; then |
else |
|
ac_cpp_err= |
|
fi |
|
else |
|
ac_cpp_err=yes |
|
fi |
|
if test -z "$ac_cpp_err"; then |
|
found=yes |
found=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
|
|
|
|
found=no |
found=no |
fi |
fi |
|
|
rm -f conftest.err conftest.$ac_ext |
rm -f conftest.err conftest.$ac_ext |
else |
else |
found=no |
found=no |
|
|
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#include <skey.h> |
#include <skey.h> |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
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_cpp conftest.$ac_ext") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null && { |
if test -s conftest.err; then |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
ac_cpp_err=$ac_c_preproc_warn_flag |
test ! -s conftest.err |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
}; then |
else |
|
ac_cpp_err= |
|
fi |
|
else |
|
ac_cpp_err=yes |
|
fi |
|
if test -z "$ac_cpp_err"; then |
|
found=yes; break |
found=yes; break |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
|
|
|
|
|
|
fi |
fi |
|
|
rm -f conftest.err conftest.$ac_ext |
rm -f conftest.err conftest.$ac_ext |
done |
done |
if test "$found" = "no" -o -z "$dir"; then |
if test "$found" = "no" -o -z "$dir"; then |
|
|
{ echo "$as_me:$LINENO: WARNING: Unable to locate skey.h, you will have to edit the Makefile and add -I/path/to/skey/includes to CPPFLAGS" >&5 |
{ echo "$as_me:$LINENO: WARNING: Unable to locate skey.h, you will have to edit the Makefile and add -I/path/to/skey/includes to CPPFLAGS" >&5 |
echo "$as_me: WARNING: Unable to locate skey.h, you will have to edit the Makefile and add -I/path/to/skey/includes to CPPFLAGS" >&2;} |
echo "$as_me: WARNING: Unable to locate skey.h, you will have to edit the Makefile and add -I/path/to/skey/includes to CPPFLAGS" >&2;} |
fi |
fi |
echo "$as_me:$LINENO: checking for main in -lskey" >&5 |
{ echo "$as_me:$LINENO: checking for main in -lskey" >&5 |
echo $ECHO_N "checking for main in -lskey... $ECHO_C" >&6 |
echo $ECHO_N "checking for main in -lskey... $ECHO_C" >&6; } |
if test "${ac_cv_lib_skey_main+set}" = set; then |
if test "${ac_cv_lib_skey_main+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
|
|
int |
int |
main () |
main () |
{ |
{ |
main (); |
return main (); |
; |
; |
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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_skey_main=yes |
ac_cv_lib_skey_main=yes |
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 |
|
|
ac_cv_lib_skey_main=no |
ac_cv_lib_skey_main=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:$LINENO: result: $ac_cv_lib_skey_main" >&5 |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_skey_main" >&5 |
echo "${ECHO_T}$ac_cv_lib_skey_main" >&6 |
echo "${ECHO_T}$ac_cv_lib_skey_main" >&6; } |
if test $ac_cv_lib_skey_main = yes; then |
if test $ac_cv_lib_skey_main = yes; then |
found=yes |
found=yes |
else |
else |
|
|
echo "$as_me: WARNING: Unable to locate libskey.a, you will have to edit the Makefile and add -L/path/to/skey/lib to SUDO_LDFLAGS" >&2;} |
echo "$as_me: WARNING: Unable to locate libskey.a, you will have to edit the Makefile and add -L/path/to/skey/lib to SUDO_LDFLAGS" >&2;} |
fi |
fi |
|
|
echo "$as_me:$LINENO: 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 |
else |
else |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char skeyaccess (); |
char skeyaccess (); |
int |
int |
main () |
main () |
{ |
{ |
skeyaccess (); |
return skeyaccess (); |
; |
; |
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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_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 |
sed 's/^/| /' 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.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:$LINENO: 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 <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_SKEYACCESS 1 |
#define HAVE_SKEYACCESS 1 |
|
|
|
|
LDFLAGS="$O_LDFLAGS" |
LDFLAGS="$O_LDFLAGS" |
SUDO_LIBS="${SUDO_LIBS} -lskey" |
SUDO_LIBS="${SUDO_LIBS} -lskey" |
|
AUTH_OBJS="$AUTH_OBJS rfc1938.o" |
fi |
fi |
|
|
if test -n "$with_opie"; then |
if test ${with_opie-'no'} = "yes"; then |
O_LDFLAGS="$LDFLAGS" |
O_LDFLAGS="$LDFLAGS" |
if test "$with_opie" != "yes"; then |
if test "$with_opie" != "yes"; then |
CPPFLAGS="${CPPFLAGS} -I${with_opie}/include" |
CPPFLAGS="${CPPFLAGS} -I${with_opie}/include" |
|
|
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#include <opie.h> |
#include <opie.h> |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
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_cpp conftest.$ac_ext") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null && { |
if test -s conftest.err; then |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
ac_cpp_err=$ac_c_preproc_warn_flag |
test ! -s conftest.err |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
}; then |
else |
|
ac_cpp_err= |
|
fi |
|
else |
|
ac_cpp_err=yes |
|
fi |
|
if test -z "$ac_cpp_err"; then |
|
found=yes |
found=yes |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
|
|
|
|
found=no |
found=no |
fi |
fi |
|
|
rm -f conftest.err conftest.$ac_ext |
rm -f conftest.err conftest.$ac_ext |
else |
else |
found=no |
found=no |
|
|
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
#include <opie.h> |
#include <opie.h> |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (ac_try="$ac_cpp conftest.$ac_ext" |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
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_cpp conftest.$ac_ext") 2>conftest.er1 |
ac_status=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null && { |
if test -s conftest.err; then |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
ac_cpp_err=$ac_c_preproc_warn_flag |
test ! -s conftest.err |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
}; then |
else |
|
ac_cpp_err= |
|
fi |
|
else |
|
ac_cpp_err=yes |
|
fi |
|
if test -z "$ac_cpp_err"; then |
|
found=yes; break |
found=yes; break |
else |
else |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
|
|
|
|
|
|
fi |
fi |
|
|
rm -f conftest.err conftest.$ac_ext |
rm -f conftest.err conftest.$ac_ext |
done |
done |
if test "$found" = "no" -o -z "$dir"; then |
if test "$found" = "no" -o -z "$dir"; then |
|
|
{ echo "$as_me:$LINENO: WARNING: Unable to locate opie.h, you will have to edit the Makefile and add -I/path/to/opie/includes to CPPFLAGS" >&5 |
{ echo "$as_me:$LINENO: WARNING: Unable to locate opie.h, you will have to edit the Makefile and add -I/path/to/opie/includes to CPPFLAGS" >&5 |
echo "$as_me: WARNING: Unable to locate opie.h, you will have to edit the Makefile and add -I/path/to/opie/includes to CPPFLAGS" >&2;} |
echo "$as_me: WARNING: Unable to locate opie.h, you will have to edit the Makefile and add -I/path/to/opie/includes to CPPFLAGS" >&2;} |
fi |
fi |
echo "$as_me:$LINENO: checking for main in -lopie" >&5 |
{ echo "$as_me:$LINENO: checking for main in -lopie" >&5 |
echo $ECHO_N "checking for main in -lopie... $ECHO_C" >&6 |
echo $ECHO_N "checking for main in -lopie... $ECHO_C" >&6; } |
if test "${ac_cv_lib_opie_main+set}" = set; then |
if test "${ac_cv_lib_opie_main+set}" = set; then |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
|
|
int |
int |
main () |
main () |
{ |
{ |
main (); |
return main (); |
; |
; |
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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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_opie_main=yes |
ac_cv_lib_opie_main=yes |
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 |
|
|
ac_cv_lib_opie_main=no |
ac_cv_lib_opie_main=no |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
LIBS=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
echo "$as_me:$LINENO: result: $ac_cv_lib_opie_main" >&5 |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_opie_main" >&5 |
echo "${ECHO_T}$ac_cv_lib_opie_main" >&6 |
echo "${ECHO_T}$ac_cv_lib_opie_main" >&6; } |
if test $ac_cv_lib_opie_main = yes; then |
if test $ac_cv_lib_opie_main = yes; then |
found=yes |
found=yes |
else |
else |
|
|
|
|
LDFLAGS="$O_LDFLAGS" |
LDFLAGS="$O_LDFLAGS" |
SUDO_LIBS="${SUDO_LIBS} -lopie" |
SUDO_LIBS="${SUDO_LIBS} -lopie" |
|
AUTH_OBJS="$AUTH_OBJS rfc1938.o" |
fi |
fi |
|
|
if test ${with_SecurID-'no'} != "no"; then |
if test ${with_passwd-'no'} != "no"; then |
if test "$with_SecurID" != "yes"; then |
if test -z "$LIB_CRYPT" -a "$with_passwd" != "no"; then |
: |
{ echo "$as_me:$LINENO: checking for library containing crypt" >&5 |
elif test -d /usr/ace/examples; then |
echo $ECHO_N "checking for library containing crypt... $ECHO_C" >&6; } |
with_SecurID=/usr/ace/examples |
if test "${ac_cv_search_crypt+set}" = set; then |
else |
|
with_SecurID=/usr/ace |
|
fi |
|
CPPFLAGS="${CPPFLAGS} -I${with_SecurID}" |
|
_LDFLAGS="${LDFLAGS}" |
|
|
|
if test X"$with_rpath" = X"yes"; then |
|
LDFLAGS="${LDFLAGS} -L${with_SecurID} -R${with_SecurID}" |
|
else |
|
LDFLAGS="${LDFLAGS} -L${with_SecurID}" |
|
fi |
|
if test X"$blibpath" != X"" -a "LDFLAGS" = "SUDO_LDFLAGS"; then |
|
blibpath_add="${blibpath_add}:${with_SecurID}" |
|
fi |
|
|
|
# |
|
# 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 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS |
ac_func_search_save_LIBS=$LIBS |
LIBS="-laceclnt |
|
-lpthread |
|
|
|
$LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
#endif |
#endif |
/* We use char because int might match the return type of a gcc2 |
char crypt (); |
builtin and then its argument prototype would still apply. */ |
|
char SD_Init (); |
|
int |
int |
main () |
main () |
{ |
{ |
SD_Init (); |
return crypt (); |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
for ac_lib in '' crypt crypt_d ufc; do |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if test -z "$ac_lib"; then |
(eval $ac_link) 2>conftest.er1 |
ac_res="none required" |
|
else |
|
ac_res=-l$ac_lib |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
fi |
|
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
ac_status=$? |
ac_cv_search_crypt=$ac_res |
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 |
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 |
|
|
ac_cv_lib_aceclnt_SD_Init_______lpthread_______=no |
|
fi |
fi |
rm -f conftest.err 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 |
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
if test X"$AUTH_EXCL" != X""; then |
conftest$ac_exeext |
{ { echo "$as_me:$LINENO: error: \"cannot mix SecurID 5 with an exclusive authentication method such as $AUTH_EXCL\"" >&5 |
if test "${ac_cv_search_crypt+set}" = set; then |
echo "$as_me: error: \"cannot mix SecurID 5 with an exclusive authentication method such as $AUTH_EXCL\"" >&2;} |
break |
{ (exit 1); exit 1; }; } |
|
elif test X"true" != X"" -a X"$AUTH_OBJS" != X"" -a X"$AUTH_OBJS" != X"passwd.o"; then |
|
_AUTH=`echo "$AUTH_OBJS" | sed 's/\.o//g'` |
|
{ { echo "$as_me:$LINENO: error: \"cannot mix SecurID 5 with other authentication methods (such as $_AUTH)\"" >&5 |
|
echo "$as_me: error: \"cannot mix SecurID 5 with other authentication methods (such as $_AUTH)\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
fi |
if test X"true" != X""; then |
done |
AUTH_OBJS="securid5.o" |
if test "${ac_cv_search_crypt+set}" = set; then |
AUTH_EXCL="SecurID 5" |
: |
elif test X"$AUTH_OBJS" = X""; then |
|
AUTH_OBJS="securid5.o" |
|
else |
else |
AUTH_OBJS="$AUTH_OBJS securid5.o" |
ac_cv_search_crypt=no |
fi |
fi |
|
rm conftest.$ac_ext |
|
LIBS=$ac_func_search_save_LIBS |
|
fi |
|
{ echo "$as_me:$LINENO: result: $ac_cv_search_crypt" >&5 |
|
echo "${ECHO_T}$ac_cv_search_crypt" >&6; } |
|
ac_res=$ac_cv_search_crypt |
|
if test "$ac_res" != no; then |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
test -n "$ac_lib" && SUDO_LIBS="${SUDO_LIBS} $ac_res" |
|
fi |
|
|
SUDO_LIBS="${SUDO_LIBS} -laceclnt -lpthread" |
fi |
|
|
|
if test "$CHECKSHADOW" = "true" -a -n "$shadow_funcs"; then |
|
_LIBS="$LIBS" |
|
LIBS="$LIBS $shadow_libs" |
|
found=no |
|
|
|
for ac_func in $shadow_funcs |
|
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 { 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. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
#define $ac_func innocuous_$ac_func |
|
|
if test X"$with_rpath" = X"yes"; then |
/* System header to define __stub macros and hopefully few prototypes, |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_SecurID} -R${with_SecurID}" |
which can conflict with char $ac_func (); below. |
else |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_SecurID}" |
<limits.h> exists even on freestanding compilers. */ |
fi |
|
if test X"$blibpath" != X"" -a "SUDO_LDFLAGS" = "SUDO_LDFLAGS"; then |
|
blibpath_add="${blibpath_add}:${with_SecurID}" |
|
fi |
|
|
|
|
#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 |
|
main () |
|
{ |
|
return $ac_func (); |
|
; |
|
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 |
|
eval "$as_ac_var=yes" |
else |
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
eval "$as_ac_var=no" |
|
fi |
|
|
if test X"$AUTH_EXCL" != X""; then |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
{ { echo "$as_me:$LINENO: error: \"cannot mix SecurID with an exclusive authentication method such as $AUTH_EXCL\"" >&5 |
conftest$ac_exeext conftest.$ac_ext |
echo "$as_me: error: \"cannot mix SecurID with an exclusive authentication method such as $AUTH_EXCL\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
elif test X"true" != X"" -a X"$AUTH_OBJS" != X"" -a X"$AUTH_OBJS" != X"passwd.o"; then |
|
_AUTH=`echo "$AUTH_OBJS" | sed 's/\.o//g'` |
|
{ { echo "$as_me:$LINENO: error: \"cannot mix SecurID with other authentication methods (such as $_AUTH)\"" >&5 |
|
echo "$as_me: error: \"cannot mix SecurID with other authentication methods (such as $_AUTH)\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
fi |
if test X"true" != X""; then |
ac_res=`eval echo '${'$as_ac_var'}'` |
AUTH_OBJS="securid.o" |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
AUTH_EXCL="SecurID" |
echo "${ECHO_T}$ac_res" >&6; } |
elif test X"$AUTH_OBJS" = X""; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
AUTH_OBJS="securid.o" |
cat >>confdefs.h <<_ACEOF |
else |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
AUTH_OBJS="$AUTH_OBJS securid.o" |
_ACEOF |
|
found=yes |
fi |
fi |
|
done |
|
|
SUDO_LIBS="${SUDO_LIBS} ${with_SecurID}/sdiclient.a" |
if test "$found" = "yes"; then |
|
SUDO_LIBS="$SUDO_LIBS $shadow_libs" |
|
elif test -n "$shadow_libs_optional"; then |
|
LIBS="$LIBS $shadow_libs_optional" |
|
|
fi |
for ac_func in $shadow_funcs |
|
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 { 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. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
#define $ac_func innocuous_$ac_func |
|
|
LDFLAGS="${_LDFLAGS}" |
/* System header to define __stub macros and hopefully few prototypes, |
fi |
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. */ |
|
|
if test -n "$with_fwtk"; then |
#ifdef __STDC__ |
if test "$with_fwtk" != "yes"; then |
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
|
|
if test X"$with_rpath" = X"yes"; then |
#undef $ac_func |
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_fwtk} -R${with_fwtk}" |
|
else |
|
SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_fwtk}" |
|
fi |
|
if test X"$blibpath" != X"" -a "SUDO_LDFLAGS" = "SUDO_LDFLAGS"; then |
|
blibpath_add="${blibpath_add}:${with_fwtk}" |
|
fi |
|
|
|
CPPFLAGS="${CPPFLAGS} -I${with_fwtk}" |
/* Override any GCC internal prototype to avoid an error. |
with_fwtk=yes |
Use char because int might match the return type of a GCC |
fi |
builtin and then its argument prototype would still apply. */ |
SUDO_LIBS="${SUDO_LIBS} -lauth -lfwall" |
#ifdef __cplusplus |
fi |
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 |
|
|
if test ${with_aixauth-'no'} != "no"; then |
int |
if test X"$with_aixauth" != X"maybe" -o X"$AUTH_EXCL" = X""; then |
main () |
{ echo "$as_me:$LINENO: using AIX general authentication" >&5 |
{ |
echo "$as_me: using AIX general authentication" >&6;} |
return $ac_func (); |
cat >>confdefs.h <<\_ACEOF |
; |
#define HAVE_AIXAUTH 1 |
return 0; |
|
} |
_ACEOF |
_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 |
|
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 |
|
|
if test X"$AUTH_EXCL" != X""; then |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
{ { echo "$as_me:$LINENO: error: \"cannot mix AIX general authentication with an exclusive authentication method such as $AUTH_EXCL\"" >&5 |
conftest$ac_exeext conftest.$ac_ext |
echo "$as_me: error: \"cannot mix AIX general authentication with an exclusive authentication method such as $AUTH_EXCL\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
elif test X"true" != X"" -a X"$AUTH_OBJS" != X"" -a X"$AUTH_OBJS" != X"passwd.o"; then |
|
_AUTH=`echo "$AUTH_OBJS" | sed 's/\.o//g'` |
|
{ { echo "$as_me:$LINENO: error: \"cannot mix AIX general authentication with other authentication methods (such as $_AUTH)\"" >&5 |
|
echo "$as_me: error: \"cannot mix AIX general authentication with other authentication methods (such as $_AUTH)\"" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
fi |
if test X"true" != X""; then |
ac_res=`eval echo '${'$as_ac_var'}'` |
AUTH_OBJS="aix_auth.o" |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
AUTH_EXCL="AIX general authentication" |
echo "${ECHO_T}$ac_res" >&6; } |
elif test X"$AUTH_OBJS" = X""; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
AUTH_OBJS="aix_auth.o" |
cat >>confdefs.h <<_ACEOF |
else |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
AUTH_OBJS="$AUTH_OBJS aix_auth.o" |
_ACEOF |
|
found=yes |
fi |
fi |
|
done |
|
|
SUDO_LIBS="${SUDO_LIBS} -ls" |
if test "$found" = "yes"; then |
|
SUDO_LIBS="$SUDO_LIBS $shadow_libs $shadow_libs_optional" |
|
fi |
|
fi |
|
if test "$found" = "yes"; then |
|
case "$shadow_funcs" in |
|
*getprpwnam*) SECUREWARE=1;; |
|
esac |
|
test -n "$shadow_defs" && OSDEFS="${OSDEFS} $shadow_defs" |
|
else |
|
LIBS="$_LIBS" |
|
fi |
|
CHECKSHADOW=false |
fi |
fi |
fi |
if test "$CHECKSHADOW" = "true"; then |
|
{ echo "$as_me:$LINENO: checking for library containing getspnam" >&5 |
if test ${with_bsdauth-'no'} != "no"; then |
echo $ECHO_N "checking for library containing getspnam... $ECHO_C" >&6; } |
if test X"$with_bsdauth" != X"maybe" -o X"$AUTH_EXCL" = X""; then |
if test "${ac_cv_search_getspnam+set}" = set; then |
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 |
|
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 |
# Is the header compilable? |
ac_func_search_save_LIBS=$LIBS |
echo "$as_me:$LINENO: checking bsd_auth.h usability" >&5 |
|
echo $ECHO_N "checking bsd_auth.h usability... $ECHO_C" >&6 |
|
cat >conftest.$ac_ext <<_ACEOF |
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. */ |
$ac_includes_default |
|
#include <bsd_auth.h> |
/* 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 getspnam (); |
|
int |
|
main () |
|
{ |
|
return getspnam (); |
|
; |
|
return 0; |
|
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext |
for ac_lib in '' gen; do |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if test -z "$ac_lib"; then |
(eval $ac_compile) 2>conftest.er1 |
ac_res="none required" |
|
else |
|
ac_res=-l$ac_lib |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
fi |
|
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
ac_status=$? |
ac_cv_search_getspnam=$ac_res |
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 |
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 |
|
|
ac_header_compiler=no |
|
fi |
fi |
rm -f conftest.err 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? |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
echo "$as_me:$LINENO: checking bsd_auth.h presence" >&5 |
conftest$ac_exeext |
echo $ECHO_N "checking bsd_auth.h presence... $ECHO_C" >&6 |
if test "${ac_cv_search_getspnam+set}" = set; then |
|
break |
|
fi |
|
done |
|
if test "${ac_cv_search_getspnam+set}" = set; then |
|
: |
|
else |
|
ac_cv_search_getspnam=no |
|
fi |
|
rm conftest.$ac_ext |
|
LIBS=$ac_func_search_save_LIBS |
|
fi |
|
{ echo "$as_me:$LINENO: result: $ac_cv_search_getspnam" >&5 |
|
echo "${ECHO_T}$ac_cv_search_getspnam" >&6; } |
|
ac_res=$ac_cv_search_getspnam |
|
if test "$ac_res" != no; then |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
cat >>confdefs.h <<\_ACEOF |
|
#define HAVE_GETSPNAM 1 |
|
_ACEOF |
|
CHECKSHADOW=false; test -n "$ac_lib" && SUDO_LIBS="${SUDO_LIBS} $ac_res" |
|
fi |
|
|
|
fi |
|
if test "$CHECKSHADOW" = "true"; then |
|
{ echo "$as_me:$LINENO: checking for library containing getprpwnam" >&5 |
|
echo $ECHO_N "checking for library containing getprpwnam... $ECHO_C" >&6; } |
|
if test "${ac_cv_search_getprpwnam+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_func_search_save_LIBS=$LIBS |
cat >conftest.$ac_ext <<_ACEOF |
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. */ |
#include <bsd_auth.h> |
|
|
/* 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 getprpwnam (); |
|
int |
|
main () |
|
{ |
|
return getprpwnam (); |
|
; |
|
return 0; |
|
} |
_ACEOF |
_ACEOF |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
for ac_lib in '' sec security prot; do |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
if test -z "$ac_lib"; then |
|
ac_res="none required" |
|
else |
|
ac_res=-l$ac_lib |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
fi |
|
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } && { |
if test -s conftest.err; then |
test -z "$ac_c_werror_flag" || |
ac_cpp_err=$ac_c_preproc_warn_flag |
test ! -s conftest.err |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
} && test -s conftest$ac_exeext && |
else |
$as_test_x conftest$ac_exeext; then |
ac_cpp_err= |
ac_cv_search_getprpwnam=$ac_res |
fi |
|
else |
else |
ac_cpp_err=yes |
|
fi |
|
if test -z "$ac_cpp_err"; then |
|
ac_header_preproc=yes |
|
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 |
|
|
ac_header_preproc=no |
|
fi |
fi |
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? |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
conftest$ac_exeext |
yes:no: ) |
if test "${ac_cv_search_getprpwnam+set}" = set; then |
{ echo "$as_me:$LINENO: WARNING: bsd_auth.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
break |
echo "$as_me: WARNING: bsd_auth.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
fi |
{ echo "$as_me:$LINENO: WARNING: bsd_auth.h: proceeding with the compiler's result" >&5 |
done |
echo "$as_me: WARNING: bsd_auth.h: proceeding with the compiler's result" >&2;} |
if test "${ac_cv_search_getprpwnam+set}" = set; then |
ac_header_preproc=yes |
: |
;; |
|
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: see the Autoconf documentation" >&5 |
|
echo "$as_me: WARNING: bsd_auth.h: see the Autoconf documentation" >&2;} |
|
{ echo "$as_me:$LINENO: WARNING: bsd_auth.h: section \"Present But Cannot Be Compiled\"" >&5 |
|
echo "$as_me: WARNING: bsd_auth.h: section \"Present But Cannot Be Compiled\"" >&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;} |
|
{ echo "$as_me:$LINENO: WARNING: bsd_auth.h: in the future, the compiler will take precedence" >&5 |
|
echo "$as_me: WARNING: bsd_auth.h: in the future, the compiler will take precedence" >&2;} |
|
( |
|
cat <<\_ASBOX |
|
## ------------------------------- ## |
|
## Report this to the sudo lists. ## |
|
## ------------------------------- ## |
|
_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 |
else |
ac_cv_header_bsd_auth_h=$ac_header_preproc |
ac_cv_search_getprpwnam=no |
fi |
fi |
echo "$as_me:$LINENO: result: $ac_cv_header_bsd_auth_h" >&5 |
rm conftest.$ac_ext |
echo "${ECHO_T}$ac_cv_header_bsd_auth_h" >&6 |
LIBS=$ac_func_search_save_LIBS |
|
|
fi |
fi |
if test $ac_cv_header_bsd_auth_h = yes; then |
{ echo "$as_me:$LINENO: result: $ac_cv_search_getprpwnam" >&5 |
|
echo "${ECHO_T}$ac_cv_search_getprpwnam" >&6; } |
|
ac_res=$ac_cv_search_getprpwnam |
|
if test "$ac_res" != no; then |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_BSD_AUTH_H 1 |
#define HAVE_GETPRPWNAM 1 |
_ACEOF |
_ACEOF |
|
CHECKSHADOW=false; SECUREWARE=1; test -n "$ac_lib" && SUDO_LIBS="${SUDO_LIBS} $ac_res" |
|
fi |
|
|
|
fi |
|
if test -n "$SECUREWARE"; then |
|
|
if test X"$AUTH_EXCL" != X""; then |
|
{ { echo "$as_me:$LINENO: error: \"cannot mix BSD authentication with an exclusive authentication method such as $AUTH_EXCL\"" >&5 |
|
echo "$as_me: error: \"cannot mix BSD authentication with an exclusive authentication method such as $AUTH_EXCL\"" >&2;} |
for ac_func in bigcrypt set_auth_parameters initprivs |
{ (exit 1); exit 1; }; } |
do |
elif test X"true" != X"" -a X"$AUTH_OBJS" != X"" -a X"$AUTH_OBJS" != X"passwd.o"; then |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
_AUTH=`echo "$AUTH_OBJS" | sed 's/\.o//g'` |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5 |
{ { echo "$as_me:$LINENO: error: \"cannot mix BSD authentication with other authentication methods (such as $_AUTH)\"" >&5 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
echo "$as_me: error: \"cannot mix BSD authentication with other authentication methods (such as $_AUTH)\"" >&2;} |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
{ (exit 1); exit 1; }; } |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
fi |
|
if test X"true" != X""; then |
|
AUTH_OBJS="bsdauth.o" |
|
AUTH_EXCL="BSD authentication" |
|
elif test X"$AUTH_OBJS" = X""; then |
|
AUTH_OBJS="bsdauth.o" |
|
else |
else |
AUTH_OBJS="$AUTH_OBJS bsdauth.o" |
cat >conftest.$ac_ext <<_ACEOF |
fi |
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
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 |
|
main () |
|
{ |
|
return $ac_func (); |
|
; |
|
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 |
|
eval "$as_ac_var=yes" |
else |
else |
- |
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
eval "$as_ac_var=no" |
fi |
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 |
|
|
|
fi |
|
done |
|
|
|
AUTH_OBJS="$AUTH_OBJS secureware.o" |
fi |
fi |
fi |
fi |
|
|
if test -n "$with_ldap"; then |
if test ${with_ldap-'no'} != "no"; then |
_LDFLAGS="$LDFLAGS" |
_LDFLAGS="$LDFLAGS" |
if test "$with_ldap" != "yes"; then |
if test "$with_ldap" != "yes"; then |
|
|
|
|
fi |
fi |
SUDO_OBJS="${SUDO_OBJS} ldap.o" |
SUDO_OBJS="${SUDO_OBJS} ldap.o" |
|
|
echo "$as_me:$LINENO: checking for LDAP libraries" >&5 |
{ echo "$as_me:$LINENO: checking for LDAP libraries" >&5 |
echo $ECHO_N "checking for LDAP libraries... $ECHO_C" >&6 |
echo $ECHO_N "checking for LDAP libraries... $ECHO_C" >&6; } |
LDAP_LIBS="" |
LDAP_LIBS="" |
_LIBS="$LIBS" |
_LIBS="$LIBS" |
found=no |
found=no |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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 |
|
found=yes; break |
found=yes; break |
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 |
|
|
|
|
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
done |
done |
if test "$found" = "no"; then |
if test "$found" = "no"; then |
LDAP_LIBS=" -lldap" |
LDAP_LIBS=" -lldap" |
echo "$as_me:$LINENO: result: not found, using -lldap" >&5 |
{ echo "$as_me:$LINENO: result: not found, using -lldap" >&5 |
echo "${ECHO_T}not found, using -lldap" >&6 |
echo "${ECHO_T}not found, using -lldap" >&6; } |
else |
else |
echo "$as_me:$LINENO: result: $LDAP_LIBS" >&5 |
{ echo "$as_me:$LINENO: result: $LDAP_LIBS" >&5 |
echo "${ECHO_T}$LDAP_LIBS" >&6 |
echo "${ECHO_T}$LDAP_LIBS" >&6; } |
fi |
fi |
echo "$as_me:$LINENO: checking whether lber.h is needed" >&5 |
{ echo "$as_me:$LINENO: checking whether lber.h is needed" >&5 |
echo $ECHO_N "checking whether lber.h is needed... $ECHO_C" >&6 |
echo $ECHO_N "checking whether lber.h is needed... $ECHO_C" >&6; } |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
/* confdefs.h. */ |
/* confdefs.h. */ |
_ACEOF |
_ACEOF |
|
|
} |
} |
_ACEOF |
_ACEOF |
rm -f conftest.$ac_objext conftest$ac_exeext |
rm -f conftest.$ac_objext conftest$ac_exeext |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
ac_status=$? |
{ echo "$as_me:$LINENO: result: no" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "${ECHO_T}no" >&6; } |
(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 |
|
echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6 |
|
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 |
|
|
|
|
echo "$as_me:$LINENO: result: yes" >&5 |
{ echo "$as_me:$LINENO: result: yes" >&5 |
echo "${ECHO_T}yes" >&6 |
echo "${ECHO_T}yes" >&6; } |
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
#define HAVE_LBER_H 1 |
#define HAVE_LBER_H 1 |
_ACEOF |
_ACEOF |
|
|
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
|
|
|
|
|
|
for ac_func in ldap_initialize ldap_start_tls_s |
for ac_func in ldap_initialize ldap_start_tls_s |
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 |
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 { as_var=$as_ac_var; eval "test \"\${$as_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 |
|
|
|
|
#undef $ac_func |
#undef $ac_func |
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
/* 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 |
#ifdef __cplusplus |
extern "C" |
extern "C" |
{ |
|
#endif |
#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 (); |
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 |
|
char (*f) () = $ac_func; |
|
#endif |
#endif |
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
int |
main () |
main () |
{ |
{ |
return f != $ac_func; |
return $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:$LINENO: \"$ac_link\"") >&5 |
if { (ac_try="$ac_link" |
(eval $ac_link) 2>conftest.er1 |
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=$? |
ac_status=$? |
grep -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:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
(exit $ac_status); } && |
(exit $ac_status); } && { |
{ ac_try='test -z "$ac_c_werror_flag" |
test -z "$ac_c_werror_flag" || |
|| test ! -s conftest.err' |
test ! -s conftest.err |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
} && test -s conftest$ac_exeext && |
(eval $ac_try) 2>&5 |
$as_test_x conftest$ac_exeext; then |
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" |
eval "$as_ac_var=yes" |
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" |
eval "$as_ac_var=no" |
fi |
fi |
rm -f conftest.err conftest.$ac_objext \ |
|
|
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
fi |
fi |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
ac_res=`eval echo '${'$as_ac_var'}'` |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
echo "${ECHO_T}$ac_res" >&6; } |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
fi |
fi |
fi |
fi |
|
|
echo "$as_me:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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:$LINENO: 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" |
EOF |
EOF |
|
|
timedir="$with_timedir" |
timedir="$with_timedir" |
elif test -d "/var/run"; then |
elif test -d "/var/run"; then |
echo "$as_me:$LINENO: 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" |
EOF |
EOF |
|
|
timedir="/var/run/sudo" |
timedir="/var/run/sudo" |
elif test -d "/var/adm"; then |
elif test -d "/var/adm"; then |
echo "$as_me:$LINENO: result: /var/adm/sudo" >&5 |
{ echo "$as_me:$LINENO: result: /var/adm/sudo" >&5 |
echo "${ECHO_T}/var/adm/sudo" >&6 |
echo "${ECHO_T}/var/adm/sudo" >&6; } |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_SUDO_TIMEDIR "/var/adm/sudo" |
#define _PATH_SUDO_TIMEDIR "/var/adm/sudo" |
EOF |
EOF |
|
|
timedir="/var/adm/sudo" |
timedir="/var/adm/sudo" |
else |
else |
echo "$as_me:$LINENO: result: /usr/adm/sudo" >&5 |
{ echo "$as_me:$LINENO: result: /usr/adm/sudo" >&5 |
echo "${ECHO_T}/usr/adm/sudo" >&6 |
echo "${ECHO_T}/usr/adm/sudo" >&6; } |
cat >>confdefs.h <<\EOF |
cat >>confdefs.h <<\EOF |
#define _PATH_SUDO_TIMEDIR "/usr/adm/sudo" |
#define _PATH_SUDO_TIMEDIR "/usr/adm/sudo" |
EOF |
EOF |
|
|
fi |
fi |
|
|
|
|
case "$AUTH_OBJS" in |
case "$with_passwd" in |
*passwd.o*) |
yes|maybe) |
|
AUTH_OBJS="$AUTH_OBJS passwd.o" |
;; |
;; |
*) |
*) |
cat >>confdefs.h <<\_ACEOF |
cat >>confdefs.h <<\_ACEOF |
|
|
fi |
fi |
;; |
;; |
esac |
esac |
|
AUTH_OBJS=${AUTH_OBJS# } |
_AUTH=`echo "$AUTH_OBJS" | sed 's/\.o//g'` |
_AUTH=`echo "$AUTH_OBJS" | sed 's/\.o//g'` |
{ echo "$as_me:$LINENO: using the following authentication methods: $_AUTH" >&5 |
{ echo "$as_me:$LINENO: using the following authentication methods: $_AUTH" >&5 |
echo "$as_me: using the following authentication methods: $_AUTH" >&6;} |
echo "$as_me: using the following authentication methods: $_AUTH" >&6;} |
|
|
exec_prefix="$oexec_prefix" |
exec_prefix="$oexec_prefix" |
fi |
fi |
|
|
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 |
|
|
|
|
# The following way of writing the cache mishandles newlines in values, |
# The following way of writing the cache mishandles newlines in values, |
# but we know of no workaround that is simple, portable, and efficient. |
# but we know of no workaround that is simple, portable, and efficient. |
# So, don't put newlines in cache variables' values. |
# So, we kill variables containing newlines. |
# Ultrix sh set writes to stderr and can't be redirected directly, |
# Ultrix sh set writes to stderr and can't be redirected directly, |
# and sets the high bit in the cache file unless we assign to the vars. |
# and sets the high bit in the cache file unless we assign to the vars. |
{ |
( |
|
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
|
eval ac_val=\$$ac_var |
|
case $ac_val in #( |
|
*${as_nl}*) |
|
case $ac_var in #( |
|
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
|
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
|
esac |
|
case $ac_var in #( |
|
_ | IFS | as_nl) ;; #( |
|
*) $as_unset $ac_var ;; |
|
esac ;; |
|
esac |
|
done |
|
|
(set) 2>&1 | |
(set) 2>&1 | |
case `(ac_space=' '; set | grep ac_space) 2>&1` in |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
*ac_space=\ *) |
*${as_nl}ac_space=\ *) |
# `set' does not quote correctly, so add quotes (double-quote |
# `set' does not quote correctly, so add quotes (double-quote |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
sed -n \ |
sed -n \ |
"s/'/'\\\\''/g; |
"s/'/'\\\\''/g; |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
;; |
;; #( |
*) |
*) |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
sed -n \ |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
|
;; |
;; |
esac; |
esac | |
} | |
sort |
|
) | |
sed ' |
sed ' |
|
/^ac_cv_env_/b end |
t clear |
t clear |
: clear |
:clear |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
t end |
t end |
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
: end' >>confcache |
:end' >>confcache |
if diff $cache_file confcache >/dev/null 2>&1; 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 "$as_me:$LINENO: updating cache $cache_file" >&5 |
|
echo "$as_me: updating cache $cache_file" >&6;} |
cat confcache >$cache_file |
cat confcache >$cache_file |
else |
else |
echo "not updating unwritable cache $cache_file" |
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
|
echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
fi |
fi |
fi |
fi |
rm -f confcache |
rm -f confcache |
|
|
# Let make expand exec_prefix. |
# Let make expand exec_prefix. |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|
|
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
|
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
|
# trailing colons and then remove the whole line if VPATH becomes empty |
|
# (actually we leave an empty line to preserve line numbers). |
|
if test "x$srcdir" = x.; then |
|
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
|
s/:*\$(srcdir):*/:/; |
|
s/:*\${srcdir}:*/:/; |
|
s/:*@srcdir@:*/:/; |
|
s/^\([^=]*=[ ]*\):*/\1/; |
|
s/:*$//; |
|
s/^[^=]*=[ ]*$//; |
|
}' |
|
fi |
|
|
|
DEFS=-DHAVE_CONFIG_H |
DEFS=-DHAVE_CONFIG_H |
|
|
ac_libobjs= |
ac_libobjs= |
ac_ltlibobjs= |
ac_ltlibobjs= |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
# 1. Remove the extension, and $U if already installed. |
# 1. Remove the extension, and $U if already installed. |
ac_i=`echo "$ac_i" | |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
ac_i=`echo "$ac_i" | sed "$ac_script"` |
# 2. Add them. |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
# will be set to the directory where LIBOBJS objects are built. |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
|
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
done |
done |
LIBOBJS=$ac_libobjs |
LIBOBJS=$ac_libobjs |
|
|
|
|
## M4sh Initialization. ## |
## M4sh Initialization. ## |
## --------------------- ## |
## --------------------- ## |
|
|
# Be Bourne compatible |
# Be more Bourne compatible |
|
DUALCASE=1; export DUALCASE # for MKS sh |
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 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
# is contrary to our usage. Disable this feature. |
# is contrary to our usage. Disable this feature. |
alias -g '${1+"$@"}'='"$@"' |
alias -g '${1+"$@"}'='"$@"' |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
setopt NO_GLOB_SUBST |
set -o posix |
else |
|
case `(set -o) 2>/dev/null` in |
|
*posix*) set -o posix ;; |
|
esac |
|
|
fi |
fi |
DUALCASE=1; export DUALCASE # for MKS sh |
|
|
|
|
|
|
|
|
|
|
# PATH needs CR |
|
# 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 |
|
|
# Support unset when possible. |
# Support unset when possible. |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
as_unset=unset |
as_unset=unset |
|
|
fi |
fi |
|
|
|
|
|
# IFS |
|
# We need space, tab and new line, in precisely that order. Quoting is |
|
# there to prevent editors from complaining about space-tab. |
|
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
# splitting by setting IFS to empty value.) |
|
as_nl=' |
|
' |
|
IFS=" "" $as_nl" |
|
|
|
# Find who we are. Look in the path if we contain no directory separator. |
|
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 |
|
IFS=$as_save_IFS |
|
|
|
;; |
|
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_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
{ (exit 1); exit 1; } |
|
fi |
|
|
# Work around bugs in pre-3.0 UWIN ksh. |
# Work around bugs in pre-3.0 UWIN ksh. |
$as_unset ENV MAIL MAILPATH |
for as_var in ENV MAIL MAILPATH |
|
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|
done |
PS1='$ ' |
PS1='$ ' |
PS2='> ' |
PS2='> ' |
PS4='+ ' |
PS4='+ ' |
|
|
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
eval $as_var=C; export $as_var |
eval $as_var=C; export $as_var |
else |
else |
$as_unset $as_var |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
fi |
fi |
done |
done |
|
|
# Required to use basename. |
# Required to use basename. |
if expr a : '\(a\)' >/dev/null 2>&1; then |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
as_expr=expr |
as_expr=expr |
else |
else |
as_expr=false |
as_expr=false |
fi |
fi |
|
|
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
as_basename=basename |
as_basename=basename |
else |
else |
as_basename=false |
as_basename=false |
|
|
|
|
|
|
# Name of the executable. |
# Name of the executable. |
as_me=`$as_basename "$0" || |
as_me=`$as_basename -- "$0" || |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
X"$0" : 'X\(//\)$' \| \ |
X"$0" : 'X\(//\)$' \| \ |
X"$0" : 'X\(/\)$' \| \ |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
|
echo X/"$0" | |
echo X/"$0" | |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
/^X\/\(\/\/\)$/{ s//\1/; q; } |
s//\1/ |
/^X\/\(\/\).*/{ s//\1/; q; } |
q |
s/.*/./; q'` |
} |
|
/^X\/\(\/\/\)$/{ |
|
s//\1/ |
|
q |
|
} |
|
/^X\/\(\/\).*/{ |
|
s//\1/ |
|
q |
|
} |
|
s/.*/./; q'` |
|
|
|
# CDPATH. |
|
$as_unset CDPATH |
|
|
# 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_1=$LINENO |
as_lineno_2=$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_1" != "x$as_lineno_2" && |
test "x$as_lineno_3" = "x$as_lineno_2" || { |
test "x`expr $as_lineno_1 + 1`" = "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 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
# uniformly replaced by the line number. The first 'sed' inserts a |
# uniformly replaced by the line number. The first 'sed' inserts a |
# line-number line before each line; the second 'sed' does the real |
# line-number line after each line using $LINENO; the second 'sed' |
# work. The second script uses 'N' to pair each line-number line |
# does the real work. The second script uses 'N' to pair each |
# with the numbered line, and appends trailing '-' during |
# line-number line with the line containing $LINENO, and appends |
# substitution so that $LINENO is not a special case at line end. |
# trailing '-' during substitution so that $LINENO is not a special |
|
# case at line end. |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
# scripts with optimization help from Paolo Bonzini. Blame Lee |
sed '=' <$as_myself | |
# E. McMahon (1931-1989) for sed's syntax. :-) |
|
sed -n ' |
|
p |
|
/[$]LINENO/= |
|
' <$as_myself | |
sed ' |
sed ' |
|
s/[$]LINENO.*/&-/ |
|
t lineno |
|
b |
|
:lineno |
N |
N |
s,$,-, |
:loop |
: loop |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
|
t loop |
t loop |
s,-$,, |
s/-\n.*// |
s,^['$as_cr_digits']*\n,, |
|
' >$as_me.lineno && |
' >$as_me.lineno && |
chmod +x $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 |
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
|
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
|
|
# Don't try to exec as it changes $[0], causing all sort of problems |
# 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 |
# (the dirname of $[0] is not the place where we might find the |
# original and so on. Autoconf is especially sensible to this). |
# original and so on. Autoconf is especially sensitive to this). |
. ./$as_me.lineno |
. "./$as_me.lineno" |
# Exit status is that of the last command. |
# Exit status is that of the last command. |
exit |
exit |
} |
} |
|
|
|
|
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
*c*,-n*) ECHO_N= ECHO_C=' |
as_dirname=dirname |
' ECHO_T=' ' ;; |
else |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
as_dirname=false |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
fi |
|
|
|
ECHO_C= ECHO_N= ECHO_T= |
|
case `echo -n x` in |
|
-n*) |
|
case `echo 'x\c'` in |
|
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
*) ECHO_C='\c';; |
|
esac;; |
|
*) |
|
ECHO_N='-n';; |
esac |
esac |
|
|
if expr a : '\(a\)' >/dev/null 2>&1; then |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
as_expr=expr |
as_expr=expr |
else |
else |
as_expr=false |
as_expr=false |
fi |
fi |
|
|
rm -f conf$$ conf$$.exe conf$$.file |
rm -f conf$$ conf$$.exe conf$$.file |
|
if test -d conf$$.dir; then |
|
rm -f conf$$.dir/conf$$.file |
|
else |
|
rm -f conf$$.dir |
|
mkdir conf$$.dir |
|
fi |
echo >conf$$.file |
echo >conf$$.file |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
# We could just check for DJGPP; but this test a) works b) is more generic |
as_ln_s='ln -s' |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
# ... but there are two gotchas: |
if test -f conf$$.exe; then |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# Don't use ln at all; we don't have any links |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
# In both cases, we have to default to `cp -p'. |
|
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
as_ln_s='cp -p' |
as_ln_s='cp -p' |
else |
|
as_ln_s='ln -s' |
|
fi |
|
elif ln conf$$.file conf$$ 2>/dev/null; then |
elif ln conf$$.file conf$$ 2>/dev/null; then |
as_ln_s=ln |
as_ln_s=ln |
else |
else |
as_ln_s='cp -p' |
as_ln_s='cp -p' |
fi |
fi |
rm -f conf$$ conf$$.exe conf$$.file |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
rmdir conf$$.dir 2>/dev/null |
|
|
if mkdir -p . 2>/dev/null; then |
if mkdir -p . 2>/dev/null; then |
as_mkdir_p=: |
as_mkdir_p=: |
|
|
as_mkdir_p=false |
as_mkdir_p=false |
fi |
fi |
|
|
as_executable_p="test -f" |
if test -x / >/dev/null 2>&1; then |
|
as_test_x='test -x' |
|
else |
|
if ls -dL / >/dev/null 2>&1; then |
|
as_ls_L_option=L |
|
else |
|
as_ls_L_option= |
|
fi |
|
as_test_x=' |
|
eval sh -c '\'' |
|
if test -d "$1"; then |
|
test -d "$1/."; |
|
else |
|
case $1 in |
|
-*)set "./$1";; |
|
esac; |
|
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
|
???[sx]*):;;*)false;;esac;fi |
|
'\'' sh |
|
' |
|
fi |
|
as_executable_p=$as_test_x |
|
|
# Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
|
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
|
|
|
# IFS |
|
# We need space, tab and new line, in precisely that order. |
|
as_nl=' |
|
' |
|
IFS=" $as_nl" |
|
|
|
# CDPATH. |
|
$as_unset CDPATH |
|
|
|
exec 6>&1 |
exec 6>&1 |
|
|
# Open the log real soon, to keep \$[0] and so on meaningful, and to |
# Save the log message, to keep $[0] and so on meaningful, and to |
# 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. Logging --version etc. is OK. |
# values after options handling. |
exec 5>>config.log |
ac_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.9, which was |
This file was extended by sudo $as_me 1.6.9, which was |
generated by GNU Autoconf 2.59. Invocation command line was |
generated by GNU Autoconf 2.61. Invocation command line was |
|
|
CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
CONFIG_HEADERS = $CONFIG_HEADERS |
CONFIG_HEADERS = $CONFIG_HEADERS |
|
|
CONFIG_COMMANDS = $CONFIG_COMMANDS |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
$ $0 $@ |
$ $0 $@ |
|
|
_CSEOF |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
" |
echo >&5 |
|
_ACEOF |
_ACEOF |
|
|
|
cat >>$CONFIG_STATUS <<_ACEOF |
# Files that config.status was made for. |
# Files that config.status was made for. |
if test -n "$ac_config_files"; then |
config_files="$ac_config_files" |
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
config_headers="$ac_config_headers" |
fi |
|
|
|
if test -n "$ac_config_headers"; then |
_ACEOF |
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
|
fi |
|
|
|
if test -n "$ac_config_links"; then |
|
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
|
fi |
|
|
|
if test -n "$ac_config_commands"; then |
|
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
|
fi |
|
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
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 |
current configuration. |
current configuration. |
|
|
Usage: $0 [OPTIONS] [FILE]... |
Usage: $0 [OPTIONS] [FILE]... |
|
|
-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 and configuration settings, then exit |
-q, --quiet do not print progress messages |
-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 |
|
|
Configuration headers: |
Configuration headers: |
$config_headers |
$config_headers |
|
|
Configuration commands: |
|
$config_commands |
|
|
|
Report bugs to <bug-autoconf@gnu.org>." |
Report bugs to <bug-autoconf@gnu.org>." |
_ACEOF |
|
|
|
|
_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF |
ac_cs_version="\\ |
ac_cs_version="\\ |
sudo config.status 1.6.9 |
sudo config.status 1.6.9 |
configured by $0, generated by GNU Autoconf 2.59, |
configured by $0, generated by GNU Autoconf 2.61, |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
|
|
Copyright (C) 2003 Free Software Foundation, Inc. |
Copyright (C) 2006 Free Software Foundation, Inc. |
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 |
|
|
ac_pwd='$ac_pwd' |
|
srcdir='$srcdir' |
_ACEOF |
_ACEOF |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
do |
do |
case $1 in |
case $1 in |
--*=*) |
--*=*) |
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
ac_shift=: |
ac_shift=: |
;; |
;; |
-*) |
*) |
ac_option=$1 |
ac_option=$1 |
ac_optarg=$2 |
ac_optarg=$2 |
ac_shift=shift |
ac_shift=shift |
;; |
;; |
*) # This is not an option, so the user has probably given explicit |
|
# arguments. |
|
ac_option=$1 |
|
ac_need_defaults=false;; |
|
esac |
esac |
|
|
case $ac_option in |
case $ac_option in |
# Handling of the options. |
# Handling of the options. |
_ACEOF |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
ac_cs_recheck=: ;; |
ac_cs_recheck=: ;; |
--version | --vers* | -V ) |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
echo "$ac_cs_version"; exit 0 ;; |
echo "$ac_cs_version"; exit ;; |
--he | --h) |
--debug | --debu | --deb | --de | --d | -d ) |
# Conflict between --help and --header |
|
{ { echo "$as_me:$LINENO: error: ambiguous option: $1 |
|
Try \`$0 --help' for more information." >&5 |
|
echo "$as_me: error: ambiguous option: $1 |
|
Try \`$0 --help' for more information." >&2;} |
|
{ (exit 1); exit 1; }; };; |
|
--help | --hel | -h ) |
|
echo "$ac_cs_usage"; exit 0 ;; |
|
--debug | --d* | -d ) |
|
debug=: ;; |
debug=: ;; |
--file | --fil | --fi | --f ) |
--file | --fil | --fi | --f ) |
$ac_shift |
$ac_shift |
|
|
$ac_shift |
$ac_shift |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
ac_need_defaults=false;; |
ac_need_defaults=false;; |
|
--he | --h) |
|
# Conflict between --help and --header |
|
{ echo "$as_me: error: ambiguous option: $1 |
|
Try \`$0 --help' for more information." >&2 |
|
{ (exit 1); exit 1; }; };; |
|
--help | --hel | -h ) |
|
echo "$ac_cs_usage"; exit ;; |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
ac_cs_silent=: ;; |
ac_cs_silent=: ;; |
|
|
# This is an error. |
# This is an error. |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
-*) { echo "$as_me: error: unrecognized option: $1 |
Try \`$0 --help' for more information." >&5 |
Try \`$0 --help' for more information." >&2 |
echo "$as_me: error: unrecognized option: $1 |
|
Try \`$0 --help' for more information." >&2;} |
|
{ (exit 1); exit 1; }; } ;; |
{ (exit 1); exit 1; }; } ;; |
|
|
*) ac_config_targets="$ac_config_targets $1" ;; |
*) ac_config_targets="$ac_config_targets $1" |
|
ac_need_defaults=false ;; |
|
|
esac |
esac |
shift |
shift |
|
|
_ACEOF |
_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF |
if \$ac_cs_recheck; then |
if \$ac_cs_recheck; then |
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
CONFIG_SHELL=$SHELL |
|
export CONFIG_SHELL |
|
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
fi |
fi |
|
|
_ACEOF |
_ACEOF |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
|
exec 5>>config.log |
|
{ |
|
echo |
|
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
## Running $as_me. ## |
|
_ASBOX |
|
echo "$ac_log" |
|
} >&5 |
|
|
|
_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF |
# |
|
# INIT-COMMANDS section. |
|
# |
|
|
|
|
|
|
|
# The HP-UX ksh and POSIX shell print the target directory to stdout |
|
# if CDPATH is set. |
|
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
|
|
sed_quote_subst='$sed_quote_subst' |
|
double_quote_subst='$double_quote_subst' |
|
delay_variable_subst='$delay_variable_subst' |
|
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' |
|
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' |
|
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' |
|
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' |
|
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' |
|
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' |
|
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' |
|
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' |
|
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' |
|
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' |
|
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' |
|
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' |
|
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' |
|
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' |
|
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' |
|
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' |
|
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' |
|
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' |
|
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' |
|
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' |
|
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' |
|
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' |
|
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' |
|
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' |
|
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' |
|
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' |
|
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' |
|
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' |
|
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`' |
|
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' |
|
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' |
|
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' |
|
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' |
|
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' |
|
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' |
|
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' |
|
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' |
|
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' |
|
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' |
|
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' |
|
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' |
|
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' |
|
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' |
|
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' |
|
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' |
|
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' |
|
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' |
|
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' |
|
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' |
|
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' |
|
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' |
|
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' |
|
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' |
|
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' |
|
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' |
|
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' |
|
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' |
|
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
|
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' |
|
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' |
|
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' |
|
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' |
|
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' |
|
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' |
|
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' |
|
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' |
|
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' |
|
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' |
|
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
|
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' |
|
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' |
|
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' |
|
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' |
|
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' |
|
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' |
|
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' |
|
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' |
|
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' |
|
|
|
LTCC='$LTCC' |
|
LTCFLAGS='$LTCFLAGS' |
|
compiler='$compiler_DEFAULT' |
|
|
|
# Quote evaled strings. |
|
for var in SED GREP EGREP FGREP LD NM LN_S reload_flag deplibs_check_method file_magic_cmd AR AR_FLAGS STRIP RANLIB lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl lt_cv_sys_global_symbol_to_c_name_address CC CFLAGS compiler SHELL ECHO lt_prog_compiler_no_builtin_flag lt_prog_compiler_wl lt_prog_compiler_pic lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks shrext_cmds variables_saved_for_relink export_dynamic_flag_spec whole_archive_flag_spec with_gnu_ld allow_undefined_flag no_undefined_flag hardcode_libdir_flag_spec hardcode_libdir_flag_spec_ld hardcode_libdir_separator fix_srcfile_path exclude_expsyms include_expsyms libname_spec library_names_spec soname_spec finish_eval old_striplib striplib; do |
|
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
|
done |
|
|
|
# Double-quote double-evaled strings. |
|
for var in reload_cmds old_postinstall_cmds old_postuninstall_cmds old_archive_cmds extract_expsyms_cmds old_archive_from_new_cmds old_archive_from_expsyms_cmds archive_cmds archive_expsym_cmds module_cmds module_expsym_cmds export_symbols_cmds postinstall_cmds postuninstall_cmds finish_cmds sys_lib_search_path_spec sys_lib_dlsearch_path_spec; do |
|
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
|
done |
|
|
|
# Fix-up fallback echo if it was mangled by the above quoting rules. |
|
case \$lt_ECHO in |
|
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` |
|
;; |
|
esac |
|
|
|
ac_aux_dir='$ac_aux_dir' |
|
|
|
# See if we are running on zsh, and set the options which allow our |
|
# commands through without removal of \ escapes INIT. |
|
if test -n "\${ZSH_VERSION+set}" ; then |
|
setopt NO_GLOB_SUBST |
|
fi |
|
|
|
|
|
PACKAGE='$PACKAGE' |
|
VERSION='$VERSION' |
|
TIMESTAMP='$TIMESTAMP' |
|
RM='$RM' |
|
ofile='$ofile' |
|
|
|
|
|
|
|
|
|
_ACEOF |
_ACEOF |
|
|
|
|
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
|
# Handling of arguments. |
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 |
# Handling of arguments. |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
"pathnames.h") CONFIG_HEADERS="$CONFIG_HEADERS pathnames.h" ;; |
"sudo.man" ) CONFIG_FILES="$CONFIG_FILES sudo.man" ;; |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
"visudo.man" ) CONFIG_FILES="$CONFIG_FILES visudo.man" ;; |
"sudo.man") CONFIG_FILES="$CONFIG_FILES sudo.man" ;; |
"sudoers.man" ) CONFIG_FILES="$CONFIG_FILES sudoers.man" ;; |
"visudo.man") CONFIG_FILES="$CONFIG_FILES visudo.man" ;; |
"libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
"sudoers.man") CONFIG_FILES="$CONFIG_FILES sudoers.man" ;; |
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
|
"pathnames.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pathnames.h" ;; |
|
*) { { echo "$as_me:$LINENO: 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 |
done |
done |
|
|
|
|
# If the user did not use the arguments to specify the items to instantiate, |
# If the user did not use the arguments to specify the items to instantiate, |
# then the envvar interface is used. Set only those that are not. |
# then the envvar interface is used. Set only those that are not. |
# We use the long form for the default assignment because of an extremely |
# We use the long form for the default assignment because of an extremely |
|
|
if $ac_need_defaults; then |
if $ac_need_defaults; then |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
|
fi |
fi |
|
|
# Have a temporary directory for convenience. Make it in the build tree |
# 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, |
# simply because there is no reason against having it here, and in addition, |
# creating and moving files from /tmp can sometimes cause problems. |
# creating and moving files from /tmp can sometimes cause problems. |
# Create a temporary directory, and hook for its removal unless debugging. |
# Hook for its removal unless debugging. |
|
# Note that there is a small window in which the directory will not be cleaned: |
|
# after its creation but before its name has been assigned to `$tmp'. |
$debug || |
$debug || |
{ |
{ |
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
tmp= |
|
trap 'exit_status=$? |
|
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
|
' 0 |
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
} |
} |
|
|
# Create a (secure) tmp directory for tmp files. |
# Create a (secure) tmp directory for tmp files. |
|
|
{ |
{ |
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
test -n "$tmp" && test -d "$tmp" |
test -n "$tmp" && test -d "$tmp" |
} || |
} || |
{ |
{ |
tmp=./confstat$$-$RANDOM |
tmp=./conf$$-$RANDOM |
(umask 077 && mkdir $tmp) |
(umask 077 && mkdir "$tmp") |
} || |
} || |
{ |
{ |
echo "$me: cannot create a temporary directory in ." >&2 |
echo "$me: cannot create a temporary directory in ." >&2 |
{ (exit 1); exit 1; } |
{ (exit 1); exit 1; } |
} |
} |
|
|
_ACEOF |
|
|
|
cat >>$CONFIG_STATUS <<_ACEOF |
|
|
|
# |
# |
# CONFIG_FILES section. |
# Set up the sed scripts for CONFIG_FILES section. |
# |
# |
|
|
# No need to generate the scripts if there are no CONFIG_FILES. |
# No need to generate the scripts if there are no CONFIG_FILES. |
# This happens for instance when ./config.status config.h |
# This happens for instance when ./config.status config.h |
if test -n "\$CONFIG_FILES"; then |
if test -n "$CONFIG_FILES"; then |
# Protect against being on the right side of a sed subst in config.status. |
|
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
|
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
|
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,@prefix@,$prefix,;t t |
|
s,@program_transform_name@,$program_transform_name,;t t |
|
s,@bindir@,$bindir,;t t |
|
s,@sbindir@,$sbindir,;t t |
|
s,@libexecdir@,$libexecdir,;t t |
|
s,@datadir@,$datadir,;t t |
|
s,@sysconfdir@,$sysconfdir,;t t |
|
s,@sharedstatedir@,$sharedstatedir,;t t |
|
s,@localstatedir@,$localstatedir,;t t |
|
s,@libdir@,$libdir,;t t |
|
s,@includedir@,$includedir,;t t |
|
s,@oldincludedir@,$oldincludedir,;t t |
|
s,@infodir@,$infodir,;t t |
|
s,@mandir@,$mandir,;t t |
|
s,@build_alias@,$build_alias,;t t |
|
s,@host_alias@,$host_alias,;t t |
|
s,@target_alias@,$target_alias,;t t |
|
s,@DEFS@,$DEFS,;t t |
|
s,@ECHO_C@,$ECHO_C,;t t |
|
s,@ECHO_N@,$ECHO_N,;t t |
|
s,@ECHO_T@,$ECHO_T,;t t |
|
s,@LIBS@,$LIBS,;t t |
|
s,@LIBTOOL@,$LIBTOOL,;t t |
|
s,@CFLAGS@,$CFLAGS,;t t |
|
s,@PROGS@,$PROGS,;t t |
|
s,@CPPFLAGS@,$CPPFLAGS,;t t |
|
s,@LDFLAGS@,$LDFLAGS,;t t |
|
s,@SUDO_LDFLAGS@,$SUDO_LDFLAGS,;t t |
|
s,@SUDO_OBJS@,$SUDO_OBJS,;t t |
|
s,@SUDO_LIBS@,$SUDO_LIBS,;t t |
|
s,@NET_LIBS@,$NET_LIBS,;t t |
|
s,@AFS_LIBS@,$AFS_LIBS,;t t |
|
s,@OSDEFS@,$OSDEFS,;t t |
|
s,@AUTH_OBJS@,$AUTH_OBJS,;t t |
|
s,@MANTYPE@,$MANTYPE,;t t |
|
s,@MAN_POSTINSTALL@,$MAN_POSTINSTALL,;t t |
|
s,@SUDOERS_MODE@,$SUDOERS_MODE,;t t |
|
s,@SUDOERS_UID@,$SUDOERS_UID,;t t |
|
s,@SUDOERS_GID@,$SUDOERS_GID,;t t |
|
s,@DEV@,$DEV,;t t |
|
s,@mansectsu@,$mansectsu,;t t |
|
s,@mansectform@,$mansectform,;t t |
|
s,@mansrcdir@,$mansrcdir,;t t |
|
s,@NOEXECDIR@,$NOEXECDIR,;t t |
|
s,@noexec_file@,$noexec_file,;t t |
|
s,@INSTALL_NOEXEC@,$INSTALL_NOEXEC,;t t |
|
s,@DONT_LEAK_PATH_INFO@,$DONT_LEAK_PATH_INFO,;t t |
|
s,@timedir@,$timedir,;t t |
|
s,@timeout@,$timeout,;t t |
|
s,@password_timeout@,$password_timeout,;t t |
|
s,@sudo_umask@,$sudo_umask,;t t |
|
s,@passprompt@,$passprompt,;t t |
|
s,@long_otp_prompt@,$long_otp_prompt,;t t |
|
s,@lecture@,$lecture,;t t |
|
s,@logfac@,$logfac,;t t |
|
s,@goodpri@,$goodpri,;t t |
|
s,@badpri@,$badpri,;t t |
|
s,@loglen@,$loglen,;t t |
|
s,@ignore_dot@,$ignore_dot,;t t |
|
s,@mail_no_user@,$mail_no_user,;t t |
|
s,@mail_no_host@,$mail_no_host,;t t |
|
s,@mail_no_perms@,$mail_no_perms,;t t |
|
s,@mailto@,$mailto,;t t |
|
s,@mailsub@,$mailsub,;t t |
|
s,@badpass_message@,$badpass_message,;t t |
|
s,@fqdn@,$fqdn,;t t |
|
s,@runas_default@,$runas_default,;t t |
|
s,@env_editor@,$env_editor,;t t |
|
s,@passwd_tries@,$passwd_tries,;t t |
|
s,@tty_tickets@,$tty_tickets,;t t |
|
s,@insults@,$insults,;t t |
|
s,@root_sudo@,$root_sudo,;t t |
|
s,@path_info@,$path_info,;t t |
|
s,@EGREPPROG@,$EGREPPROG,;t t |
|
s,@CC@,$CC,;t t |
|
s,@ac_ct_CC@,$ac_ct_CC,;t t |
|
s,@EXEEXT@,$EXEEXT,;t t |
|
s,@OBJEXT@,$OBJEXT,;t t |
|
s,@CPP@,$CPP,;t t |
|
s,@build@,$build,;t t |
|
s,@build_cpu@,$build_cpu,;t t |
|
s,@build_vendor@,$build_vendor,;t t |
|
s,@build_os@,$build_os,;t t |
|
s,@host@,$host,;t t |
|
s,@host_cpu@,$host_cpu,;t t |
|
s,@host_vendor@,$host_vendor,;t t |
|
s,@host_os@,$host_os,;t t |
|
s,@target@,$target,;t t |
|
s,@target_cpu@,$target_cpu,;t t |
|
s,@target_vendor@,$target_vendor,;t t |
|
s,@target_os@,$target_os,;t t |
|
s,@SED@,$SED,;t t |
|
s,@EGREP@,$EGREP,;t t |
|
s,@FGREP@,$FGREP,;t t |
|
s,@GREP@,$GREP,;t t |
|
s,@LD@,$LD,;t t |
|
s,@NM@,$NM,;t t |
|
s,@LN_S@,$LN_S,;t t |
|
s,@AR@,$AR,;t t |
|
s,@ac_ct_AR@,$ac_ct_AR,;t t |
|
s,@STRIP@,$STRIP,;t t |
|
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t |
|
s,@RANLIB@,$RANLIB,;t t |
|
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
|
s,@lt_ECHO@,$lt_ECHO,;t t |
|
s,@UNAMEPROG@,$UNAMEPROG,;t t |
|
s,@TRPROG@,$TRPROG,;t t |
|
s,@NROFFPROG@,$NROFFPROG,;t t |
|
s,@YACC@,$YACC,;t t |
|
s,@LIBOBJS@,$LIBOBJS,;t t |
|
s,@ALLOCA@,$ALLOCA,;t t |
|
s,@KRB5CONFIG@,$KRB5CONFIG,;t t |
|
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
|
CEOF |
|
|
|
_ACEOF |
_ACEOF |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
|
# Split the substitutions into bite-sized pieces for seds with |
|
# small command number limits, like on Digital OSF/1 and HP-UX. |
ac_delim='%!_!# ' |
ac_max_sed_lines=48 |
for ac_last_try in false false false false false :; do |
ac_sed_frag=1 # Number of current file. |
cat >conf$$subs.sed <<_ACEOF |
ac_beg=1 # First line for current file. |
SHELL!$SHELL$ac_delim |
ac_end=$ac_max_sed_lines # Line after last line for current file. |
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
ac_more_lines=: |
PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
ac_sed_cmds= |
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
while $ac_more_lines; do |
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
if test $ac_beg -gt 1; then |
PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
else |
exec_prefix!$exec_prefix$ac_delim |
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
prefix!$prefix$ac_delim |
fi |
program_transform_name!$program_transform_name$ac_delim |
if test ! -s $tmp/subs.frag; then |
bindir!$bindir$ac_delim |
ac_more_lines=false |
sbindir!$sbindir$ac_delim |
else |
libexecdir!$libexecdir$ac_delim |
# The purpose of the label and of the branching condition is to |
datarootdir!$datarootdir$ac_delim |
# speed up the sed processing (if there are no `@' at all, there |
datadir!$datadir$ac_delim |
# is no need to browse any of the substitutions). |
sysconfdir!$sysconfdir$ac_delim |
# These are the two extra sed commands mentioned above. |
sharedstatedir!$sharedstatedir$ac_delim |
(echo ':t |
localstatedir!$localstatedir$ac_delim |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
includedir!$includedir$ac_delim |
if test -z "$ac_sed_cmds"; then |
oldincludedir!$oldincludedir$ac_delim |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
docdir!$docdir$ac_delim |
else |
infodir!$infodir$ac_delim |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
htmldir!$htmldir$ac_delim |
fi |
dvidir!$dvidir$ac_delim |
ac_sed_frag=`expr $ac_sed_frag + 1` |
pdfdir!$pdfdir$ac_delim |
ac_beg=$ac_end |
psdir!$psdir$ac_delim |
ac_end=`expr $ac_end + $ac_max_sed_lines` |
libdir!$libdir$ac_delim |
fi |
localedir!$localedir$ac_delim |
done |
mandir!$mandir$ac_delim |
if test -z "$ac_sed_cmds"; then |
DEFS!$DEFS$ac_delim |
ac_sed_cmds=cat |
ECHO_C!$ECHO_C$ac_delim |
|
ECHO_N!$ECHO_N$ac_delim |
|
ECHO_T!$ECHO_T$ac_delim |
|
LIBS!$LIBS$ac_delim |
|
build_alias!$build_alias$ac_delim |
|
host_alias!$host_alias$ac_delim |
|
target_alias!$target_alias$ac_delim |
|
LIBTOOL!$LIBTOOL$ac_delim |
|
CFLAGS!$CFLAGS$ac_delim |
|
PROGS!$PROGS$ac_delim |
|
CPPFLAGS!$CPPFLAGS$ac_delim |
|
LDFLAGS!$LDFLAGS$ac_delim |
|
SUDO_LDFLAGS!$SUDO_LDFLAGS$ac_delim |
|
SUDO_OBJS!$SUDO_OBJS$ac_delim |
|
SUDO_LIBS!$SUDO_LIBS$ac_delim |
|
NET_LIBS!$NET_LIBS$ac_delim |
|
AFS_LIBS!$AFS_LIBS$ac_delim |
|
OSDEFS!$OSDEFS$ac_delim |
|
AUTH_OBJS!$AUTH_OBJS$ac_delim |
|
MANTYPE!$MANTYPE$ac_delim |
|
MAN_POSTINSTALL!$MAN_POSTINSTALL$ac_delim |
|
SUDOERS_MODE!$SUDOERS_MODE$ac_delim |
|
SUDOERS_UID!$SUDOERS_UID$ac_delim |
|
SUDOERS_GID!$SUDOERS_GID$ac_delim |
|
DEV!$DEV$ac_delim |
|
mansectsu!$mansectsu$ac_delim |
|
mansectform!$mansectform$ac_delim |
|
mansrcdir!$mansrcdir$ac_delim |
|
NOEXECDIR!$NOEXECDIR$ac_delim |
|
noexec_file!$noexec_file$ac_delim |
|
INSTALL_NOEXEC!$INSTALL_NOEXEC$ac_delim |
|
DONT_LEAK_PATH_INFO!$DONT_LEAK_PATH_INFO$ac_delim |
|
timedir!$timedir$ac_delim |
|
timeout!$timeout$ac_delim |
|
password_timeout!$password_timeout$ac_delim |
|
sudo_umask!$sudo_umask$ac_delim |
|
passprompt!$passprompt$ac_delim |
|
long_otp_prompt!$long_otp_prompt$ac_delim |
|
lecture!$lecture$ac_delim |
|
logfac!$logfac$ac_delim |
|
goodpri!$goodpri$ac_delim |
|
badpri!$badpri$ac_delim |
|
loglen!$loglen$ac_delim |
|
ignore_dot!$ignore_dot$ac_delim |
|
mail_no_user!$mail_no_user$ac_delim |
|
mail_no_host!$mail_no_host$ac_delim |
|
mail_no_perms!$mail_no_perms$ac_delim |
|
mailto!$mailto$ac_delim |
|
mailsub!$mailsub$ac_delim |
|
badpass_message!$badpass_message$ac_delim |
|
fqdn!$fqdn$ac_delim |
|
runas_default!$runas_default$ac_delim |
|
env_editor!$env_editor$ac_delim |
|
passwd_tries!$passwd_tries$ac_delim |
|
tty_tickets!$tty_tickets$ac_delim |
|
insults!$insults$ac_delim |
|
root_sudo!$root_sudo$ac_delim |
|
path_info!$path_info$ac_delim |
|
EGREPPROG!$EGREPPROG$ac_delim |
|
CC!$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 |
|
build_vendor!$build_vendor$ac_delim |
|
_ACEOF |
|
|
|
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
|
break |
|
elif $ac_last_try; then |
|
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
else |
|
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
fi |
fi |
fi # test -n "$CONFIG_FILES" |
done |
|
|
|
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
|
if test -n "$ac_eof"; then |
|
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
|
ac_eof=`expr $ac_eof + 1` |
|
fi |
|
|
|
cat >>$CONFIG_STATUS <<_ACEOF |
|
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
_ACEOF |
_ACEOF |
|
sed ' |
|
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
|
s/^/s,@/; s/!/@,|#_!!_#|/ |
|
:n |
|
t n |
|
s/'"$ac_delim"'$/,g/; t |
|
s/$/\\/; p |
|
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
|
' >>$CONFIG_STATUS <conf$$subs.sed |
|
rm -f conf$$subs.sed |
|
cat >>$CONFIG_STATUS <<_ACEOF |
|
CEOF$ac_eof |
|
_ACEOF |
|
|
|
|
|
ac_delim='%!_!# ' |
|
for ac_last_try in false false false false false :; do |
|
cat >conf$$subs.sed <<_ACEOF |
|
build_os!$build_os$ac_delim |
|
host!$host$ac_delim |
|
host_cpu!$host_cpu$ac_delim |
|
host_vendor!$host_vendor$ac_delim |
|
host_os!$host_os$ac_delim |
|
target!$target$ac_delim |
|
target_cpu!$target_cpu$ac_delim |
|
target_vendor!$target_vendor$ac_delim |
|
target_os!$target_os$ac_delim |
|
SED!$SED$ac_delim |
|
GREP!$GREP$ac_delim |
|
EGREP!$EGREP$ac_delim |
|
LN_S!$LN_S$ac_delim |
|
ECHO!$ECHO$ac_delim |
|
AR!$AR$ac_delim |
|
RANLIB!$RANLIB$ac_delim |
|
STRIP!$STRIP$ac_delim |
|
UNAMEPROG!$UNAMEPROG$ac_delim |
|
TRPROG!$TRPROG$ac_delim |
|
NROFFPROG!$NROFFPROG$ac_delim |
|
YACC!$YACC$ac_delim |
|
YFLAGS!$YFLAGS$ac_delim |
|
LIBOBJS!$LIBOBJS$ac_delim |
|
ALLOCA!$ALLOCA$ac_delim |
|
KRB5CONFIG!$KRB5CONFIG$ac_delim |
|
LTLIBOBJS!$LTLIBOBJS$ac_delim |
|
_ACEOF |
|
|
|
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 26; then |
|
break |
|
elif $ac_last_try; then |
|
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
else |
|
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
fi |
|
done |
|
|
|
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
|
if test -n "$ac_eof"; then |
|
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
|
ac_eof=`expr $ac_eof + 1` |
|
fi |
|
|
|
cat >>$CONFIG_STATUS <<_ACEOF |
|
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof |
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
|
_ACEOF |
|
sed ' |
|
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
|
s/^/s,@/; s/!/@,|#_!!_#|/ |
|
:n |
|
t n |
|
s/'"$ac_delim"'$/,g/; t |
|
s/$/\\/; p |
|
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
|
' >>$CONFIG_STATUS <conf$$subs.sed |
|
rm -f conf$$subs.sed |
|
cat >>$CONFIG_STATUS <<_ACEOF |
|
:end |
|
s/|#_!!_#|//g |
|
CEOF$ac_eof |
|
_ACEOF |
|
|
|
|
|
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
|
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
|
# trailing colons and then remove the whole line if VPATH becomes empty |
|
# (actually we leave an empty line to preserve line numbers). |
|
if test "x$srcdir" = x.; then |
|
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
|
s/:*\$(srcdir):*/:/ |
|
s/:*\${srcdir}:*/:/ |
|
s/:*@srcdir@:*/:/ |
|
s/^\([^=]*=[ ]*\):*/\1/ |
|
s/:*$// |
|
s/^[^=]*=[ ]*$// |
|
}' |
|
fi |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
fi # test -n "$CONFIG_FILES" |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
|
case $ac_file in |
|
- | *:- | *:-:* ) # input from stdin |
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS |
cat >$tmp/stdin |
do |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
case $ac_tag in |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
:[FHLC]) ac_mode=$ac_tag; continue;; |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
|
* ) ac_file_in=$ac_file.in ;; |
|
esac |
esac |
|
case $ac_mode$ac_tag in |
|
:[FHL]*:*);; |
|
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
|
echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
|
{ (exit 1); exit 1; }; };; |
|
:[FH]-) ac_tag=-:-;; |
|
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|
esac |
|
ac_save_IFS=$IFS |
|
IFS=: |
|
set x $ac_tag |
|
IFS=$ac_save_IFS |
|
shift |
|
ac_file=$1 |
|
shift |
|
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
case $ac_mode in |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
:L) ac_source=$1;; |
|
:[FH]) |
|
ac_file_inputs= |
|
for ac_f |
|
do |
|
case $ac_f in |
|
-) ac_f="$tmp/stdin";; |
|
*) # Look for the file first in the build tree, then in the source tree |
|
# (if the path is not absolute). The absolute path cannot be DOS-style, |
|
# because $ac_f cannot contain `:'. |
|
test -f "$ac_f" || |
|
case $ac_f in |
|
[\\/$]*) false;; |
|
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|
esac || |
|
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
|
echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
|
{ (exit 1); exit 1; }; };; |
|
esac |
|
ac_file_inputs="$ac_file_inputs $ac_f" |
|
done |
|
|
|
# Let's still pretend it is `configure' which instantiates (i.e., don't |
|
# use $as_me), people would be surprised to read: |
|
# /* config.h. Generated by config.status. */ |
|
configure_input="Generated from "`IFS=: |
|
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." |
|
if test x"$ac_file" != x-; then |
|
configure_input="$ac_file. $configure_input" |
|
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
echo "$as_me: creating $ac_file" >&6;} |
|
fi |
|
|
|
case $ac_tag in |
|
*:-:* | *:-) cat >"$tmp/stdin";; |
|
esac |
|
;; |
|
esac |
|
|
|
ac_dir=`$as_dirname -- "$ac_file" || |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$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\(/\)' \| . 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
|
echo X"$ac_file" | |
echo X"$ac_file" | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
s//\1/ |
/^X\(\/\/\)$/{ s//\1/; q; } |
q |
/^X\(\/\).*/{ s//\1/; q; } |
} |
s/.*/./; q'` |
/^X\(\/\/\)[^/].*/{ |
{ if $as_mkdir_p; then |
s//\1/ |
mkdir -p "$ac_dir" |
q |
else |
} |
as_dir="$ac_dir" |
/^X\(\/\/\)$/{ |
|
s//\1/ |
|
q |
|
} |
|
/^X\(\/\).*/{ |
|
s//\1/ |
|
q |
|
} |
|
s/.*/./; q'` |
|
{ as_dir="$ac_dir" |
|
case $as_dir in #( |
|
-*) as_dir=./$as_dir;; |
|
esac |
|
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
as_dirs= |
as_dirs= |
while test ! -d "$as_dir"; do |
while :; do |
as_dirs="$as_dir $as_dirs" |
case $as_dir in #( |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
|
*) as_qdir=$as_dir;; |
|
esac |
|
as_dirs="'$as_qdir' $as_dirs" |
|
as_dir=`$as_dirname -- "$as_dir" || |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
X"$as_dir" : 'X\(//\)$' \| \ |
X"$as_dir" : 'X\(//\)$' \| \ |
X"$as_dir" : 'X\(/\)' \| \ |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
. : '\(.\)' 2>/dev/null || |
|
echo X"$as_dir" | |
echo X"$as_dir" | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
s//\1/ |
/^X\(\/\/\)$/{ s//\1/; q; } |
q |
/^X\(\/\).*/{ s//\1/; q; } |
} |
s/.*/./; q'` |
/^X\(\/\/\)[^/].*/{ |
|
s//\1/ |
|
q |
|
} |
|
/^X\(\/\/\)$/{ |
|
s//\1/ |
|
q |
|
} |
|
/^X\(\/\).*/{ |
|
s//\1/ |
|
q |
|
} |
|
s/.*/./; q'` |
|
test -d "$as_dir" && break |
done |
done |
test ! -n "$as_dirs" || mkdir $as_dirs |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
echo "$as_me: error: cannot create directory $as_dir" >&2;} |
{ (exit 1); exit 1; }; }; } |
{ (exit 1); exit 1; }; }; } |
|
|
ac_builddir=. |
ac_builddir=. |
|
|
if test "$ac_dir" != .; then |
case "$ac_dir" in |
|
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
*) |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
# A "../" for each directory in $ac_dir_suffix. |
# A ".." for each directory in $ac_dir_suffix. |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
else |
case $ac_top_builddir_sub in |
ac_dir_suffix= ac_top_builddir= |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
fi |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
esac ;; |
|
esac |
|
ac_abs_top_builddir=$ac_pwd |
|
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
# for backward compatibility: |
|
ac_top_builddir=$ac_top_build_prefix |
|
|
case $srcdir in |
case $srcdir in |
.) # No --srcdir option. We are building in place. |
.) # We are building in place. |
ac_srcdir=. |
ac_srcdir=. |
if test -z "$ac_top_builddir"; then |
ac_top_srcdir=$ac_top_builddir_sub |
ac_top_srcdir=. |
ac_abs_top_srcdir=$ac_pwd ;; |
else |
[\\/]* | ?:[\\/]* ) # Absolute name. |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
|
fi ;; |
|
[\\/]* | ?:[\\/]* ) # Absolute path. |
|
ac_srcdir=$srcdir$ac_dir_suffix; |
ac_srcdir=$srcdir$ac_dir_suffix; |
ac_top_srcdir=$srcdir ;; |
ac_top_srcdir=$srcdir |
*) # Relative path. |
ac_abs_top_srcdir=$srcdir ;; |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
*) # Relative name. |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
esac |
esac |
|
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
|
# Do not use `cd foo && pwd` to compute absolute paths, because |
|
# the directories may not exist. |
|
case `pwd` in |
|
.) ac_abs_builddir="$ac_dir";; |
|
*) |
|
case "$ac_dir" in |
|
.) ac_abs_builddir=`pwd`;; |
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
|
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
|
esac;; |
|
esac |
|
case $ac_abs_builddir in |
|
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
*) |
|
case ${ac_top_builddir}. in |
|
.) ac_abs_top_builddir=$ac_abs_builddir;; |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
|
esac;; |
|
esac |
|
case $ac_abs_builddir in |
|
.) ac_abs_srcdir=$ac_srcdir;; |
|
*) |
|
case $ac_srcdir in |
|
.) ac_abs_srcdir=$ac_abs_builddir;; |
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
|
esac;; |
|
esac |
|
case $ac_abs_builddir in |
|
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
*) |
|
case $ac_top_srcdir in |
|
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
|
esac;; |
|
esac |
|
|
|
|
case $ac_mode in |
|
:F) |
|
# |
|
# CONFIG_FILE |
|
# |
|
|
|
_ACEOF |
|
|
if test x"$ac_file" != x-; then |
cat >>$CONFIG_STATUS <<\_ACEOF |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
# If the template does not know about datarootdir, expand it. |
echo "$as_me: creating $ac_file" >&6;} |
# FIXME: This hack should be removed a few years after 2.60. |
rm -f "$ac_file" |
ac_datarootdir_hack=; ac_datarootdir_seen= |
fi |
|
# Let's still pretend it is `configure' which instantiates (i.e., don't |
|
# use $as_me), people would be surprised to read: |
|
# /* config.h. Generated by config.status. */ |
|
if test x"$ac_file" = x-; then |
|
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 |
case `sed -n '/datarootdir/ { |
# src tree. |
p |
ac_file_inputs=`IFS=: |
q |
for f in $ac_file_in; do |
} |
case $f in |
/@datadir@/p |
-) echo $tmp/stdin ;; |
/@docdir@/p |
[\\/$]*) |
/@infodir@/p |
# Absolute (can't be DOS-style, as IFS=:) |
/@localedir@/p |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
/@mandir@/p |
echo "$as_me: error: cannot find input file: $f" >&2;} |
' $ac_file_inputs` in |
{ (exit 1); exit 1; }; } |
*datarootdir*) ac_datarootdir_seen=yes;; |
echo "$f";; |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
*) # Relative |
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
if test -f "$f"; then |
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
# Build tree |
|
echo "$f" |
|
elif test -f "$srcdir/$f"; then |
|
# Source tree |
|
echo "$srcdir/$f" |
|
else |
|
# /dev/null tree |
|
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi;; |
|
esac |
|
done` || { (exit 1); exit 1; } |
|
_ACEOF |
_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF |
|
ac_datarootdir_hack=' |
|
s&@datadir@&$datadir&g |
|
s&@docdir@&$docdir&g |
|
s&@infodir@&$infodir&g |
|
s&@localedir@&$localedir&g |
|
s&@mandir@&$mandir&g |
|
s&\\\${datarootdir}&$datarootdir&g' ;; |
|
esac |
|
_ACEOF |
|
|
|
# Neutralize VPATH when `$srcdir' = `.'. |
|
# Shell code in configure.ac might set extrasub. |
|
# FIXME: do we really want to maintain this feature? |
|
cat >>$CONFIG_STATUS <<_ACEOF |
sed "$ac_vpsub |
sed "$ac_vpsub |
$extrasub |
$extrasub |
_ACEOF |
_ACEOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
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&@top_builddir@&$ac_top_builddir_sub&;t t |
s,@abs_srcdir@,$ac_abs_srcdir,;t t |
s&@srcdir@&$ac_srcdir&;t t |
s,@top_srcdir@,$ac_top_srcdir,;t t |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
s&@top_srcdir@&$ac_top_srcdir&;t t |
s,@builddir@,$ac_builddir,;t t |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
s,@abs_builddir@,$ac_abs_builddir,;t t |
s&@builddir@&$ac_builddir&;t t |
s,@top_builddir@,$ac_top_builddir,;t t |
s&@abs_builddir@&$ac_abs_builddir&;t t |
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
$ac_datarootdir_hack |
rm -f $tmp/stdin |
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out |
if test x"$ac_file" != x-; then |
|
mv $tmp/out $ac_file |
|
else |
|
cat $tmp/out |
|
rm -f $tmp/out |
|
fi |
|
|
|
done |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
_ACEOF |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
cat >>$CONFIG_STATUS <<\_ACEOF |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
|
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
which seems to be undefined. Please make sure it is defined." >&5 |
|
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
which seems to be undefined. Please make sure it is defined." >&2;} |
|
|
# |
rm -f "$tmp/stdin" |
# CONFIG_HEADER section. |
|
# |
|
|
|
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
|
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
|
# |
|
# ac_d sets the value in "#define NAME VALUE" lines. |
|
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
|
ac_dB='[ ].*$,\1#\2' |
|
ac_dC=' ' |
|
ac_dD=',;t' |
|
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
|
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
|
ac_uB='$,\1#\2define\3' |
|
ac_uC=' ' |
|
ac_uD=',;t' |
|
|
|
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
|
case $ac_file in |
case $ac_file in |
- | *:- | *:-:* ) # input from stdin |
-) cat "$tmp/out"; rm -f "$tmp/out";; |
cat >$tmp/stdin |
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
|
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
|
* ) ac_file_in=$ac_file.in ;; |
|
esac |
esac |
|
;; |
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
:H) |
echo "$as_me: creating $ac_file" >&6;} |
# |
|
# CONFIG_HEADER |
# First look for the input files in the build tree, otherwise in the |
# |
# src tree. |
|
ac_file_inputs=`IFS=: |
|
for f in $ac_file_in; do |
|
case $f in |
|
-) echo $tmp/stdin ;; |
|
[\\/$]*) |
|
# Absolute (can't be DOS-style, as IFS=:) |
|
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
# Do quote $f, to prevent DOS paths from being IFS'd. |
|
echo "$f";; |
|
*) # Relative |
|
if test -f "$f"; then |
|
# Build tree |
|
echo "$f" |
|
elif test -f "$srcdir/$f"; then |
|
# Source tree |
|
echo "$srcdir/$f" |
|
else |
|
# /dev/null tree |
|
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
|
echo "$as_me: error: cannot find input file: $f" >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi;; |
|
esac |
|
done` || { (exit 1); exit 1; } |
|
# Remove the trailing spaces. |
|
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
|
|
|
_ACEOF |
_ACEOF |
|
|
# Transform confdefs.h into two sed scripts, `conftest.defines' and |
# Transform confdefs.h into a sed script `conftest.defines', that |
# `conftest.undefs', that substitutes the proper values into |
# substitutes the proper values into config.h.in to produce config.h. |
# config.h.in to produce config.h. The first handles `#define' |
rm -f conftest.defines conftest.tail |
# templates, and the second `#undef' templates. |
# First, append a space to every undef/define line, to ease matching. |
# And first: Protect against being on the right side of a sed subst in |
echo 's/$/ /' >conftest.defines |
# config.status. Protect against being in an unquoted here document |
# Then, protect against being on the right side of a sed subst, or in |
# in config.status. |
# an unquoted here document, in config.status. If some macros were |
rm -f conftest.defines conftest.undefs |
# called several times there might be several #defines for the same |
# Using a here document instead of a string reduces the quoting nightmare. |
# symbol, which is useless. But do not sort them, since the last |
# Putting comments in sed scripts is not portable. |
# AC_DEFINE must be honored. |
# |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
# `end' is used to avoid that the second main sed command (meant for |
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where |
# 0-ary CPP macros) applies to n-ary macro definitions. |
# NAME is the cpp macro being defined, VALUE is the value it is being given. |
# See the Autoconf documentation for `clear'. |
# PARAMS is the parameter list in the macro definition--in most cases, it's |
cat >confdef2sed.sed <<\_ACEOF |
# just an empty string. |
s/[\\&,]/\\&/g |
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' |
s,[\\$`],\\&,g |
ac_dB='\\)[ (].*,\\1define\\2' |
t clear |
ac_dC=' ' |
: clear |
ac_dD=' ,' |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
|
t end |
|
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
|
: end |
|
_ACEOF |
|
# If some macros were called several times there might be several times |
|
# the same #defines, which is useless. Nevertheless, we may not want to |
|
# sort them, since we want the *last* AC-DEFINE to be honored. |
|
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines |
|
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs |
|
rm -f confdef2sed.sed |
|
|
|
# This sed command replaces #undef with comments. This is necessary, for |
uniq confdefs.h | |
|
sed -n ' |
|
t rset |
|
:rset |
|
s/^[ ]*#[ ]*define[ ][ ]*// |
|
t ok |
|
d |
|
:ok |
|
s/[\\&,]/\\&/g |
|
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p |
|
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p |
|
' >>conftest.defines |
|
|
|
# Remove the space that was appended to ease matching. |
|
# Then replace #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 <<\_ACEOF |
# (The regexp can be short, since the line contains either #define or #undef.) |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
echo 's/ $// |
_ACEOF |
s,^[ #]*u.*,/* & */,' >>conftest.defines |
|
|
# Break up conftest.defines because some shells have a limit on the size |
# Break up conftest.defines: |
# of here documents, and old seds have small limits too (100 cmds). |
ac_max_sed_lines=50 |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
|
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" |
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" |
echo ' :' >>$CONFIG_STATUS |
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" |
rm -f conftest.tail |
# et cetera. |
while grep . conftest.defines >/dev/null |
ac_in='$ac_file_inputs' |
|
ac_out='"$tmp/out1"' |
|
ac_nxt='"$tmp/out2"' |
|
|
|
while : |
do |
do |
# Write a limited-size here document to $tmp/defines.sed. |
# Write a here document: |
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
cat >>$CONFIG_STATUS <<_ACEOF |
# Speed up: don't consider the non `#define' lines. |
# First, check the format of the line: |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
cat >"\$tmp/defines.sed" <<\\CEOF |
# Work around the forget-to-reset-the-flag bug. |
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def |
echo 't clr' >>$CONFIG_STATUS |
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def |
echo ': clr' >>$CONFIG_STATUS |
b |
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
:def |
|
_ACEOF |
|
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS |
echo 'CEOF |
echo 'CEOF |
sed -f $tmp/defines.sed $tmp/in >$tmp/out |
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS |
rm -f $tmp/in |
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in |
mv $tmp/out $tmp/in |
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail |
' >>$CONFIG_STATUS |
grep . conftest.tail >/dev/null || break |
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail |
|
rm -f conftest.defines |
rm -f conftest.defines |
mv conftest.tail conftest.defines |
mv conftest.tail conftest.defines |
done |
done |
rm -f conftest.defines |
rm -f conftest.defines conftest.tail |
echo ' fi # grep' >>$CONFIG_STATUS |
|
echo >>$CONFIG_STATUS |
|
|
|
# Break up conftest.undefs because some shells have a limit on the size |
echo "ac_result=$ac_in" >>$CONFIG_STATUS |
# of here documents, and old seds have small limits too (100 cmds). |
|
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS |
|
rm -f conftest.tail |
|
while grep . conftest.undefs >/dev/null |
|
do |
|
# Write a limited-size here document to $tmp/undefs.sed. |
|
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
|
# Speed up: don't consider the non `#undef' |
|
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
|
# Work around the forget-to-reset-the-flag bug. |
|
echo 't clr' >>$CONFIG_STATUS |
|
echo ': clr' >>$CONFIG_STATUS |
|
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
|
echo 'CEOF |
|
sed -f $tmp/undefs.sed $tmp/in >$tmp/out |
|
rm -f $tmp/in |
|
mv $tmp/out $tmp/in |
|
' >>$CONFIG_STATUS |
|
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail |
|
rm -f conftest.undefs |
|
mv conftest.tail conftest.undefs |
|
done |
|
rm -f conftest.undefs |
|
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
cat >>$CONFIG_STATUS <<\_ACEOF |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
|
# use $as_me), people would be surprised to read: |
|
# /* config.h. Generated by config.status. */ |
|
if test x"$ac_file" = x-; then |
|
echo "/* Generated by configure. */" >$tmp/config.h |
|
else |
|
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
|
fi |
|
cat $tmp/in >>$tmp/config.h |
|
rm -f $tmp/in |
|
if test x"$ac_file" != x-; then |
if test x"$ac_file" != x-; then |
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
echo "/* $configure_input */" >"$tmp/config.h" |
|
cat "$ac_result" >>"$tmp/config.h" |
|
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then |
{ echo "$as_me:$LINENO: $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=`(dirname "$ac_file") 2>/dev/null || |
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
X"$ac_file" : 'X\(//\)$' \| \ |
|
X"$ac_file" : 'X\(/\)' \| \ |
|
. : '\(.\)' 2>/dev/null || |
|
echo X"$ac_file" | |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
|
/^X\(\/\).*/{ s//\1/; q; } |
|
s/.*/./; q'` |
|
{ if $as_mkdir_p; then |
|
mkdir -p "$ac_dir" |
|
else |
|
as_dir="$ac_dir" |
|
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; }; }; } |
|
|
|
rm -f $ac_file |
rm -f $ac_file |
mv $tmp/config.h $ac_file |
mv "$tmp/config.h" $ac_file |
fi |
fi |
else |
else |
cat $tmp/config.h |
echo "/* $configure_input */" |
rm -f $tmp/config.h |
cat "$ac_result" |
fi |
fi |
|
rm -f "$tmp/out12" |
|
# Compute $ac_file's index in $config_headers. |
|
_am_stamp_count=1 |
|
for _am_header in $config_headers :; do |
|
case $_am_header in |
|
$ac_file | $ac_file:* ) |
|
break ;; |
|
* ) |
|
_am_stamp_count=`expr $_am_stamp_count + 1` ;; |
|
esac |
done |
done |
_ACEOF |
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file || |
cat >>$CONFIG_STATUS <<\_ACEOF |
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
X$ac_file : 'X\(//\)[^/]' \| \ |
|
X$ac_file : 'X\(//\)$' \| \ |
|
X$ac_file : 'X\(/\)' \| . 2>/dev/null || |
|
echo X$ac_file | |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
s//\1/ |
|
q |
|
} |
|
/^X\(\/\/\)[^/].*/{ |
|
s//\1/ |
|
q |
|
} |
|
/^X\(\/\/\)$/{ |
|
s//\1/ |
|
q |
|
} |
|
/^X\(\/\).*/{ |
|
s//\1/ |
|
q |
|
} |
|
s/.*/./; q'`/stamp-h$_am_stamp_count |
|
;; |
|
|
# |
|
# CONFIG_COMMANDS section. |
|
# |
|
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue |
|
ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
|
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
|
ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
|
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
|
X"$ac_dest" : 'X\(//\)$' \| \ |
|
X"$ac_dest" : 'X\(/\)' \| \ |
|
. : '\(.\)' 2>/dev/null || |
|
echo X"$ac_dest" | |
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
/^X\(\/\/\)$/{ s//\1/; q; } |
|
/^X\(\/\).*/{ s//\1/; q; } |
|
s/.*/./; q'` |
|
{ if $as_mkdir_p; then |
|
mkdir -p "$ac_dir" |
|
else |
|
as_dir="$ac_dir" |
|
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; }; }; } |
|
|
|
ac_builddir=. |
|
|
|
if test "$ac_dir" != .; then |
|
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
|
# A "../" for each directory in $ac_dir_suffix. |
|
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
|
else |
|
ac_dir_suffix= ac_top_builddir= |
|
fi |
|
|
|
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 |
|
|
|
# Do not use `cd foo && pwd` to compute absolute paths, because |
|
# the directories may not exist. |
|
case `pwd` in |
|
.) ac_abs_builddir="$ac_dir";; |
|
*) |
|
case "$ac_dir" in |
|
.) ac_abs_builddir=`pwd`;; |
|
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
|
*) ac_abs_builddir=`pwd`/"$ac_dir";; |
|
esac;; |
|
esac |
|
case $ac_abs_builddir in |
|
.) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
*) |
|
case ${ac_top_builddir}. in |
|
.) ac_abs_top_builddir=$ac_abs_builddir;; |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
|
esac;; |
|
esac |
|
case $ac_abs_builddir in |
|
.) ac_abs_srcdir=$ac_srcdir;; |
|
*) |
|
case $ac_srcdir in |
|
.) ac_abs_srcdir=$ac_abs_builddir;; |
|
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
|
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
|
esac;; |
|
esac |
|
case $ac_abs_builddir in |
|
.) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
*) |
|
case $ac_top_srcdir in |
|
.) ac_abs_top_srcdir=$ac_abs_builddir;; |
|
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
|
esac;; |
|
esac |
|
|
|
|
|
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
|
echo "$as_me: executing $ac_dest commands" >&6;} |
|
case $ac_dest in |
|
libtool ) |
|
|
|
# See if we are running on zsh, and set the options which allow our |
|
# commands through without removal of \ escapes. |
|
if test -n "${ZSH_VERSION+set}" ; then |
|
setopt NO_GLOB_SUBST |
|
fi |
|
|
|
cfgfile="${ofile}T" |
|
trap "$RM \"$cfgfile\"; exit 1" 1 2 15 |
|
$RM "$cfgfile" |
|
|
|
cat <<_LT_EOF >> "$cfgfile" |
|
#! $SHELL |
|
|
|
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. |
|
# Generated automatically by config.status (GNU $PACKAGE$TIMESTAMP) $VERSION |
|
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
|
# |
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004 |
|
# Free Software Foundation, Inc. |
|
# |
|
# This file is part of GNU Libtool: |
|
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 |
|
# |
|
# This program is free software; you can redistribute it and/or modify |
|
# it under the terms of the GNU General Public License as published by |
|
# the Free Software Foundation; either version 2 of the License, or |
|
# (at your option) any later version. |
|
# |
|
# This program is distributed in the hope that it will be useful, but |
|
# WITHOUT ANY WARRANTY; without even the implied warranty of |
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
# General Public License for more details. |
|
# |
|
# You should have received a copy of the GNU General Public License |
|
# along with this program; if not, write to the Free Software |
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
# |
|
# As a special exception to the GNU General Public License, if you |
|
# distribute this file as part of a program that contains a |
|
# configuration script generated by Autoconf, you may include it under |
|
# the same distribution terms that you use for the rest of that program. |
|
|
|
|
|
|
|
# The names of the tagged configurations supported by this script. |
|
available_tags="" |
|
|
|
# ### BEGIN LIBTOOL CONFIG |
|
|
|
# Which release of libtool.m4 was used? |
|
macro_version=$macro_version |
|
macro_revision=$macro_revision |
|
|
|
# Whether or not to build static libraries. |
|
build_old_libs=$enable_static |
|
|
|
# Whether or not to build shared libraries. |
|
build_libtool_libs=$enable_shared |
|
|
|
# What type of objects to build. |
|
pic_mode=$pic_mode |
|
|
|
# Whether or not to optimize for fast installation. |
|
fast_install=$enable_fast_install |
|
|
|
# The host system. |
|
host_alias=$host_alias |
|
host=$host |
|
|
|
# A sed program that does not truncate output. |
|
SED=$lt_SED |
|
|
|
# Sed that helps us avoid accidentally triggering echo(1) options like -n. |
|
Xsed="\$SED -e s/^X//" |
|
|
|
# A grep program that handles long line. |
|
GREP=$lt_GREP |
|
|
|
# An ERE matcher. |
|
EGREP=$lt_EGREP |
|
|
|
# A literal string matcher. |
|
FGREP=$lt_FGREP |
|
|
|
# A BSD-compatible nm program. |
|
NM=$lt_NM |
|
|
|
# Whether we need soft or hard links. |
|
LN_S=$lt_LN_S |
|
|
|
# What is the maximum length of a command? |
|
max_cmd_len=$max_cmd_len |
|
|
|
# Object file suffix (normally "o"). |
|
objext=$ac_objext |
|
|
|
# Executable file suffix (normally ""). |
|
exeext=$exeext |
|
|
|
# How to create reloadable object files. |
|
reload_flag=$lt_reload_flag |
|
reload_cmds=$lt_reload_cmds |
|
|
|
# Method to check whether dependent libraries are shared objects. |
|
deplibs_check_method=$lt_deplibs_check_method |
|
|
|
# Command to use when deplibs_check_method == "file_magic". |
|
file_magic_cmd=$lt_file_magic_cmd |
|
|
|
# The archiver. |
|
AR=$lt_AR |
|
AR_FLAGS=$lt_AR_FLAGS |
|
|
|
# A symbol stripping program. |
|
STRIP=$lt_STRIP |
|
|
|
# Commands used to install an old-style archive. |
|
RANLIB=$lt_RANLIB |
|
old_postinstall_cmds=$lt_old_postinstall_cmds |
|
old_postuninstall_cmds=$lt_old_postuninstall_cmds |
|
|
|
# Take the output of nm and produce a listing of raw symbols and C names. |
|
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
|
|
|
# Transform the output of nm in a proper C declaration. |
|
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
|
|
|
# Transform the output of nm in a C name address pair. |
|
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
|
|
|
# The name of the directory that contains temporary libtool files. |
|
objdir=$objdir |
|
|
|
# A C compiler. |
|
LTCC=$lt_CC |
|
|
|
# LTCC compiler flags. |
|
LTCFLAGS=$lt_CFLAGS |
|
|
|
# Shell to use when invoking shell scripts. |
|
SHELL=$lt_SHELL |
|
|
|
# An echo program that does not interpret backslashes. |
|
ECHO=$lt_ECHO |
|
|
|
# Used to examine libraries when file_magic_cmd begins "file". |
|
MAGIC_CMD=$MAGIC_CMD |
|
|
|
# Whether dlopen is supported. |
|
dlopen_support=$enable_dlopen |
|
|
|
# Whether dlopen of programs is supported. |
|
dlopen_self=$enable_dlopen_self |
|
|
|
# Whether dlopen of statically linked programs is supported. |
|
dlopen_self_static=$enable_dlopen_self_static |
|
|
|
# Does compiler simultaneously support -c and -o options? |
|
compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
|
|
|
# Must we lock files when doing compilation? |
|
need_locks=$lt_need_locks |
|
|
|
# Old archive suffix (normally "a"). |
|
libext=$libext |
|
|
|
# Shared library suffix (normally ".so"). |
|
shrext_cmds=$lt_shrext_cmds |
|
|
|
# The commands to extract the exported symbol list from a shared archive. |
|
extract_expsyms_cmds=$lt_extract_expsyms_cmds |
|
|
|
# Variables whose values should be saved in libtool wrapper scripts and |
|
# restored at link time. |
|
variables_saved_for_relink=$lt_variables_saved_for_relink |
|
|
|
# Do we need the "lib" prefix for modules? |
|
need_lib_prefix=$need_lib_prefix |
|
|
|
# Do we need a version for libraries? |
|
need_version=$need_version |
|
|
|
# Library versioning type. |
|
version_type=$version_type |
|
|
|
# Shared library runtime path variable. |
|
runpath_var=$runpath_var |
|
|
|
# Shared library path variable. |
|
shlibpath_var=$shlibpath_var |
|
|
|
# Is shibpath searched before the hard-coded library search path? |
|
shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
|
|
|
# Format of library name prefix. |
|
libname_spec=$lt_libname_spec |
|
|
|
# List of archive names. First name is the real one,the rest are links. |
|
# The last name is the one that the linker finds with -lNAME |
|
library_names_spec=$lt_library_names_spec |
|
|
|
# The coded name of the library,if different from the real name. |
|
soname_spec=$lt_soname_spec |
|
|
|
# Command to use after installation of a shared archive. |
|
postinstall_cmds=$lt_postinstall_cmds |
|
|
|
# Command to use after uninstallation of a shared archive. |
|
postuninstall_cmds=$lt_postuninstall_cmds |
|
|
|
# Commands used to finish a libtool library installation in a directory. |
|
finish_cmds=$lt_finish_cmds |
|
|
|
# As "finish_cmds",except a single script fragment to be evaled but |
|
# not shown. |
|
finish_eval=$lt_finish_eval |
|
|
|
# Whether we should hardcode library paths into libraries. |
|
hardcode_into_libs=$hardcode_into_libs |
|
|
|
# Compile-time system search path for libraries. |
|
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
|
|
|
# Run-time system search path for libraries. |
|
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
|
|
|
# Commands to strip libraries. |
|
old_striplib=$lt_old_striplib |
|
striplib=$lt_striplib |
|
|
|
|
|
# The linker used to build libraries. |
|
LD=$lt_LD |
|
|
|
# Commands used to build an old-style archive. |
|
old_archive_cmds=$lt_old_archive_cmds |
|
|
|
# A language specific compiler. |
|
CC=$lt_compiler |
|
|
|
# Is the compiler the GNU C compiler? |
|
with_gcc=$GCC |
|
|
|
# Compiler flag to turn off builtin functions. |
|
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
|
|
|
# How to pass a linker flag through the compiler. |
|
wl=$lt_lt_prog_compiler_wl |
|
|
|
# Additional compiler flags for building library objects. |
|
pic_flag=$lt_lt_prog_compiler_pic |
|
|
|
# Compiler flag to prevent dynamic linking. |
|
link_static_flag=$lt_lt_prog_compiler_static |
|
|
|
# Whether or not to add -lc for building shared libraries. |
|
build_libtool_need_lc=$archive_cmds_need_lc |
|
|
|
# Whether or not to disallow shared libs when runtime libs are static. |
|
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes |
|
|
|
# Compiler flag to allow reflexive dlopens. |
|
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec |
|
|
|
# Compiler flag to generate shared objects directly from archives. |
|
whole_archive_flag_spec=$lt_whole_archive_flag_spec |
|
|
|
# Create an old-style archive from a shared archive. |
|
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds |
|
|
|
# Create a temporary old-style archive to link instead of a shared archive. |
|
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds |
|
|
|
# Commands used to build a shared archive. |
|
archive_cmds=$lt_archive_cmds |
|
archive_expsym_cmds=$lt_archive_expsym_cmds |
|
|
|
# Commands used to build a loadable module if different from building |
|
# a shared archive. |
|
module_cmds=$lt_module_cmds |
|
module_expsym_cmds=$lt_module_expsym_cmds |
|
|
|
# Whether we are building with GNU ld or not. |
|
with_gnu_ld=$lt_with_gnu_ld |
|
|
|
# Flag that allows shared libraries with undefined symbols to be built. |
|
allow_undefined_flag=$lt_allow_undefined_flag |
|
|
|
# Flag that enforces no undefined symbols. |
|
no_undefined_flag=$lt_no_undefined_flag |
|
|
|
# Flag to hardcode \$libdir into a binary during linking. |
|
# This must work even if \$libdir does not exist |
|
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
|
|
|
# If ld is used when linking,flag to hardcode \$libdir into a binary |
|
# during linking. This must work even if \$libdir does not exist. |
|
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld |
|
|
|
# Whether we need a single "-rpath" flag with a separated argument. |
|
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
|
|
|
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
|
# DIR into the resulting binary. |
|
hardcode_direct=$hardcode_direct |
|
|
|
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
|
# into the resulting binary. |
|
hardcode_minus_L=$hardcode_minus_L |
|
|
|
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
|
# into the resulting binary. |
|
hardcode_shlibpath_var=$hardcode_shlibpath_var |
|
|
|
# Set to "yes" if building a shared library automatically hardcodes DIR |
|
# into the library and all subsequent libraries and executables linked |
|
# against it. |
|
hardcode_automatic=$hardcode_automatic |
|
|
|
# Set to yes if linker adds runtime paths of dependent libraries |
|
# to runtime path list. |
|
inherit_rpath=$inherit_rpath |
|
|
|
# Whether libtool must link a program against all its dependency libraries. |
|
link_all_deplibs=$link_all_deplibs |
|
|
|
# Fix the shell variable \$srcfile for the compiler. |
|
fix_srcfile_path=$lt_fix_srcfile_path |
|
|
|
# Set to "yes" if exported symbols are required. |
|
always_export_symbols=$always_export_symbols |
|
|
|
# The commands to list exported symbols. |
|
export_symbols_cmds=$lt_export_symbols_cmds |
|
|
|
# Symbols that should not be listed in the preloaded symbols. |
|
exclude_expsyms=$lt_exclude_expsyms |
|
|
|
# Symbols that must always be exported. |
|
include_expsyms=$lt_include_expsyms |
|
|
|
# How to hardcode a shared library path into an executable. |
|
hardcode_action=$hardcode_action |
|
|
|
# ### END LIBTOOL CONFIG |
|
|
|
# The HP-UX ksh and POSIX shell print the target directory to stdout |
|
# if CDPATH is set. |
|
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
|
|
_LT_EOF |
|
|
|
case $host_os in |
|
aix3*) |
|
cat <<\_LT_EOF >> "$cfgfile" |
|
# AIX sometimes has problems with the GCC collect2 program. For some |
|
# reason, if we set the COLLECT_NAMES environment variable, the problems |
|
# vanish in a puff of smoke. |
|
if test "X${COLLECT_NAMES+set}" != Xset; then |
|
COLLECT_NAMES= |
|
export COLLECT_NAMES |
|
fi |
|
_LT_EOF |
|
;; |
|
esac |
esac |
|
|
|
done # for ac_tag |
|
|
ltmain="$ac_aux_dir/ltmain.sh" |
|
|
|
|
|
# We use sed instead of cat because bash on DJGPP gets confused if |
|
# if finds mixed CR/LF and LF-only lines. Since sed operates in |
|
# text mode, it properly converts lines to CR/LF. This bash problem |
|
# is reportedly fixed, but why not run on old versions too? |
|
sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) |
|
|
|
mv -f "$cfgfile" "$ofile" || |
|
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
|
chmod +x "$ofile" |
|
|
|
;; |
|
esac |
|
done |
|
_ACEOF |
|
|
|
cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
|
{ (exit 0); exit 0; } |
{ (exit 0); exit 0; } |
_ACEOF |
_ACEOF |