diff options
author | Damien Miller <djm@mindrot.org> | 2000-02-03 13:58:51 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-02-03 13:58:51 +1100 |
commit | 0c0e4bfe3c126e2a172db7b978f7e6360c6580d5 (patch) | |
tree | e0cf87b0fe5cd08c8a111f7aa54c7b0da582896c | |
parent | 1852246d30592c4b511db0755a806f90a4842852 (diff) |
- Add --with-ssl-dir option
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | INSTALL | 3 | ||||
-rw-r--r-- | configure.in | 13 |
3 files changed, 14 insertions, 3 deletions
@@ -1,5 +1,6 @@ | |||
1 | 20000203 | 1 | 20000203 |
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 | ||
4 | 20000202 | 5 | 20000202 |
5 | - Fix lastlog code for directory based lastlogs. Fix from Josh Durham | 6 | - Fix lastlog code for directory based lastlogs. Fix from Josh Durham |
@@ -155,6 +155,9 @@ IPv4 addresses. On Linux/glibc-2.1.2 this causes long delays in name | |||
155 | resolution. If this option is specified, you can still attempt to | 155 | resolution. If this option is specified, you can still attempt to |
156 | connect to IPv6 addresses using the command line option '-6'. | 156 | connect to IPv6 addresses using the command line option '-6'. |
157 | 157 | ||
158 | --with-ssl-dir=DIR allows you to specify where your OpenSSL libraries | ||
159 | are installed. | ||
160 | |||
158 | If you need to pass special options to the compiler or linker, you | 161 | If you need to pass special options to the compiler or linker, you |
159 | can specify these as enviornment variables before running ./configure. | 162 | can specify these as enviornment variables before running ./configure. |
160 | For example: | 163 | For 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") |
47 | fi | 47 | fi |
48 | 48 | ||
49 | dnl Checks for compiler characteristics | ||
50 | if test "$GCC" = "yes"; then CFLAGS="$CFLAGS -Wall"; fi | 49 | if test "$GCC" = "yes"; then CFLAGS="$CFLAGS -Wall"; fi |
51 | 50 | ||
52 | AC_C_INLINE | 51 | AC_C_INLINE |
53 | 52 | ||
54 | dnl Check for OpenSSL/SSLeay directories. | 53 | AC_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 | |||
55 | AC_MSG_CHECKING([for OpenSSL/SSLeay directory]) | 62 | AC_MSG_CHECKING([for OpenSSL/SSLeay directory]) |
56 | for ssldir in $prefix /usr /usr/local/openssl /usr/lib/openssl /usr/local/ssl /usr/lib/ssl /usr/local $prefix /usr/pkg ; do | 63 | for 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" |