summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorunknown <gluh@gluh.mysql.r18.ru>2003-12-10 17:53:55 +0400
committerunknown <gluh@gluh.mysql.r18.ru>2003-12-10 17:53:55 +0400
commit635e99a90c9956acb27ae8c0606efda57bc377e1 (patch)
treefe0e6de794fd1798df38cb6a5354aff2a8d00725 /acinclude.m4
parentfaca78c5f0f7d957265d7a5eb0af4a39d011df63 (diff)
downloadmariadb-git-635e99a90c9956acb27ae8c0606efda57bc377e1.tar.gz
Fix for bug# 1142 ./configure - error in file causes failure of compile (SSL option needed)
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 146f1d18afb..75fb8320709 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -745,7 +745,7 @@ AC_DEFUN(MYSQL_FIND_OPENSSL, [
for d in /usr/ssl/lib /usr/local/ssl/lib /usr/lib/openssl \
/usr/lib /usr/lib64 /opt/ssl/lib /opt/openssl/lib /usr/local/lib/ ; do
- if test -f $d/libssl.a || test -f $d/libssl.dylib ; then
+ if test -f $d/libssl.a || test -f $d/libssl.so || test -f $d/libssl.dylib ; then
OPENSSL_LIB=$d
fi
done
@@ -757,7 +757,7 @@ AC_DEFUN(MYSQL_FIND_OPENSSL, [
if test -f $incs/openssl/ssl.h ; then
OPENSSL_INCLUDE=-I$incs
fi
- if test -f $libs/libssl.a || test -f $d/libssl.dylib ; then
+ if test -f $libs/libssl.a || test -f $libs/libssl.so || test -f $libs/libssl.dylib ; then
OPENSSL_LIB=$libs
fi
;;