|
|
@@ -301,7 +301,12 @@ 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 /usr/sfw/lib /opt/freeware/lib; do
|
|
|
ssllibdir="$dir"
|
|
|
- if test -f "$dir/libssl.so"; then
|
|
|
+ if test "`uname -s`" == "Darwin" ; then
|
|
|
+ soext="dylib"
|
|
|
+ else
|
|
|
+ soext="so"
|
|
|
+ fi
|
|
|
+ if test -f "$dir/libssl.$soext"; then
|
|
|
found_ssl=yes
|
|
|
break
|
|
|
fi
|