From 0c0e4bfe3c126e2a172db7b978f7e6360c6580d5 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Thu, 3 Feb 2000 13:58:51 +1100 Subject: - Add --with-ssl-dir option --- configure.in | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'configure.in') 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 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" -- cgit v1.2.3