diff options
author | Damien Miller <djm@mindrot.org> | 2000-01-06 12:03:12 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-01-06 12:03:12 +1100 |
commit | 1808f38e04dc386bd2caacffe0192d62c1a70286 (patch) | |
tree | cace20a20ba0837b347241ae23aa4f428245b9fc /configure.in | |
parent | 62ab38ab9e5bae5b516ff10ab62ef55a2592059a (diff) |
- Fixed annoying DES corruption problem. libcrypt has been
overriding symbols in libcrypto. Removed libcrypt and crypt.h
altogether (libcrypto includes its own crypt(1) replacement)
- Added platform-specific rules for Irix 6.x. Included warning that
they are untested.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/configure.in b/configure.in index 34c4dfaf3..7480349a2 100644 --- a/configure.in +++ b/configure.in | |||
@@ -61,8 +61,11 @@ case "$host" in | |||
61 | AC_DEFINE(USE_UTMPX) | 61 | AC_DEFINE(USE_UTMPX) |
62 | ;; | 62 | ;; |
63 | *-*-irix5*) | 63 | *-*-irix5*) |
64 | AC_DEFINE(CRYPT_H_BREAKS_BUILD) | 64 | no_libsocket=1 |
65 | # CFLAGS="$CFLAGS -shared" | 65 | no_libnsl=1 |
66 | ;; | ||
67 | *-*-irix6*) | ||
68 | AC_MSG_WARN([*** Irix 6.x is not tested *** ]) | ||
66 | no_libsocket=1 | 69 | no_libsocket=1 |
67 | no_libnsl=1 | 70 | no_libnsl=1 |
68 | ;; | 71 | ;; |
@@ -106,7 +109,6 @@ dnl Checks for libraries. | |||
106 | AC_CHECK_LIB(crypto, CRYPTO_lock, ,AC_MSG_ERROR([*** libcrypto missing - please install first ***])) | 109 | AC_CHECK_LIB(crypto, CRYPTO_lock, ,AC_MSG_ERROR([*** libcrypto missing - please install first ***])) |
107 | AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first ***])) | 110 | AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first ***])) |
108 | AC_CHECK_LIB(util, login, AC_DEFINE(HAVE_LIBUTIL_LOGIN) LIBS="$LIBS -lutil") | 111 | AC_CHECK_LIB(util, login, AC_DEFINE(HAVE_LIBUTIL_LOGIN) LIBS="$LIBS -lutil") |
109 | AC_CHECK_LIB(crypt, crypt, , ) | ||
110 | 112 | ||
111 | if test -z "$no_libsocket" ; then | 113 | if test -z "$no_libsocket" ; then |
112 | AC_CHECK_LIB(nsl, yp_match, , ) | 114 | AC_CHECK_LIB(nsl, yp_match, , ) |
@@ -116,7 +118,7 @@ if test -z "$no_libnsl" ; then | |||
116 | fi | 118 | fi |
117 | 119 | ||
118 | dnl Checks for header files. | 120 | dnl Checks for header files. |
119 | AC_CHECK_HEADERS(bstring.h crypt.h endian.h lastlog.h login.h maillock.h netdb.h netgroup.h paths.h poll.h pty.h shadow.h security/pam_appl.h sys/bsdtty.h sys/cdefs.h sys/poll.h sys/select.h sys/stropts.h sys/time.h sys/ttcompat.h util.h utmp.h utmpx.h) | 121 | AC_CHECK_HEADERS(bstring.h endian.h lastlog.h login.h maillock.h netdb.h netgroup.h paths.h poll.h pty.h shadow.h security/pam_appl.h sys/bsdtty.h sys/cdefs.h sys/poll.h sys/select.h sys/stropts.h sys/time.h sys/ttcompat.h util.h utmp.h utmpx.h) |
120 | 122 | ||
121 | dnl Checks for library functions. | 123 | dnl Checks for library functions. |
122 | AC_CHECK_FUNCS(arc4random getpagesize _getpty innetgr md5_crypt mkdtemp openpty setenv seteuid setlogin setproctitle setreuid snprintf strlcat strlcpy updwtmpx vsnprintf) | 124 | AC_CHECK_FUNCS(arc4random getpagesize _getpty innetgr md5_crypt mkdtemp openpty setenv seteuid setlogin setproctitle setreuid snprintf strlcat strlcpy updwtmpx vsnprintf) |