=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sudo/Attic/configure,v retrieving revision 1.4 retrieving revision 1.5 diff -c -r1.4 -r1.5 *** src/usr.bin/sudo/Attic/configure 2000/01/24 04:22:52 1.4 --- src/usr.bin/sudo/Attic/configure 2000/01/28 01:10:19 1.5 *************** *** 7630,7635 **** --- 7630,7673 ---- AUTH_OBJS="${AUTH_OBJS} kerb5.o" fi + if test "$with_pam" = "yes"; then + echo $ac_n "checking for -ldl""... $ac_c" 1>&6 + echo "configure:7636: checking for -ldl" >&5 + if eval "test \"`echo '$''{'ac_cv_lib_dl'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + ac_save_LIBS="$LIBS" + LIBS="-ldl $LIBS" + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then + rm -rf conftest* + ac_cv_lib_dl=yes + else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + ac_cv_lib_dl=no + fi + rm -f conftest* + LIBS="$ac_save_LIBS" + + fi + echo "$ac_t""$ac_cv_lib_dl" 1>&6 + if test "$ac_cv_lib_dl" = yes; then + SUDO_LIBS="${SUDO_LIBS} -ldl -lpam" + else + SUDO_LIBS="${SUDO_LIBS} -lpam" + fi + + fi + if test "$with_kerb4" = "yes"; then cat >> confdefs.h <<\EOF #define HAVE_KERB4 1 *************** *** 7658,7678 **** fi echo $ac_n "checking for -ldes""... $ac_c" 1>&6 ! echo "configure:7662: checking for -ldes" >&5 if eval "test \"`echo '$''{'ac_cv_lib_des'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-ldes $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_cv_lib_des=yes else --- 7696,7716 ---- fi echo $ac_n "checking for -ldes""... $ac_c" 1>&6 ! echo "configure:7700: checking for -ldes" >&5 if eval "test \"`echo '$''{'ac_cv_lib_des'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-ldes $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* ac_cv_lib_des=yes else *************** *** 7695,7704 **** AUTH_OBJS="${AUTH_OBJS} kerb4.o" fi - if test "$with_pam" = "yes"; then - SUDO_LIBS="${SUDO_LIBS} -ldl -lpam" - fi - if test "$with_AFS" = "yes"; then # looks like the "standard" place for AFS libs is /usr/afsws/lib --- 7733,7738 ---- *************** *** 7795,7801 **** fi echo $ac_n "checking for log file location""... $ac_c" 1>&6 ! echo "configure:7799: checking for log file location" >&5 if test -n "$with_logpath"; then echo "$ac_t""$with_logpath" 1>&6 cat >> confdefs.h <&6 ! echo "configure:7833: checking for log file location" >&5 if test -n "$with_logpath"; then echo "$ac_t""$with_logpath" 1>&6 cat >> confdefs.h <&6 ! echo "configure:7829: checking for timestamp file location" >&5 if test -n "$with_timedir"; then echo "$ac_t""$with_timedir" 1>&6 cat >> confdefs.h <&6 ! echo "configure:7863: checking for timestamp file location" >&5 if test -n "$with_timedir"; then echo "$ac_t""$with_timedir" 1>&6 cat >> confdefs.h <