diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | config.h.in | 3 | ||||
-rw-r--r-- | configure.in | 5 |
3 files changed, 10 insertions, 1 deletions
@@ -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 | ||
10 | 19991028 | 13 | 19991028 |
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: | |||
14 | AC_CHECK_LIB(util, logout, ,AC_MSG_ERROR([*** -lutil missing - this is part of libc. ***])) | 14 | AC_CHECK_LIB(util, logout, ,AC_MSG_ERROR([*** -lutil missing - this is part of libc. ***])) |
15 | dnl Replace `main' with a function in -lz: | 15 | dnl Replace `main' with a function in -lz: |
16 | AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first ***])) | 16 | AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first ***])) |
17 | dnl check for nsl | ||
18 | AC_CHECK_LIB(nsl, yp_match, , ) | ||
17 | dnl check for pwdb | 19 | dnl check for pwdb |
18 | AC_CHECK_LIB(pwdb, pwdb_new, ,AC_MSG_ERROR([*** libpwdb missing - please install first ***])) | 20 | AC_CHECK_LIB(pwdb, pwdb_new, , ) |
19 | dnl check for dl | 21 | dnl check for dl |
20 | AC_CHECK_LIB(dl, dlopen, ,AC_MSG_ERROR([*** libdl missing - please install first ***])) | 22 | AC_CHECK_LIB(dl, dlopen, ,AC_MSG_ERROR([*** libdl missing - please install first ***])) |
21 | dnl check for pam | 23 | dnl check for pam |
@@ -23,6 +25,7 @@ AC_CHECK_LIB(pam, pam_authenticate, ,AC_MSG_ERROR([*** PAM missing - please inst | |||
23 | 25 | ||
24 | dnl Check for stuff in path. | 26 | dnl Check for stuff in path. |
25 | AC_CHECK_PROG(AR, ar, ar) | 27 | AC_CHECK_PROG(AR, ar, ar) |
28 | AC_CHECK_PROG(RANLIB, ranlib, ranlib) | ||
26 | 29 | ||
27 | dnl Check for ssl headers | 30 | dnl Check for ssl headers |
28 | AC_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 ***])])]) | 31 | AC_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 ***])])]) |