summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2004-02-12 09:27:21 -0800
committerTim Rice <tim@multitalents.net>2004-02-12 09:27:21 -0800
commit3d5352e1561174adca1df4336358d1847190d107 (patch)
tree9ac74e428fb5d61d49b5621a89b3b3f58c4781bf
parent9ad7e0e805157ad7374fe91dc20e6d0b2cc9ebf1 (diff)
[configure.ac] Make sure -lcrypto is before -lsocket for sco3. ok mouring@
-rw-r--r--ChangeLog4
-rw-r--r--configure.ac16
2 files changed, 11 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index ae91e19c6..bee62a3de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
620040211 820040211
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
3AC_INIT 3AC_INIT
4AC_CONFIG_SRCDIR([ssh.c]) 4AC_CONFIG_SRCDIR([ssh.c])
@@ -1021,12 +1021,6 @@ if test "x$PAM_MSG" = "xyes" ; then
1021 ) 1021 )
1022fi 1022fi
1023 1023
1024# Some systems want crypt() from libcrypt, *not* the version in OpenSSL,
1025# because the system crypt() is more featureful.
1026if test "x$check_for_libcrypt_before" = "x1"; then
1027 AC_CHECK_LIB(crypt, crypt)
1028fi
1029
1030# Search for OpenSSL 1024# Search for OpenSSL
1031saved_CPPFLAGS="$CPPFLAGS" 1025saved_CPPFLAGS="$CPPFLAGS"
1032saved_LDFLAGS="$LDFLAGS" 1026saved_LDFLAGS="$LDFLAGS"
@@ -1055,7 +1049,7 @@ AC_ARG_WITH(ssl-dir,
1055 fi 1049 fi
1056 ] 1050 ]
1057) 1051)
1058LIBS="$LIBS -lcrypto" 1052LIBS="-lcrypto $LIBS"
1059AC_TRY_LINK_FUNC(RAND_add, AC_DEFINE(HAVE_OPENSSL), 1053AC_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.
1156if test "x$check_for_libcrypt_before" = "x1"; then
1157 AC_CHECK_LIB(crypt, crypt)
1158fi
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.
1162if test "x$check_for_libcrypt_later" = "x1"; then 1162if test "x$check_for_libcrypt_later" = "x1"; then