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 /configure.in | |
parent | 1852246d30592c4b511db0755a806f90a4842852 (diff) |
- Add --with-ssl-dir option
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/configure.in b/configure.in index 2ff4aba5..1176bfc4 100644 --- a/configure.in +++ b/configure.in @@ -46,14 +46,21 @@ if test ! -z "$rsh_path" ; then AC_DEFINE_UNQUOTED(RSH_PATH, "$rsh_path") fi -dnl Checks for compiler characteristics if test "$GCC" = "yes"; then CFLAGS="$CFLAGS -Wall"; fi AC_C_INLINE -dnl Check for OpenSSL/SSLeay directories. +AC_ARG_WITH(ssl-dir, + [ --with-ssl-dir=PATH Specify path to OpenSSL installation ], + [ + if test "x$withval" != "$xno" ; then + ssldir=$withval + fi + ] +) + AC_MSG_CHECKING([for OpenSSL/SSLeay directory]) -for ssldir in $prefix /usr /usr/local/openssl /usr/lib/openssl /usr/local/ssl /usr/lib/ssl /usr/local $prefix /usr/pkg ; do +for ssldir in $ssldir $prefix /usr /usr/local/openssl /usr/lib/openssl /usr/local/ssl /usr/lib/ssl /usr/local $prefix /usr/pkg ; do if test -f "$ssldir/include/openssl/crypto.h"; then AC_DEFINE(HAVE_OPENSSL) GOT_SSL="yes" |