diff options
author | unknown <gluh@gluh.mysql.r18.ru> | 2003-09-01 15:36:53 +0500 |
---|---|---|
committer | unknown <gluh@gluh.mysql.r18.ru> | 2003-09-01 15:36:53 +0500 |
commit | 7d5dd80dcfb61b69461119c5a11faf75f6984f04 (patch) | |
tree | 3e6534e939ca9c76bdd3b9d4df4837b32f7dc57b /acinclude.m4 | |
parent | 84cf3a5ed7c9e1332fec3c9d2290a8bee2c6a560 (diff) | |
download | mariadb-git-7d5dd80dcfb61b69461119c5a11faf75f6984f04.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.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index f6bd1d9e83e..146f1d18afb 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 ; then + if test -f $d/libssl.a || 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 ; then + if test -f $libs/libssl.a || test -f $d/libssl.dylib ; then OPENSSL_LIB=$libs fi ;; |