summaryrefslogtreecommitdiff
path: root/usr.bin/sudo/configure.in
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-01-28 01:10:21 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-01-28 01:10:21 +0000
commitd4cab92e314f80d174f0d624e9a0aa72c407e710 (patch)
tree68cc1ae876796d15a78a27db0b5450337aacdff8 /usr.bin/sudo/configure.in
parent79540e454b03060b6768f64289a7e1e1f5ad03dc (diff)
1.6.2p1
Diffstat (limited to 'usr.bin/sudo/configure.in')
-rw-r--r--usr.bin/sudo/configure.in16
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/sudo/configure.in b/usr.bin/sudo/configure.in
index 86a446617a1..aab9a996685 100644
--- a/usr.bin/sudo/configure.in
+++ b/usr.bin/sudo/configure.in
@@ -1,6 +1,6 @@
dnl
dnl Process this file with GNU autoconf to produce a configure script.
-dnl $Sudo: configure.in,v 1.299 2000/01/19 19:07:24 millert Exp $
+dnl $Sudo: configure.in,v 1.300 2000/01/27 20:01:37 millert Exp $
dnl
dnl Copyright (c) 1994-1996,1998-1999 Todd C. Miller <Todd.Miller@courtesan.com>
dnl
@@ -1433,6 +1433,13 @@ if test "$with_kerb5" = "yes"; then
fi
dnl
+dnl PAM libs
+dnl
+if test "$with_pam" = "yes"; then
+ AC_HAVE_LIBRARY(dl, SUDO_LIBS="${SUDO_LIBS} -ldl -lpam", SUDO_LIBS="${SUDO_LIBS} -lpam")
+fi
+
+dnl
dnl Find kerberos 4 includes and libs or complain
dnl
if test "$with_kerb4" = "yes"; then
@@ -1464,13 +1471,6 @@ if test "$with_kerb4" = "yes"; then
fi
dnl
-dnl PAM libs
-dnl
-if test "$with_pam" = "yes"; then
- SUDO_LIBS="${SUDO_LIBS} -ldl -lpam"
-fi
-
-dnl
dnl extra AFS libs and includes
dnl
if test "$with_AFS" = "yes"; then