[icinga-checkins] icinga.org: icinga-nrpe/mbecker/fixes: Fix SSL Lib detection on AIX

git at icinga.org git at icinga.org
Thu Sep 2 17:42:46 CEST 2010


Module: icinga-nrpe
Branch: mbecker/fixes
Commit: cce636a56e75f80f76b646437217ca87fe3a580d
URL:    https://git.icinga.org/?p=icinga-nrpe.git;a=commit;h=cce636a56e75f80f76b646437217ca87fe3a580d

Author: Mike Becker <mike.becker at redpeppersworld.de>
Date:   Thu Sep  2 17:42:12 2010 +0200

Fix SSL Lib detection on AIX
fixes #646

---

 configure    |    2 +-
 configure.in |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index ac18abb..8e93eb4 100755
--- a/configure
+++ b/configure
@@ -4830,7 +4830,7 @@ $as_echo_n "checking for SSL libraries... " >&6; }
 		found_ssl=no
 		for dir in $ssl_lib_dir $ssl_dir /usr/lib64 /usr/lib /usr/local/lib /usr/lib/ssl /usr/ssl/lib /usr/openssl/lib /usr/pkg/lib  /usr/freeware/lib/openssl; do
 			ssllibdir="$dir"
-			if test -f "$dir/libssl.so"; then
+			if test -f "$dir/libssl.so" || test -f "$dir/libssl.a" ; then
 				found_ssl=yes
 			        break
 			fi
diff --git a/configure.in b/configure.in
index 63d480f..b3c4901 100644
--- a/configure.in
+++ b/configure.in
@@ -287,7 +287,7 @@ if test x$check_for_ssl = xyes; then
 		found_ssl=no
 		for dir in $ssl_lib_dir $ssl_dir /usr/lib64 /usr/lib /usr/local/lib /usr/lib/ssl /usr/ssl/lib /usr/openssl/lib /usr/pkg/lib  /usr/freeware/lib/openssl; do
 			ssllibdir="$dir"
-			if test -f "$dir/libssl.so"; then
+			if test -f "$dir/libssl.so" || test -f "$dir/libssl.a" ; then
 				found_ssl=yes
 			        break
 			fi





More information about the icinga-checkins mailing list