diff options
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 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" |