diff options
author | Tim Rice <tim@multitalents.net> | 2004-02-12 09:27:21 -0800 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2004-02-12 09:27:21 -0800 |
commit | 3d5352e1561174adca1df4336358d1847190d107 (patch) | |
tree | 9ac74e428fb5d61d49b5621a89b3b3f58c4781bf | |
parent | 9ad7e0e805157ad7374fe91dc20e6d0b2cc9ebf1 (diff) |
[configure.ac] Make sure -lcrypto is before -lsocket for sco3. ok mouring@
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.ac | 16 |
2 files changed, 11 insertions, 9 deletions
@@ -2,6 +2,8 @@ | |||
2 | - (tim) [Makefile.in regress/sftp-badcmds.sh regress/test-exec.sh] | 2 | - (tim) [Makefile.in regress/sftp-badcmds.sh regress/test-exec.sh] |
3 | Portablity fixes. Data sftp transfers needs to be world readable. Some | 3 | Portablity fixes. Data sftp transfers needs to be world readable. Some |
4 | older shells hang on while loops when doing sh -n some_script. OK dtucker@ | 4 | older shells hang on while loops when doing sh -n some_script. OK dtucker@ |
5 | - (tim) [configure.ac] Make sure -lcrypto is before -lsocket for sco3. | ||
6 | ok mouring@ | ||
5 | 7 | ||
6 | 20040211 | 8 | 20040211 |
7 | - (dtucker) [auth-passwd.c auth-shadow.c] Only enable shadow expiry check | 9 | - (dtucker) [auth-passwd.c auth-shadow.c] Only enable shadow expiry check |
@@ -1850,4 +1852,4 @@ | |||
1850 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. | 1852 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. |
1851 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au | 1853 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au |
1852 | 1854 | ||
1853 | $Id: ChangeLog,v 1.3227 2004/02/12 15:17:10 tim Exp $ | 1855 | $Id: ChangeLog,v 1.3228 2004/02/12 17:27:21 tim Exp $ |
diff --git a/configure.ac b/configure.ac index 91a4c4eeb..6b1c3137f 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.197 2004/02/11 22:46:40 tim Exp $ | 1 | # $Id: configure.ac,v 1.198 2004/02/12 17:27:21 tim Exp $ |
2 | 2 | ||
3 | AC_INIT | 3 | AC_INIT |
4 | AC_CONFIG_SRCDIR([ssh.c]) | 4 | AC_CONFIG_SRCDIR([ssh.c]) |
@@ -1021,12 +1021,6 @@ if test "x$PAM_MSG" = "xyes" ; then | |||
1021 | ) | 1021 | ) |
1022 | fi | 1022 | fi |
1023 | 1023 | ||
1024 | # Some systems want crypt() from libcrypt, *not* the version in OpenSSL, | ||
1025 | # because the system crypt() is more featureful. | ||
1026 | if test "x$check_for_libcrypt_before" = "x1"; then | ||
1027 | AC_CHECK_LIB(crypt, crypt) | ||
1028 | fi | ||
1029 | |||
1030 | # Search for OpenSSL | 1024 | # Search for OpenSSL |
1031 | saved_CPPFLAGS="$CPPFLAGS" | 1025 | saved_CPPFLAGS="$CPPFLAGS" |
1032 | saved_LDFLAGS="$LDFLAGS" | 1026 | saved_LDFLAGS="$LDFLAGS" |
@@ -1055,7 +1049,7 @@ AC_ARG_WITH(ssl-dir, | |||
1055 | fi | 1049 | fi |
1056 | ] | 1050 | ] |
1057 | ) | 1051 | ) |
1058 | LIBS="$LIBS -lcrypto" | 1052 | LIBS="-lcrypto $LIBS" |
1059 | AC_TRY_LINK_FUNC(RAND_add, AC_DEFINE(HAVE_OPENSSL), | 1053 | AC_TRY_LINK_FUNC(RAND_add, AC_DEFINE(HAVE_OPENSSL), |
1060 | [ | 1054 | [ |
1061 | dnl Check default openssl install dir | 1055 | dnl Check default openssl install dir |
@@ -1157,6 +1151,12 @@ Also see contrib/findssl.sh for help identifying header/library mismatches.]) | |||
1157 | ] | 1151 | ] |
1158 | ) | 1152 | ) |
1159 | 1153 | ||
1154 | # Some systems want crypt() from libcrypt, *not* the version in OpenSSL, | ||
1155 | # because the system crypt() is more featureful. | ||
1156 | if test "x$check_for_libcrypt_before" = "x1"; then | ||
1157 | AC_CHECK_LIB(crypt, crypt) | ||
1158 | fi | ||
1159 | |||
1160 | # Some Linux systems (Slackware) need crypt() from libcrypt, *not* the | 1160 | # Some Linux systems (Slackware) need crypt() from libcrypt, *not* the |
1161 | # version in OpenSSL. | 1161 | # version in OpenSSL. |
1162 | if test "x$check_for_libcrypt_later" = "x1"; then | 1162 | if test "x$check_for_libcrypt_later" = "x1"; then |