summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7bd302b)
raw | patch | inline | side by side (parent: 7bd302b)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Mon, 20 Dec 2004 21:26:41 +0000 (21:26 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Mon, 20 Dec 2004 21:26:41 +0000 (21:26 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1040 f882894a-f735-0410-b71e-b25c423dba1c
configure.in | patch | blob | history |
diff --git a/configure.in b/configure.in
index 21d28de5310820890d63766bd61591631f569ddf..8c196352ecd08026c618fc8995b606043a2ec4e7 100644 (file)
--- a/configure.in
+++ b/configure.in
dnl Check usual areas for openssl
if test "$PKGTEST" = "yes"; then
AC_PATH_PROG(OPENSSL,openssl)
- # Don't think 2 tests below are necessary because /usr is always included
- # if test "$OPENSSL" = "/usr/bin/openssl"; then
- # OPENSSL=/usr
- #elif test "$OPENSSL" = "/usr/sbin/openssl"; then
- # OPENSSL=/usr
- if test "$OPENSSL" = "/opt/bin/openssl"; then
+ dnl The /usr checks need to be done so that the right area is include'd
+ if test "$OPENSSL" = "/usr/bin/openssl"; then
+ OPENSSL=/usr
+ elif test "$OPENSSL" = "/usr/sbin/openssl"; then
+ OPENSSL=/usr
+ elif test "$OPENSSL" = "/opt/bin/openssl"; then
OPENSSL=/opt
elif test "$OPENSSL" = "/opt/openssl/bin/openssl"; then
OPENSSL=/opt/openssl
fi
if test "$OPENSSL_ENABLED" != "1"; then
- AC_MSG_WARN([OpenSSL libs and/or directories were not found where specified!])
+ if test "$PKGTEST" ="yes"; then
+ AC_MSG_WARN([OpenSSL libs could not be found])
+ else
+ AC_MSG_WARN([OpenSSL libs and/or directories were not found where specified!])
+ fi
with_openssl="no"
else
check_tcp_ssl="check_simap check_spop check_jabber check_nntps"