diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2004-12-08 23:14:42 (GMT) |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2004-12-08 23:14:42 (GMT) |
commit | f86b400fa53a0b1edfa8999415aab181ea0dc4f8 (patch) | |
tree | 65f91f29177bee63710db8adbb98900e538af94c | |
parent | e71d2c2b71d20ba3110030b4c6f3de1d9e827313 (diff) | |
download | monitoring-plugins-f86b400fa53a0b1edfa8999415aab181ea0dc4f8.tar.gz |
Removed redundant check and make export LD_LIBRARY_PATH more sh friendly
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1014 f882894a-f735-0410-b71e-b25c423dba1c
-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 | ||