summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--config.h.in3
-rw-r--r--configure.in5
3 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8a954adcb..04a5f7d88 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,9 @@
6 - Make distclean now removed configure script 6 - Make distclean now removed configure script
7 - Improved PAM logging 7 - Improved PAM logging
8 - Added some debug() calls for PAM 8 - Added some debug() calls for PAM
9 - Removed redundant subdirectories
10 - Integrated part of a patch from Dan Brosemer <odin@linuxfreak.com> for
11 building on Debian.
9 12
1019991028 1319991028
11 - Further PAM enhancements. 14 - Further PAM enhancements.
diff --git a/config.h.in b/config.h.in
index 44a5686d0..f106c04d6 100644
--- a/config.h.in
+++ b/config.h.in
@@ -126,6 +126,9 @@
126/* Define if you have the dl library (-ldl). */ 126/* Define if you have the dl library (-ldl). */
127#undef HAVE_LIBDL 127#undef HAVE_LIBDL
128 128
129/* Define if you have the nsl library (-lnsl). */
130#undef HAVE_LIBNSL
131
129/* Define if you have the pam library (-lpam). */ 132/* Define if you have the pam library (-lpam). */
130#undef HAVE_LIBPAM 133#undef HAVE_LIBPAM
131 134
diff --git a/configure.in b/configure.in
index 0fac461c8..b6038523b 100644
--- a/configure.in
+++ b/configure.in
@@ -14,8 +14,10 @@ dnl Replace `main' with a function in -lutil:
14AC_CHECK_LIB(util, logout, ,AC_MSG_ERROR([*** -lutil missing - this is part of libc. ***])) 14AC_CHECK_LIB(util, logout, ,AC_MSG_ERROR([*** -lutil missing - this is part of libc. ***]))
15dnl Replace `main' with a function in -lz: 15dnl Replace `main' with a function in -lz:
16AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first ***])) 16AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first ***]))
17dnl check for nsl
18AC_CHECK_LIB(nsl, yp_match, , )
17dnl check for pwdb 19dnl check for pwdb
18AC_CHECK_LIB(pwdb, pwdb_new, ,AC_MSG_ERROR([*** libpwdb missing - please install first ***])) 20AC_CHECK_LIB(pwdb, pwdb_new, , )
19dnl check for dl 21dnl check for dl
20AC_CHECK_LIB(dl, dlopen, ,AC_MSG_ERROR([*** libdl missing - please install first ***])) 22AC_CHECK_LIB(dl, dlopen, ,AC_MSG_ERROR([*** libdl missing - please install first ***]))
21dnl check for pam 23dnl check for pam
@@ -23,6 +25,7 @@ AC_CHECK_LIB(pam, pam_authenticate, ,AC_MSG_ERROR([*** PAM missing - please inst
23 25
24dnl Check for stuff in path. 26dnl Check for stuff in path.
25AC_CHECK_PROG(AR, ar, ar) 27AC_CHECK_PROG(AR, ar, ar)
28AC_CHECK_PROG(RANLIB, ranlib, ranlib)
26 29
27dnl Check for ssl headers 30dnl Check for ssl headers
28AC_CHECK_HEADER(openssl/bn.h, [AC_DEFINE(HAVE_OPENSSL)], [AC_CHECK_HEADER(ssl/bn.h, [AC_DEFINE(HAVE_SSL)], [AC_MSG_ERROR([*** ssl library missing - please install first ***])])]) 31AC_CHECK_HEADER(openssl/bn.h, [AC_DEFINE(HAVE_OPENSSL)], [AC_CHECK_HEADER(ssl/bn.h, [AC_DEFINE(HAVE_SSL)], [AC_MSG_ERROR([*** ssl library missing - please install first ***])])])