diff options
-rw-r--r-- | configure.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.in b/configure.in index 65dc698..59d61c8 100644 --- a/configure.in +++ b/configure.in | |||
@@ -385,18 +385,18 @@ else | |||
385 | 385 | ||
386 | fi | 386 | fi |
387 | 387 | ||
388 | if test X"$OPT_OPENSSL" != "Xno" && | 388 | if test "$OPENSSL_ENABLED" != "1"; then |
389 | test "$OPENSSL_ENABLED" != "1"; then | ||
390 | AC_MSG_WARN([OpenSSL libs and/or directories were not found where specified!]) | 389 | AC_MSG_WARN([OpenSSL libs and/or directories were not found where specified!]) |
391 | with_openssl="no" | 390 | with_openssl="no" |
392 | elif test "$OPENSSL_ENABLED" = "1"; then | 391 | else |
393 | check_tcp_ssl="check_simap check_spop check_jabber check_nntps" | 392 | check_tcp_ssl="check_simap check_spop check_jabber check_nntps" |
394 | AC_SUBST(check_tcp_ssl) | 393 | AC_SUBST(check_tcp_ssl) |
395 | AC_DEFINE(HAVE_SSL,1,[Define if SSL libraries are found]) | 394 | AC_DEFINE(HAVE_SSL,1,[Define if SSL libraries are found]) |
396 | with_openssl="yes" | 395 | with_openssl="yes" |
397 | 396 | ||
398 | # Needed for subsequent compiled programs | 397 | # Needed for subsequent compiled programs |
399 | export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$OPENSSL/lib" | 398 | LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$OPENSSL/lib" |
399 | export LD_LIBRARY_PATH | ||
400 | fi | 400 | fi |
401 | fi | 401 | fi |
402 | 402 | ||