summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--INSTALL3
-rw-r--r--configure.in13
3 files changed, 14 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 5bacbcba8..51034cf88 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
120000203 120000203
2 - Fixed SEGVs in authloop, fix from vbzoli@hbrt.hu 2 - Fixed SEGVs in authloop, fix from vbzoli@hbrt.hu
3 - Add --with-ssl-dir option
3 4
420000202 520000202
5 - Fix lastlog code for directory based lastlogs. Fix from Josh Durham 6 - Fix lastlog code for directory based lastlogs. Fix from Josh Durham
diff --git a/INSTALL b/INSTALL
index 93fc2f2fb..15ddffc17 100644
--- a/INSTALL
+++ b/INSTALL
@@ -155,6 +155,9 @@ IPv4 addresses. On Linux/glibc-2.1.2 this causes long delays in name
155resolution. If this option is specified, you can still attempt to 155resolution. If this option is specified, you can still attempt to
156connect to IPv6 addresses using the command line option '-6'. 156connect to IPv6 addresses using the command line option '-6'.
157 157
158--with-ssl-dir=DIR allows you to specify where your OpenSSL libraries
159are installed.
160
158If you need to pass special options to the compiler or linker, you 161If you need to pass special options to the compiler or linker, you
159can specify these as enviornment variables before running ./configure. 162can specify these as enviornment variables before running ./configure.
160For example: 163For example:
diff --git a/configure.in b/configure.in
index 2ff4aba59..1176bfc48 100644
--- a/configure.in
+++ b/configure.in
@@ -46,14 +46,21 @@ if test ! -z "$rsh_path" ; then
46 AC_DEFINE_UNQUOTED(RSH_PATH, "$rsh_path") 46 AC_DEFINE_UNQUOTED(RSH_PATH, "$rsh_path")
47fi 47fi
48 48
49dnl Checks for compiler characteristics
50if test "$GCC" = "yes"; then CFLAGS="$CFLAGS -Wall"; fi 49if test "$GCC" = "yes"; then CFLAGS="$CFLAGS -Wall"; fi
51 50
52AC_C_INLINE 51AC_C_INLINE
53 52
54dnl Check for OpenSSL/SSLeay directories. 53AC_ARG_WITH(ssl-dir,
54 [ --with-ssl-dir=PATH Specify path to OpenSSL installation ],
55 [
56 if test "x$withval" != "$xno" ; then
57 ssldir=$withval
58 fi
59 ]
60)
61
55AC_MSG_CHECKING([for OpenSSL/SSLeay directory]) 62AC_MSG_CHECKING([for OpenSSL/SSLeay directory])
56for ssldir in $prefix /usr /usr/local/openssl /usr/lib/openssl /usr/local/ssl /usr/lib/ssl /usr/local $prefix /usr/pkg ; do 63for ssldir in $ssldir $prefix /usr /usr/local/openssl /usr/lib/openssl /usr/local/ssl /usr/lib/ssl /usr/local $prefix /usr/pkg ; do
57 if test -f "$ssldir/include/openssl/crypto.h"; then 64 if test -f "$ssldir/include/openssl/crypto.h"; then
58 AC_DEFINE(HAVE_OPENSSL) 65 AC_DEFINE(HAVE_OPENSSL)
59 GOT_SSL="yes" 66 GOT_SSL="yes"