This commit is contained in:
Todd C. Miller
1999-08-09 14:08:19 +00:00
parent 7bb2d52e95
commit d2dcea30cb

14
configure vendored
View File

@@ -6617,28 +6617,28 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
SUDO_LIBS="${SUDO_LIBS} -lcrypt_d"; LIBS="${LIBS} -lcrypt_d" SUDO_LIBS="${SUDO_LIBS} -lcrypt_d"; LIBS="${LIBS} -lcrypt_d"
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo $ac_n "checking for ufc in -lcrypt""... $ac_c" 1>&6 echo $ac_n "checking for crypt in -lufc""... $ac_c" 1>&6
echo "configure:6622: checking for ufc in -lcrypt" >&5 echo "configure:6622: checking for crypt in -lufc" >&5
if test -n ""; then if test -n ""; then
ac_lib_var=`echo crypt'_'ufc | sed 'y% ./+-%___p_%'` ac_lib_var=`echo ufc'_'crypt | sed 'y% ./+-%___p_%'`
else else
ac_lib_var=`echo crypt'_'ufc | sed 'y%./+-%__p_%'` ac_lib_var=`echo ufc'_'crypt | sed 'y%./+-%__p_%'`
fi fi
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lcrypt $LIBS" LIBS="-lufc $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 6634 "configure" #line 6634 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */ builtin and then its argument prototype would still apply. */
char ufc(); char crypt();
int main() { int main() {
ufc() crypt()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:6645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:6645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then