summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2000-11-12 12:46:14 +0000
committerRichard Sharpe <sharpe@samba.org>2000-11-12 12:46:14 +0000
commit170505ed2bad03b80d706155a1898243f577247c (patch)
tree9c6e9cf0180905b036c65de6704c615ec1c7780a
parenta14463b0eccf97658bdcd61e8f8e5a9da6884f03 (diff)
downloadsamba-170505ed2bad03b80d706155a1898243f577247c.tar.gz
samba-170505ed2bad03b80d706155a1898243f577247c.tar.xz
samba-170505ed2bad03b80d706155a1898243f577247c.zip
Back out that last change to configure because it was wrong, and because
it might not be the best one ...
-rw-r--r--source/configure.in19
1 files changed, 1 insertions, 18 deletions
diff --git a/source/configure.in b/source/configure.in
index 6f769822a3e..fbadde5689f 100644
--- a/source/configure.in
+++ b/source/configure.in
@@ -1279,24 +1279,7 @@ AC_ARG_WITH(afs,
AC_MSG_RESULT(no)
;;
esac ],
- [OLIBS="$LIBS"
- LIBS="$LIBS -lpam"
- AC_TRY_LINK(
- [#include <security/pam_appl.h>],
- [int pam_error;struct pam_handle *pamh;struct pam_conv PAM_conversation;
- char *user; pam_error = pam_start("test", user, &PAM_conversation, &pamh);
- ],
- ac_cv_header_security_pam_appl_h=yes,
- ac_cv_header_security_pam_appl_h=no,
- )
- LIBS="$OLIBS"
- if test $ac_cv_header_security_pam_appl_h = yes; then
- AC_MSG_RESULT(yes)
- AC_DEFINE(WITH_PAM)
- LIBS="$LIBS -lpam"
- else
- AC_MSG_RESULT(no)
- fi]
+ AC_MSG_RESULT(no)
)